Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
231001693.074%3.377

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.executor33000100%0.108
cz.cuni.amis.pogamut.sposh.engine2800196.429%0.69
cz.cuni.amis.pogamut.sposh.elements170001591.176%2.579

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
ParamInfoTest23000100%0.047
ParamsMethodTest10000100%0.061

cz.cuni.amis.pogamut.sposh.engine

ClassTestsErrors FailuresSkippedSuccess RateTime
PoshEngineTest2200195.455%0.638
SenseExecutorTest1000100%0.035
VariableContextTest5000100%0.017

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ActionPatternTest9000100%0.128
ArgumentsTest1000460%0.025
CompetenceElementTest4000100%0.114
CompetenceTest6000100%0.057
DocstringTest5000100%0.151
DriveCollectionTest4000100%0.102
LapChainTest1000100%0.052
LapChainToPathTest7000100%0.291
LapPathParseTest11000100%0.038
LapPathTest33000100%0.688
PoshDummyElementTest3000100%0.293
PoshParserTest32000100%0.397
PoshPlanTest19001142.105%0.101
SenseTest13000100%0.07
TriggerTest3000100%0.031
ValueTest10000100%0.041

Test Cases

[Summary] [Package List] [Test Cases]

ActionPatternTest

testAddAction0.081
testToString0.002
testSetName0.002
testSetNameInvalid0.003
testSetNameDuplicateAP0.022
testSetNameDuplicateC0.016
testRemoveAction0.001
testNeutralizeMissingChild0.001
testGetActions0

ArgumentsTest

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

CompetenceElementTest

testToString0.028
testSetName0.068
testGetRetries0.011
testGetComment0.007

CompetenceTest

testAddElement0.046
testAddElementDuplicateName0.004
testAddElementLeakingParent0.001
testSetName0.002
testSetNameInvalidName0.001
testRemoveElement0.003

DocstringTest

testEmpty0.117
testMultipleWords0.006
testEscapeSequences0.024
testQuotes0.002
testDoubleQuotes0.002

DriveCollectionTest

testAddDrive0.053
testSetGetName0.044
testRemoveDriveDuplName0.002
testRemoveDrive0.003

LapChainTest

linkPathIsSingleElement0.052

LapChainToPathTest

emptyChainGivesDC0.122
senseChain0.039
driveActionChain0.015
actionPatternChain0.047
competenceChain0.027
adoptChain0.022
longChain0.019

LapPathParseTest

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

LapPathTest

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

PoshDummyElementTest

testPattern0.028
testIsUsedName0.005
testGetUnusedName0.26

PoshParserTest

testAttackBot0.164
testEducateMeMonk0.04
testPoshBotFollow0.012
testSheepDog0.023
testStayGroom0.03
testCVarsPresnet0.009
testCVarsNotPresnet0.005
testCVarsMissingDefault0.003
testAPVarsMissingParameters0.003
testAPVarsParameters0.004
testSenseVarsInComp0.008
testAPActionVar0.005
testCompDuplicateVars0.002
testCallC0.006
testCallPrimitiveFromC0.005
testCallCFromDC0.006
testCallPrimitiveFromDC0.008
testSenseTriggerVars0.006
testMissingVars0.001
testActionNamedVariable0.002
testNamedParameterDuplicate0.002
testNamedCallTest0.005
testTestStringVariable0.005
twoDblQuotes0.002
testNames0.003
testDuplicateDriveNames0.002
testDuplicateCENames0.003
testSequenceAndCompetenceWithSameName0.005
testCompetenceAndSequenceWithSameName0.003
testADUsed0.008
testADUsed20.009
senseBooleanOperand0.008

PoshPlanTest

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

SenseTest

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

TriggerTest

moveSenseForward0.029
moveSenseBack0.001
moveSenseNoIndexChange0.001

ValueTest

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

PoshEngineTest

testGoalFulfilled0.185
testParameterlessPrimitiveEvaluation0.06
testDEFrequencyFail0.01
testNoGoal0.012
testAPExecutor0.019
testPassedConstantsInPrimitive0.005
testNestedAP0.005
testNestedAPFailure0.013
testSimpleC0.018
testSimpleCRetry0
skipped
test011VarConstPassed2Primitive0.011
test012TestAPProcessing0.011
test012New0.042
test013TestDC0.011
test014Comparison0.013
test015APDouble0.031
test016APDoubleFail0.024
test017MultiCE0.069
test018MultiC0.028
test020SenseCtx0.037
test021TestEqualTrue0.017
test022TestAdopt0.017

SenseExecutorTest

testEvaluateComparison0.035

VariableContextTest

childValue0.016
parentValue0
childOverridesParentValue0
parentKeepsOverridenValue0
missingValue0.001

ParamInfoTest

representsExact0.039
existingNonrepresentingClass0.002
representsboolean0
representsBoolean0
representsInt0
representsInteger0.001
representsdouble0
representsDouble0
representsString0.001
representsSomeEnum0.001
stringIsAssignableToSTRING0.001
incompatibleAssignemntToSTRING0.001
booleanAssignableToBOOLEAN0
BooleanAssignableToBOOLEAN0
incompatibleAssignemntToBOOLEAN0
intAssignableToINT0
intAssignableToINTeger0
integerAssignableToINT0
integerAssignableToINTeger0
enumAssignableToEnum0.001
stringNotAssignableToEnum0
wrongEnumNotAssignableToEnum0
nilAssignableToEverything0

ParamsMethodTest

singleParameter0.049
missingMethod0.002
overloadingMethods0.001
missingParamAnnotation0.001
doubleParameter0.002
intParameter0
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