Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
203001592.611%2.332

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
cz.cuni.amis.pogamut.sposh.executor10000100%0.028
cz.cuni.amis.pogamut.sposh.engine29000100%0.43
cz.cuni.amis.pogamut.sposh.elements164001590.854%1.874

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

cz.cuni.amis.pogamut.sposh.executor

ClassTestsErrors FailuresSkippedSuccess RateTime
ParamsMethodTest10000100%0.028

cz.cuni.amis.pogamut.sposh.engine

ClassTestsErrors FailuresSkippedSuccess RateTime
PoshEngineTest23000100%0.397
SenseExecutorTest1000100%0.019
VariableContextTest5000100%0.014

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ActionPatternTest9000100%0.046
ArgumentsTest900455.556%0.006
CompetenceElementTest4000100%0.083
CompetenceTest6000100%0.043
DocstringTest5000100%0.079
LapChainTest1000100%0.032
LapChainToPathTest7000100%0.204
LapPathParseTest11000100%0.031
LapPathTest33000100%0.585
PoshDummyElementTest3000100%0.231
PoshParserTest35000100%0.351
PoshPlanTest19001142.105%0.079
SenseTest13000100%0.062
TriggerTest3000100%0.026
ValueTest6000100%0.016

Test Cases

[Summary] [Package List] [Test Cases]

ActionPatternTest

testAddAction0.026
testToString0.001
testSetName0.002
testSetNameInvalid0.003
testSetNameDuplicateAP0.009
testSetNameDuplicateC0.003
testRemoveAction0.001
testNeutralizeMissingChild0.001
testGetActions0

ArgumentsTest

intValue0.004
doubleValue0.001
size0
boolValue0
stringValue0.001
intVariable0
skipped
doubleVariable0
skipped
boolVariable0
skipped
stringVariable0
skipped

CompetenceElementTest

testToString0.021
testSetName0.049
testGetRetries0.008
testGetComment0.005

CompetenceTest

testAddElement0.032
testAddElementDuplicateName0.003
testAddElementLeakingParent0.001
testSetName0.003
testSetNameInvalidName0.001
testRemoveElement0.003

DocstringTest

testEmpty0.054
testMultipleWords0.006
testEscapeSequences0.015
testQuotes0.002
testDoubleQuotes0.002

LapChainTest

linkPathIsSingleElement0.032

LapChainToPathTest

emptyChainGivesDC0.088
senseChain0.021
driveActionChain0.021
actionPatternChain0.016
competenceChain0.022
adoptChain0.018
longChain0.018

LapPathParseTest

emptyPath0.027
planPath0
equalPaths0.002
unequalPaths0.001
incorrentId0
incorrentType0
extraSpace0
missingType0
missingId0.001
missingTypeSeparator0
parseEvenIncorrectOrder0

LapPathTest

emptyPath0.087
planPath0.019
illegalPlanPath0.015
firstLinkMustBePlan0.018
dcPath0.022
secondLinkMustBeDC0.013
idOfDriveCollectionIsAlwaysZero0.019
driveCollectionGoalPath0.017
driveCollectionIllegalGoalPath0.017
illegalThirdLink0.019
drivePath0.013
driveAction0.014
driveActionHasIndexZero0.013
driveTrigger0.015
driveTriggerIndexOutOfBounds0.012
illegalReference0.016
actionPatternPath0.012
wrongActionPatternForAction0.018
competencePath0.012
wrongCompetenceForAction0.017
actionPatternActionPath0.017
actionPatternIncorrectChildtype0.012
actionPatternInActionPatternPath0.012
choicePath0.012
competenceWrongLink0.012
choiceTriggerPath0.014
choiceActionPath0.012
appendPathTest0.017
emptySubstring0.017
rightSubstring0.017
leftSubstring0.019
totalSubstring0.019
subpath0.017

PoshDummyElementTest

testPattern0.019
testIsUsedName0.004
testGetUnusedName0.208

PoshParserTest

