Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
242001693.388%2.712

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.061
cz.cuni.amis.pogamut.shady11000100%0.038
cz.cuni.amis.pogamut.sposh.engine2800196.429%0.514
cz.cuni.amis.pogamut.sposh.elements170001591.176%2.099

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.019
ParamsMethodTest10000100%0.042

cz.cuni.amis.pogamut.shady

ClassTestsErrors FailuresSkippedSuccess RateTime
ShadyParserTest11000100%0.038

cz.cuni.amis.pogamut.sposh.engine

ClassTestsErrors FailuresSkippedSuccess RateTime
SenseExecutorTest1000100%0.023
VariableContextTest5000100%0.012
PoshEngineTest2200195.455%0.479

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ValueTest10000100%0.021
LapChainToPathTest7000100%0.205
CompetenceElementTest4000100%0.181
CompetenceTest6000100%0.054
SenseTest13000100%0.078
DriveCollectionTest4000100%0.143
PoshDummyElementTest3000100%0.199
DocstringTest5000100%0.084
LapPathParseTest11000100%0.033
LapChainTest1000100%0.031
PoshPlanTest19001142.105%0.103
ArgumentsTest1000460%0.02
ActionPatternTest9000100%0.055
LapPathTest33000100%0.552
PoshParserTest32000100%0.315
TriggerTest3000100%0.025

Test Cases

[Summary] [Package List] [Test Cases]

ValueTest

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

LapChainToPathTest

emptyChainGivesDC0.103
senseChain0.02
driveActionChain0.018
actionPatternChain0.02
competenceChain0.015
adoptChain0.014
longChain0.015

CompetenceElementTest

testToString0.027
testSetName0.109
testGetRetries0.024
testGetComment0.021

CompetenceTest

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

ParamInfoTest

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

SenseTest

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

DriveCollectionTest

testAddDrive0.029
testSetGetName0.109
testRemoveDriveDuplName0.002
testRemoveDrive0.003

PoshDummyElementTest

testPattern0.021
testIsUsedName0.006
testGetUnusedName0.172

DocstringTest

testEmpty0.044
testMultipleWords0.014
testEscapeSequences0.02
testQuotes0.003
testDoubleQuotes0.003

SenseExecutorTest

testEvaluateComparison0.023

VariableContextTest

childValue0.011
parentValue0
childOverridesParentValue0
parentKeepsOverridenValue0
missingValue0.001

ShadyParserTest

testName0.009
testArg0.005
testArgChar0.004
testArgString0.002
testArgs0.001
testCall0.001
testQueryCall0.001
testValue0.005
testTrigger0.004
testElement0.001
testTree0.005

ParamsMethodTest

singleParameter0.019
missingMethod0.002
overloadingMethods0.002
missingParamAnnotation0.002
doubleParameter0.002
intParameter0.001
DoubleParameter0.002
IntParameter0.007
StringParameter0.002
exceptionInMethod0.003

LapPathParseTest

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

LapChainTest

linkPathIsSingleElement0.031

PoshPlanTest

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

ArgumentsTest

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

ActionPatternTest

testAddAction0.024
testToString0.002
testSetName0.002
testSetNameInvalid0.003
testSetNameDuplicateAP0.011
testSetNameDuplicateC0.007
testRemoveAction0.003
testNeutralizeMissingChild0.001
testGetActions0.002

PoshEngineTest

testGoalFulfilled0.086
testParameterlessPrimitiveEvaluation0.019
testDEFrequencyFail0.007
testNoGoal0.009
testAPExecutor0.008
testPassedConstantsInPrimitive0.005
testNestedAP0.006
testNestedAPFailure0.009
testSimpleC0.01
testSimpleCRetry0
skipped
test011VarConstPassed2Primitive0.011
test012TestAPProcessing0.009
test012New0.05
test013TestDC0.011
test014Comparison0.01
test015APDouble0.033
test016APDoubleFail0.02
test017MultiCE0.073
test018MultiC0.039
test020SenseCtx0.027
test021TestEqualTrue0.017
test022TestAdopt0.02

LapPathTest

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

PoshParserTest

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

TriggerTest

moveSenseForward0.023
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