|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.junit.Assert
cz.cuni.amis.pogamut.sposh.elements.PlanTest
cz.cuni.amis.pogamut.sposh.engine.PoshEngineTest
public class PoshEngineTest
Tests covering PoshEngine
and its execution.
Constructor Summary | |
---|---|
PoshEngineTest()
|
Method Summary | |
---|---|
void |
test011VarConstPassed2Primitive()
Test if primitive correctly recieves mix of variables and constants passed from posh plan. |
void |
test012New()
We need better tools for evaluation. |
void |
test012TestAPProcessing()
Test that actions in AP are called in sequenmce and when one fails, process is restarted |
void |
test013TestDC()
Test that DC will correctly switch between three DE |
void |
test014Comparison()
|
void |
test015APDouble()
Test if AP in another AP is working as expected. |
void |
test016APDoubleFail()
Ap in AP, one action in deeper AP fails. |
void |
test017MultiCE()
Test if multiple CE in C are correctly evaluated. |
void |
test018MultiC()
When everything is OK, I should get stuck in testC2 (no another DC to change) |
void |
test020SenseCtx()
Test that variable context is properly passed into sense |
void |
test021TestEqualTrue()
|
void |
test022TestAdopt()
|
void |
testAPExecutor()
Test if de will execute the ap |
void |
testDEFrequencyFail()
|
void |
testGoalFulfilled()
|
void |
testNestedAP()
Test if order of actions will be OK in nested APs |
void |
testNestedAPFailure()
Test what happens if action in inner ap of two nested APs fails. action2 will fail |
void |
testNoGoal()
Test what happens if goal wasn't specified in the DC. |
void |
testParameterlessPrimitiveEvaluation()
Test if primitive "dummyPrimitive" is evaluated and if has no variables in passed context. |
void |
testPassedConstantsInPrimitive()
Test if constants passed from posh plan to primitives are what they are supposed to be. |
void |
testSimpleC()
|
void |
testSimpleCRetry()
|
Methods inherited from class cz.cuni.amis.pogamut.sposh.elements.PlanTest |
---|
getMethodName, loadPlan, parsePlan |
Methods inherited from class org.junit.Assert |
---|
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PoshEngineTest()
Method Detail |
---|
public void testGoalFulfilled() throws IOException, ParseException
IOException
ParseException
public void testParameterlessPrimitiveEvaluation() throws IOException, ParseException
IOException
ParseException
public void testDEFrequencyFail() throws IOException, ParseException
IOException
ParseException
public void testNoGoal() throws IOException, ParseException
IOException
ParseException
public void testAPExecutor() throws IOException, ParseException
IOException
ParseException
public void testPassedConstantsInPrimitive() throws IOException, ParseException
IOException
ParseException
public void testNestedAP() throws IOException, ParseException
IOException
ParseException
public void testNestedAPFailure() throws IOException, ParseException
IOException
ParseException
public void testSimpleC() throws IOException, ParseException
IOException
ParseException
public void testSimpleCRetry() throws IOException, ParseException
IOException
ParseException
public void test011VarConstPassed2Primitive() throws IOException, ParseException
IOException
ParseException
public void test012TestAPProcessing() throws IOException, ParseException
IOException
ParseException
public void test012New() throws IOException, ParseException
IOException
ParseException
public void test013TestDC() throws IOException, ParseException
IOException
ParseException
public void test014Comparison() throws IOException, ParseException
IOException
ParseException
public void test015APDouble() throws IOException, ParseException
IOException
ParseException
public void test016APDoubleFail() throws IOException, ParseException
IOException
ParseException
public void test017MultiCE() throws IOException, ParseException
IOException
ParseException
public void test018MultiC() throws IOException, ParseException
IOException
ParseException
public void test020SenseCtx() throws IOException, ParseException
IOException
ParseException
public void test021TestEqualTrue() throws IOException, ParseException
IOException
ParseException
public void test022TestAdopt() throws IOException, ParseException
IOException
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |