Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
226001692.92%2.587

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.053
cz.cuni.amis.pogamut.sposh.engine2800196.429%0.487
cz.cuni.amis.pogamut.sposh.elements170001591.176%2.047

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.016
ParamsMethodTest10000100%0.037

cz.cuni.amis.pogamut.sposh.engine

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

cz.cuni.amis.pogamut.sposh.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
ValueTest10000100%0.02
LapChainToPathTest7000100%0.201
CompetenceElementTest4000100%0.176
CompetenceTest6000100%0.051
SenseTest13000100%0.079
DriveCollectionTest4000100%0.133
PoshDummyElementTest3000100%0.204
DocstringTest5000100%0.076
LapPathParseTest11000100%0.031
LapChainTest1000100%0.028
PoshPlanTest19001142.105%0.101
ArgumentsTest1000460%0.019
ActionPatternTest9000100%0.055
LapPathTest33000100%0.53
PoshParserTest32000100%0.317
TriggerTest3000100%0.026

Test Cases

[Summary] [Package List] [Test Cases]

ValueTest

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

LapChainToPathTest

emptyChainGivesDC0.102
senseChain0.02
driveActionChain0.017
actionPatternChain0.02
competenceChain0.014
adoptChain0.014
longChain0.014

CompetenceElementTest

testToString0.023
testSetName0.109
testGetRetries0.024
testGetComment0.02

CompetenceTest

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

ParamInfoTest

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

SenseTest

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

DriveCollectionTest

testAddDrive0.03
testSetGetName0.098
testRemoveDriveDuplName0.002
testRemoveDrive0.003

PoshDummyElementTest

testPattern0.02
testIsUsedName0.006
testGetUnusedName0.178

DocstringTest

testEmpty0.041
testMultipleWords0.013
testEscapeSequences0.017
testQuotes0.002
testDoubleQuotes0.003

SenseExecutorTest

testEvaluateComparison0.019

VariableContextTest

childValue0.01
parentValue0
childOverridesParentValue0
parentKeepsOverridenValue0
missingValue0

ParamsMethodTest

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

LapPathParseTest

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

LapChainTest

linkPathIsSingleElement0.028

PoshPlanTest

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

ArgumentsTest

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

ActionPatternTest

testAddAction0.023
testToString0.002
testSetName0.002
testSetNameInvalid0.003
testSetNameDuplicateAP0.013
testSetNameDuplicateC0.006
testRemoveAction0.004
testNeutralizeMissingChild0.001
testGetActions0.001

PoshEngineTest

testGoalFulfilled0.085
testParameterlessPrimitiveEvaluation0.022
testDEFrequencyFail0.007
testNoGoal0.011
testAPExecutor0.009
testPassedConstantsInPrimitive0.004
testNestedAP0.006
testNestedAPFailure0.009
testSimpleC0.01
testSimpleCRetry0
skipped
test011VarConstPassed2Primitive0.011
test012TestAPProcessing0.01
test012New0.047
test013TestDC0.011
test014Comparison0.011
test015APDouble0.034
test016APDoubleFail0.021
test017MultiCE0.069
test018MultiC0.027
test020SenseCtx0.02
test021TestEqualTrue0.018
test022TestAdopt0.016

LapPathTest

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

PoshParserTest

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

TriggerTest

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