Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
242001693.388%2.845

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.113
cz.cuni.amis.pogamut.shady11000100%0.054
cz.cuni.amis.pogamut.sposh.engine2800196.429%0.572
cz.cuni.amis.pogamut.sposh.elements170001591.176%2.106

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.042
ParamsMethodTest10000100%0.071

cz.cuni.amis.pogamut.shady

ClassTestsErrors FailuresSkippedSuccess RateTime
ShadyParserTest11000100%0.054

cz.cuni.amis.pogamut.sposh.engine

ClassTestsErrors FailuresSkippedSuccess RateTime
PoshEngineTest2200195.455%0.519
SenseExecutorTest1000100%0.041
VariableContextTest5000100%0.012

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ActionPatternTest9000100%0.129
ArgumentsTest1000460%0.022
CompetenceElementTest4000100%0.136
CompetenceTest6000100%0.021
DocstringTest5000100%0.157
DriveCollectionTest4000100%0.133
LapChainTest1000100%0.042
LapChainToPathTest7000100%0.209
LapPathParseTest11000100%0.032
LapPathTest33000100%0.536
PoshDummyElementTest3000100%0.154
PoshParserTest32000100%0.306
PoshPlanTest19001142.105%0.088
SenseTest13000100%0.078
TriggerTest3000100%0.023
ValueTest10000100%0.04

Test Cases

[Summary] [Package List] [Test Cases]

ShadyParserTest

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

ActionPatternTest

testAddAction0.076
testToString0.002
testSetName0.003
testSetNameInvalid0.004
testSetNameDuplicateAP0.024
testSetNameDuplicateC0.016
testRemoveAction0.002
testNeutralizeMissingChild0.001
testGetActions0.001

ArgumentsTest

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

CompetenceElementTest

testToString0.022
testSetName0.084
testGetRetries0.016
testGetComment0.014

CompetenceTest

testAddElement0.015
testAddElementDuplicateName0.001
testAddElementLeakingParent0.001
testSetName0.001
testSetNameInvalidName0
testRemoveElement0.003

DocstringTest

testEmpty0.098
testMultipleWords0.021
testEscapeSequences0.033
testQuotes0.002
testDoubleQuotes0.003

DriveCollectionTest

testAddDrive0.047
testSetGetName0.082
testRemoveDriveDuplName0.001
testRemoveDrive0.003

LapChainTest

linkPathIsSingleElement0.042

LapChainToPathTest

emptyChainGivesDC0.106
senseChain0.034
driveActionChain0.014
actionPatternChain0.017
competenceChain0.012
adoptChain0.013
longChain0.013

LapPathParseTest

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

LapPathTest

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

PoshDummyElementTest

testPattern0.019
testIsUsedName0.006
testGetUnusedName0.129

PoshParserTest

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

PoshPlanTest

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

SenseTest

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

TriggerTest

moveSenseForward0.022
moveSenseBack0
moveSenseNoIndexChange0.001

ValueTest

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

PoshEngineTest

testGoalFulfilled0.137
testParameterlessPrimitiveEvaluation0.063
testDEFrequencyFail0.008
testNoGoal0.009
testAPExecutor0.019
testPassedConstantsInPrimitive0.005
testNestedAP0.005
testNestedAPFailure0.008
testSimpleC0.013
testSimpleCRetry0
skipped
test011VarConstPassed2Primitive0.008
test012TestAPProcessing0.01
test012New0.036
test013TestDC0.008
test014Comparison0.008
test015APDouble0.03
test016APDoubleFail0.018
test017MultiCE0.055
test018MultiC0.022
test020SenseCtx0.03
test021TestEqualTrue0.014
test022TestAdopt0.013

SenseExecutorTest

testEvaluateComparison0.041

VariableContextTest

childValue0.01
parentValue0.001
childOverridesParentValue0
parentKeepsOverridenValue0
missingValue0.001

ParamInfoTest

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

ParamsMethodTest

singleParameter0.054
missingMethod0.002
overloadingMethods0.001
missingParamAnnotation0.001
doubleParameter0.004
intParameter0.001
DoubleParameter0.002
IntParameter0.003
StringParameter0.001
exceptionInMethod0.002

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