Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
227001692.952%3.18

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.executor18000100%0.016
cz.cuni.amis.pogamut.shady11000100%0.135
cz.cuni.amis.pogamut.sposh.engine2800196.429%0.591
cz.cuni.amis.pogamut.sposh.elements170001591.176%2.438

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
ParamInfoTest18000100%0.016

cz.cuni.amis.pogamut.shady

ClassTestsErrors FailuresSkippedSuccess RateTime
ShadyParserTest11000100%0.135

cz.cuni.amis.pogamut.sposh.engine

ClassTestsErrors FailuresSkippedSuccess RateTime
SenseExecutorTest1000100%0.016
VariableContextTest5000100%0.014
PoshEngineTest2200195.455%0.561

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ValueTest10000100%0.017
LapChainToPathTest7000100%0.262
CompetenceElementTest4000100%0.179
CompetenceTest6000100%0.049
SenseTest13000100%0.073
DriveCollectionTest4000100%0.2
PoshDummyElementTest3000100%0.28
DocstringTest5000100%0.158
LapPathParseTest11000100%0.035
LapChainTest1000100%0.026
PoshPlanTest19001142.105%0.133
ArgumentsTest1000460%0.016
ActionPatternTest9000100%0.047
LapPathTest33000100%0.599
PoshParserTest32000100%0.335
TriggerTest3000100%0.029

Test Cases

[Summary] [Package List] [Test Cases]

ValueTest

parseNil0.009
parseTrue0.001
parseFals0
testInt0.001
testDouble0.001
stringInQuotes0.003
parseEnum0.001
failToParseEnum0.001
enumWithoutQuote0
serializeEnum0

LapChainToPathTest

emptyChainGivesDC0.111
senseChain0.029
driveActionChain0.027
actionPatternChain0.03
competenceChain0.028
adoptChain0.02
longChain0.017

CompetenceElementTest

testToString0.019
testSetName0.116
testGetRetries0.024
testGetComment0.02

CompetenceTest

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

ParamInfoTest

representsExact0.01
existingNonrepresentingClass0.001
representsInt0
representsInteger0.001
representsdouble0
representsDouble0
representsString0.001
representsSomeEnum0
stringIsAssignableToSTRING0
incompatibleAssignemntToSTRING0.001
intAssignableToINT0
intAssignableToINTeger0
integerAssignableToINT0
integerAssignableToINTeger0
enumAssignableToEnum0.001
stringNotAssignableToEnum0.001
wrongEnumNotAssignableToEnum0
nilAssignableToEverything0

SenseTest

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

DriveCollectionTest

testAddDrive0.026
testSetGetName0.169
testRemoveDriveDuplName0.002
testRemoveDrive0.003

PoshDummyElementTest

testPattern0.017
testIsUsedName0.005
testGetUnusedName0.258

DocstringTest

testEmpty0.04
testMultipleWords0.067
testEscapeSequences0.045
testQuotes0.003
testDoubleQuotes0.003

SenseExecutorTest

testEvaluateComparison0.016

VariableContextTest

childValue0.012
parentValue0
childOverridesParentValue0.001
parentKeepsOverridenValue0
missingValue0.001

ShadyParserTest

testName0.036
testArg0.029
testArgChar0.008
testArgString0.009
testArgs0.001
testCall0.002
testQueryCall0.001
testValue0.007
testTrigger0.008
testElement0.003
testTree0.031

LapPathParseTest

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

LapChainTest

linkPathIsSingleElement0.026

PoshPlanTest

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

ArgumentsTest

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

ActionPatternTest

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

PoshEngineTest

testGoalFulfilled0.093
testParameterlessPrimitiveEvaluation0.024
testDEFrequencyFail0.016
testNoGoal0.008
testAPExecutor0.008
testPassedConstantsInPrimitive0.006
testNestedAP0.01
testNestedAPFailure0.009
testSimpleC0.016
testSimpleCRetry0
skipped
test011VarConstPassed2Primitive0.009
test012TestAPProcessing0.008
test012New0.06
test013TestDC0.018
test014Comparison0.015
test015APDouble0.042
test016APDoubleFail0.027
test017MultiCE0.123
test018MultiC0.022
test020SenseCtx0.018
test021TestEqualTrue0.015
test022TestAdopt0.014

LapPathTest

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

PoshParserTest

testAttackBot0.157
testEducateMeMonk0.028
testPoshBotFollow0.011
testSheepDog0.02
testStayGroom0.02
testCVarsPresnet0.005
testCVarsNotPresnet0.003
testCVarsMissingDefault0.002
testAPVarsMissingParameters0.002
testAPVarsParameters0.004
testSenseVarsInComp0.008
testAPActionVar0.005
testCompDuplicateVars0.002
testCallC0.005
testCallPrimitiveFromC0.003
testCallCFromDC0.005
testCallPrimitiveFromDC0.006
testSenseTriggerVars0.005
testMissingVars0.001
testActionNamedVariable0.002
testNamedParameterDuplicate0.001
testNamedCallTest0.004
testTestStringVariable0.005
twoDblQuotes0.002
testNames0.003
testDuplicateDriveNames0.001
testDuplicateCENames0.003
testSequenceAndCompetenceWithSameName0.003
testCompetenceAndSequenceWithSameName0.002
testADUsed0.004
testADUsed20.007
senseBooleanOperand0.006

TriggerTest

moveSenseForward0.027
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
testSimpleCRetry
skipped: skipped