Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
242001693.388%2.718

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.055
cz.cuni.amis.pogamut.shady11000100%0.042
cz.cuni.amis.pogamut.sposh.engine2800196.429%0.49
cz.cuni.amis.pogamut.sposh.elements170001591.176%2.131

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.02
ParamsMethodTest10000100%0.035

cz.cuni.amis.pogamut.shady

ClassTestsErrors FailuresSkippedSuccess RateTime
ShadyParserTest11000100%0.042

cz.cuni.amis.pogamut.sposh.engine

ClassTestsErrors FailuresSkippedSuccess RateTime
SenseExecutorTest1000100%0.019
VariableContextTest5000100%0.013
PoshEngineTest2200195.455%0.458

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ValueTest10000100%0.018
LapChainToPathTest7000100%0.215
CompetenceElementTest4000100%0.182
CompetenceTest6000100%0.049
SenseTest13000100%0.101
DriveCollectionTest4000100%0.14
PoshDummyElementTest3000100%0.213
DocstringTest5000100%0.084
LapPathParseTest11000100%0.034
LapChainTest1000100%0.029
PoshPlanTest19001142.105%0.103
ArgumentsTest1000460%0.019
ActionPatternTest9000100%0.051
LapPathTest33000100%0.538
PoshParserTest32000100%0.33
TriggerTest3000100%0.025

Test Cases

[Summary] [Package List] [Test Cases]

ValueTest

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

LapChainToPathTest

emptyChainGivesDC0.107
senseChain0.021
driveActionChain0.019
actionPatternChain0.022
competenceChain0.015
adoptChain0.015
longChain0.016

CompetenceElementTest

testToString0.027
testSetName0.108
testGetRetries0.025
testGetComment0.022

CompetenceTest

testAddElement0.03
testAddElementDuplicateName0.004
testAddElementLeakingParent0.004
testSetName0.004
testSetNameInvalidName0.002
testRemoveElement0.005

ParamInfoTest

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

SenseTest

changeName0.052
fqn0.006
nameAndValue0.008
fourTokens0.012
sensePredicateBoolean0.004
senseBoolstringPredicate0.004
nothing0.001
invalidSenseToken0.002
invalidName0.003
sensePredicateValue0.002
senseStringPredicate0.005
senseDoublePredicate0.001
wrongPredicate0.001

DriveCollectionTest

testAddDrive0.031
testSetGetName0.103
testRemoveDriveDuplName0.002
testRemoveDrive0.004

PoshDummyElementTest

testPattern0.026
testIsUsedName0.008
testGetUnusedName0.179

DocstringTest

testEmpty0.042
testMultipleWords0.014
testEscapeSequences0.019
testQuotes0.003
testDoubleQuotes0.006

SenseExecutorTest

testEvaluateComparison0.019

VariableContextTest

childValue0.011
parentValue0
childOverridesParentValue0.001
parentKeepsOverridenValue0
missingValue0.001

ShadyParserTest

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

ParamsMethodTest

singleParameter0.015
missingMethod0.002
overloadingMethods0.002
missingParamAnnotation0.002
doubleParameter0.002
intParameter0.002
DoubleParameter0.002
IntParameter0.004
StringParameter0.002
exceptionInMethod0.002

LapPathParseTest

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

LapChainTest

linkPathIsSingleElement0.029

PoshPlanTest

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

ArgumentsTest

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

ActionPatternTest

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

PoshEngineTest

testGoalFulfilled0.087
testParameterlessPrimitiveEvaluation0.02
testDEFrequencyFail0.006
testNoGoal0.009
testAPExecutor0.009
testPassedConstantsInPrimitive0.004
testNestedAP0.006
testNestedAPFailure0.009
testSimpleC0.01
testSimpleCRetry0
skipped
test011VarConstPassed2Primitive0.009
test012TestAPProcessing0.012
test012New0.049
test013TestDC0.011
test014Comparison0.011
test015APDouble0.035
test016APDoubleFail0.022
test017MultiCE0.068
test018MultiC0.028
test020SenseCtx0.02
test021TestEqualTrue0.017
test022TestAdopt0.016

LapPathTest

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

PoshParserTest

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

TriggerTest

moveSenseForward0.022
moveSenseBack0.002
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