testAttackBot0.127
testEducateMeMonk0.032
testPoshBotFollow0.012
testSheepDog0.022
testStayGroom0.021
testCVarsPresnet0.005
testCVarsNotPresnet0.004
testCVarsMissingDefault0.002
testAPVarsMissingParameters0.002
testAPVarsParameters0.005
testSenseVarsInComp0.008
testSensesVarsInCompContextFail0.006
testAPActionVar0.006
testAPActionVarsContextFail0.002
testCompDuplicateVars0.001
testCallC0.008
testCallPrimitiveFromC0.005
testCallCFromDC0.005
testCallPrimitiveFromDC0.009
testSenseTriggerVars0.007
testMissingVars0.001
testActionNamedVariable0.004
testNamedActionsFail0.003
testNamedParameterDuplicate0.003
testNamedCallTest0.006
testTestStringVariable0.006
testVarStringFail0.005
testNames0.002
testDuplicateDriveNames0.002
testDuplicateCENames0.002
testSequenceAndCompetenceWithSameName0.003
testCompetenceAndSequenceWithSameName0.002
testADUsed0.005
testADUsed20.011
senseBooleanOperand0.007

PoshPlanTest

testIsC0
skipped
testGetC0
skipped
testIsAP0
skipped
testGetAP0
skipped
testIsUniqueAPorComp0
skipped
testAddCompetence0.06
testSetName0.002
testSetAuthor0
testSetInfo0.001
testAddActionPattern0.006
testIsCycled0
skipped
testToString0
skipped
testGetChildDataNodes0.005
testMoveChild0
skipped
testRemoveCompetence0.003
testRemoveActionPattern0.002
testSynchronize0
skipped
testGetActionsNames0
skipped
testGetSensesNames0
skipped

SenseTest

changeName0.047
fqn0.002
nameAndValue0.001
fourTokens0.002
sensePredicateBoolean0.001
senseBoolstringPredicate0.001
nothing0
invalidSenseToken0.001
invalidName0.001
sensePredicateValue0.001
senseStringPredicate0.004
senseDoublePredicate0.001
wrongPredicate0

TriggerTest

moveSenseForward0.024
moveSenseBack0.002
moveSenseNoIndexChange0

ValueTest

parseNil0.01
parseTrue0
parseFals0.001
testInt0.001
testDouble0.002
stringInQuotes0.002

PoshEngineTest

testGoalFulfilled0.095
testParameterlessPrimitiveEvaluation0.012
testDEFrequencyFail0.006
testNoGoal0.01
testAPExecutor0.008
testPassedConstantsInPrimitive0.004
testNestedAP0.007
testNestedAPFailure0.011
testSimpleC0.007
testSimpleCRetry0.007
test011VarConstPassed2Primitive0.008
test012TestAPProcessing0.009
test012New0.035
test013TestDC0.012
test014Comparison0.007
test015APDouble0.032
test016APDoubleFail0.014
test017MultiCE0.033
test018MultiC0.018
test019MultiCGoal0.017
test020SenseCtx0.019
test021TestEqualTrue0.013
test022TestAdopt0.013

SenseExecutorTest

testEvaluateComparison0.019

VariableContextTest

childValue0.012
parentValue0
childOverridesParentValue0.001
parentKeepsOverridenValue0
missingValue0.001

ParamsMethodTest

singleParameter0.017
missingMethod0.002
overloadingMethods0.001
missingParamAnnotation0.001
doubleParameter0.002
intParameter0
DoubleParameter0.001
IntParameter0.002
StringParameter0.001
exceptionInMethod0.001

Failure Details

[Summary] [Package List] [Test Cases]


intVariable
skipped: skipped
doubleVariable
skipped: skipped
boolVariable
skipped: skipped
stringVariable
skipped: skipped
testIsC
skipped: skipped
testGetC
skipped: skipped
testIsAP
skipped: skipped
testGetAP
skipped: skipped
testIsUniqueAPorComp
skipped: skipped
testIsCycled
skipped: skipped
testToString
skipped: skipped
testMoveChild
skipped: skipped
testSynchronize
skipped: skipped
testGetActionsNames
skipped: skipped
testGetSensesNames
skipped: skipped