Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
226001692.92%2.884

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.executor28000100%0.062
cz.cuni.amis.pogamut.sposh.engine2800196.429%0.518
cz.cuni.amis.pogamut.sposh.elements170001591.176%2.304

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.031
ParamsMethodTest10000100%0.031

cz.cuni.amis.pogamut.sposh.engine

ClassTestsErrors FailuresSkippedSuccess RateTime
PoshEngineTest2200195.455%0.475
SenseExecutorTest1000100%0.022
VariableContextTest5000100%0.021

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ActionPatternTest9000100%0.05
ArgumentsTest1000460%0.021
CompetenceElementTest4000100%0.097
CompetenceTest6000100%0.047
DocstringTest5000100%0.083
DriveCollectionTest4000100%0.063
LapChainTest1000100%0.041
LapChainToPathTest7000100%0.212
LapPathParseTest11000100%0.03
LapPathTest33000100%0.743
PoshDummyElementTest3000100%0.324
PoshParserTest32000100%0.385
PoshPlanTest19001142.105%0.092
SenseTest13000100%0.063
TriggerTest3000100%0.034
ValueTest10000100%0.019

Test Cases

[Summary] [Package List] [Test Cases]

ActionPatternTest

testAddAction0.023
testToString0.002
testSetName0.002
testSetNameInvalid0.004
testSetNameDuplicateAP0.012
testSetNameDuplicateC0.004
testRemoveAction0.002
testNeutralizeMissingChild0.001
testGetActions0

ArgumentsTest

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

CompetenceElementTest

testToString0.029
testSetName0.053
testGetRetries0.009
testGetComment0.006

CompetenceTest

testAddElement0.035
testAddElementDuplicateName0.003
testAddElementLeakingParent0.002
testSetName0.003
testSetNameInvalidName0.001
testRemoveElement0.003

DocstringTest

testEmpty0.061
testMultipleWords0.006
testEscapeSequences0.012
testQuotes0.002
testDoubleQuotes0.002

DriveCollectionTest

testAddDrive0.023
testSetGetName0.036
testRemoveDriveDuplName0.002
testRemoveDrive0.002

LapChainTest

linkPathIsSingleElement0.041

LapChainToPathTest

emptyChainGivesDC0.093
senseChain0.021
driveActionChain0.017
actionPatternChain0.019
competenceChain0.019
adoptChain0.017
longChain0.026

LapPathParseTest

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

LapPathTest

emptyPath0.117
planPath0.019
illegalPlanPath0.017
firstLinkMustBePlan0.018
dcPath0.02
secondLinkMustBeDC0.013
idOfDriveCollectionIsAlwaysZero0.018
driveCollectionGoalPath0.016
driveCollectionIllegalGoalPath0.018
illegalThirdLink0.021
drivePath0.026
driveAction0.032
driveActionHasIndexZero0.023
driveTrigger0.018
driveTriggerIndexOutOfBounds0.022
illegalReference0.029
actionPatternPath0.019
wrongActionPatternForAction0.016
competencePath0.015
wrongCompetenceForAction0.02
actionPatternActionPath0.02
actionPatternIncorrectChildtype0.018
actionPatternInActionPatternPath0.013
choicePath0.017
competenceWrongLink0.015
choiceTriggerPath0.017
choiceActionPath0.019
appendPathTest0.033
emptySubstring0.02
rightSubstring0.018
leftSubstring0.017
totalSubstring0.021
subpath0.018

PoshDummyElementTest

testPattern0.039
testIsUsedName0.005
testGetUnusedName0.28

PoshParserTest

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

PoshPlanTest

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

SenseTest

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

TriggerTest

moveSenseForward0.033
moveSenseBack0.001
moveSenseNoIndexChange0

ValueTest

parseNil0.012
parseTrue0
parseFals0
testInt0.001
testDouble0.002
stringInQuotes0.002
parseEnum0.001
failToParseEnum0.001
enumWithoutQuote0
serializeEnum0

PoshEngineTest

testGoalFulfilled0.129
testParameterlessPrimitiveEvaluation0.016
testDEFrequencyFail0.009
testNoGoal0.02
testAPExecutor0.013
testPassedConstantsInPrimitive0.005
testNestedAP0.007
testNestedAPFailure0.011
testSimpleC0.012
testSimpleCRetry0
skipped
test011VarConstPassed2Primitive0.013
test012TestAPProcessing0.008
test012New0.036
test013TestDC0.009
test014Comparison0.008
test015APDouble0.026
test016APDoubleFail0.02
test017MultiCE0.064
test018MultiC0.023
test020SenseCtx0.019
test021TestEqualTrue0.014
test022TestAdopt0.013

SenseExecutorTest

testEvaluateComparison0.022

VariableContextTest

childValue0.02
parentValue0
childOverridesParentValue0
parentKeepsOverridenValue0
missingValue0.001

ParamInfoTest

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

ParamsMethodTest

singleParameter0.018
missingMethod0.002
overloadingMethods0.002
missingParamAnnotation0.001
doubleParameter0.001
intParameter0.001
DoubleParameter0.001
IntParameter0.003
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
testSimpleCRetry
skipped: skipped