|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.wpi.prc.server.test.LocalTransitionerTest
public class LocalTransitionerTest
Tests the LocalTransitioner.
Field Summary | |
---|---|
private Project |
p
|
private LocalTransitioner |
transitioner
|
private Volunteer |
user
|
Constructor Summary | |
---|---|
LocalTransitionerTest(java.lang.String name)
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testAddIngressResultNormal()
Tests the addIngressResult method. |
void |
testAddIngressResultRetiredWorkUnit()
Tests the addIngressResult method. |
void |
testAddIngressResultSpotCheck()
Tests the addIngressResult method. |
void |
testAddIngressWorkUnit()
Tests the addIngressWorkUnit method. |
void |
testEntireTaskLifeCycle()
Tests the entire life cycle of a work unit and its associated results. |
void |
testGetAssociatedIngressResults()
Tests the getAssociatedIngressResults(String hqlQuery) method. |
void |
testGetAssociatedPendingResults()
Tests the getAssociatedPendingResults(String hqlQuery) method. |
void |
testGetIngressResultQueue()
Tests the getIngressResultQueue method. |
void |
testGetIngressWorkQueue()
Tests the getIngressWorkQueue method. |
void |
testGetPendingResultQueue()
Tests the getPendingResultQueue method. |
void |
testGetPendingWorkQueue()
Tests the getPendingWorkQueue method. |
void |
testGetRetiredWorkQueue()
Tests the getRetiredWorkQueue method. |
void |
testGetValidResultQueue()
Tests the getValidResultQueue method. |
void |
testGetWorkUnit()
Tests the getWorkUnit method. |
void |
testGetWorkUnitPriority()
Tests the getWorkUnit method using different work unit priorities. |
void |
testOptimisticWorkUnitSchedulingPolicy()
Tests the LocalTransitioner's optimistic work unit schedulilng policy. |
void |
testRestoreFromDatabase()
Tests restoring the local transitioner from the database. |
void |
testWorkUnitExpiration()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private LocalTransitioner transitioner
private Volunteer user
private Project p
Constructor Detail |
---|
public LocalTransitionerTest(java.lang.String name)
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testRestoreFromDatabase()
public void testGetIngressWorkQueue()
public void testGetPendingWorkQueue()
public void testGetRetiredWorkQueue()
public void testGetIngressResultQueue()
public void testGetPendingResultQueue()
public void testGetValidResultQueue()
public void testAddIngressWorkUnit()
public void testGetAssociatedIngressResults()
public void testAddIngressResultNormal()
public void testAddIngressResultRetiredWorkUnit()
public void testAddIngressResultSpotCheck()
public void testGetAssociatedPendingResults()
public void testGetWorkUnit()
public void testGetWorkUnitPriority()
public void testOptimisticWorkUnitSchedulingPolicy()
public void testWorkUnitExpiration()
public void testEntireTaskLifeCycle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |