Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
218001593.119%3.34

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.046
cz.cuni.amis.pogamut.shady11000100%0.032
cz.cuni.amis.pogamut.sposh.engine29000100%0.65
cz.cuni.amis.pogamut.sposh.elements168001591.071%2.612

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.046

cz.cuni.amis.pogamut.shady

ClassTestsErrors FailuresSkippedSuccess RateTime
ShadyParserTest11000100%0.032

cz.cuni.amis.pogamut.sposh.engine

ClassTestsErrors FailuresSkippedSuccess RateTime
SenseExecutorTest1000100%0.051
VariableContextTest5000100%0.013
PoshEngineTest23000100%0.586

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ValueTest6000100%0.013
LapChainToPathTest7000100%0.266
CompetenceElementTest4000100%0.169
CompetenceTest6000100%0.047
SenseTest13000100%0.072
DriveCollectionTest4000100%0.136
PoshDummyElementTest3000100%0.266
DocstringTest5000100%0.093
LapPathParseTest11000100%0.027
LapChainTest1000100%0.026
PoshPlanTest19001142.105%0.12
ArgumentsTest900455.556%0.015
ActionPatternTest9000100%0.103
LapPathTest33000100%0.806
PoshParserTest35000100%0.431
TriggerTest3000100%0.022

Test Cases

[Summary] [Package List] [Test Cases]

ValueTest

parseNil0.008
parseTrue0
parseFals0
testInt0.001
testDouble0.001
stringInQuotes0.003

LapChainToPathTest

emptyChainGivesDC0.143
senseChain0.022
driveActionChain0.028
actionPatternChain0.018
competenceChain0.017
adoptChain0.017
longChain0.021

CompetenceElementTest

testToString0.025
testSetName0.099
testGetRetries0.024
testGetComment0.021

CompetenceTest

testAddElement0.026
testAddElementDuplicateName0.004
testAddElementLeakingParent0.005
testSetName0.003
testSetNameInvalidName0.005
testRemoveElement0.004

SenseTest

changeName0.038
fqn0.005
nameAndValue0.006
fourTokens0.005
sensePredicateBoolean0.003
senseBoolstringPredicate0.002
nothing0.001
invalidSenseToken0.002
invalidName0.003
sensePredicateValue0.001
senseStringPredicate0.003
senseDoublePredicate0.002
wrongPredicate0.001

DriveCollectionTest

testAddDrive0.027
testSetGetName0.104
testRemoveDriveDuplName0.002
testRemoveDrive0.003

PoshDummyElementTest

testPattern0.021
testIsUsedName0.005
testGetUnusedName0.24

DocstringTest

testEmpty0.041
testMultipleWords0.016
testEscapeSequences0.03
testQuotes0.003
testDoubleQuotes0.003

SenseExecutorTest

testEvaluateComparison0.051

VariableContextTest

childValue0.012
parentValue0
childOverridesParentValue0
parentKeepsOverridenValue0
missingValue0.001

ShadyParserTest

testName0.007
testArg0.004
testArgChar0.003
testArgString0.003
testArgs0
testCall0.001
testQueryCall0.001
testValue0.004
testTrigger0.003
testElement0.001
testTree0.005

ParamsMethodTest

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

LapPathParseTest

emptyPath0.017
planPath0.001
equalPaths0.003
unequalPaths0.003
incorrentId0
incorrentType0.001
extraSpace0
missingType0.001
missingId0.001
missingTypeSeparator0
parseEvenIncorrectOrder0

LapChainTest

linkPathIsSingleElement0.026

PoshPlanTest

testIsC0
skipped
testGetC0
skipped
testIsAP0
skipped
testGetAP0
skipped
testIsUniqueAPorComp0
skipped
testAddCompetence0.088
testSetName0.001
testSetAuthor0.001
testSetInfo0
testAddActionPattern0.014
testIsCycled0
skipped
testToString0
skipped
testGetChildDataNodes0.01
testMoveChild0
skipped
testRemoveCompetence0.004
testRemoveActionPattern0.002
testSynchronize0
skipped
testGetActionsNames0
skipped
testGetSensesNames0
skipped

ArgumentsTest

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

ActionPatternTest

testAddAction0.022
testToString0.002
testSetName0.001
testSetNameInvalid0.003
testSetNameDuplicateAP0.062
testSetNameDuplicateC0.005
testRemoveAction0.006
testNeutralizeMissingChild0.001
testGetActions0.001

PoshEngineTest

testGoalFulfilled0.081
testParameterlessPrimitiveEvaluation0.033
testDEFrequencyFail0.017
testNoGoal0.009
testAPExecutor0.009
testPassedConstantsInPrimitive0.006
testNestedAP0.009
testNestedAPFailure0.009
testSimpleC0.008
testSimpleCRetry0.014
test011VarConstPassed2Primitive0.009
test012TestAPProcessing0.008
test012New0.085
test013TestDC0.014
test014Comparison0.012
test015APDouble0.043
test016APDoubleFail0.026
test017MultiCE0.04
test018MultiC0.03
test019MultiCGoal0.075
test020SenseCtx0.018
test021TestEqualTrue0.016
test022TestAdopt0.015

LapPathTest

emptyPath0.141
planPath0.021
illegalPlanPath0.028
firstLinkMustBePlan0.021
dcPath0.02
secondLinkMustBeDC0.017
idOfDriveCollectionIsAlwaysZero0.017
driveCollectionGoalPath0.049
driveCollectionIllegalGoalPath0.032
illegalThirdLink0.016
drivePath0.015
driveAction0.015
driveActionHasIndexZero0.015
driveTrigger0.015
driveTriggerIndexOutOfBounds0.014
illegalReference0.018
actionPatternPath0.014
wrongActionPatternForAction0.014
competencePath0.014
wrongCompetenceForAction0.013
actionPatternActionPath0.013
actionPatternIncorrectChildtype0.013
actionPatternInActionPatternPath0.014
choicePath0.014
competenceWrongLink0.014
choiceTriggerPath0.015
choiceActionPath0.085
appendPathTest0.014
emptySubstring0.018
rightSubstring0.038
leftSubstring0.015
totalSubstring0.015
subpath0.029

PoshParserTest

testAttackBot0.18
testEducateMeMonk0.034
testPoshBotFollow0.011
testSheepDog0.033
testStayGroom0.021
testCVarsPresnet0.005
testCVarsNotPresnet0.003
testCVarsMissingDefault0.002
testAPVarsMissingParameters0.016
testAPVarsParameters0.004
testSenseVarsInComp0.024
testSensesVarsInCompContextFail0.004
testAPActionVar0.004
testAPActionVarsContextFail0.005
testCompDuplicateVars0.002
testCallC0.005
testCallPrimitiveFromC0.004
testCallCFromDC0.003
testCallPrimitiveFromDC0.006
testSenseTriggerVars0.005
testMissingVars0.001
testActionNamedVariable0.003
testNamedActionsFail0.002
testNamedParameterDuplicate0.002
testNamedCallTest0.004
testTestStringVariable0.005
testVarStringFail0.005
testNames0.01
testDuplicateDriveNames0.002
testDuplicateCENames0.002
testSequenceAndCompetenceWithSameName0.003
testCompetenceAndSequenceWithSameName0.002
testADUsed0.005
testADUsed20.008
senseBooleanOperand0.006

TriggerTest

moveSenseForward0.02
moveSenseBack0.001
moveSenseNoIndexChange0.001

Failure Details

[Summary] [Package List] [Test Cases]


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
intVariable
skipped: skipped
doubleVariable
skipped: skipped
boolVariable
skipped: skipped
stringVariable
skipped: skipped