Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
19600100.00%14.55

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
test.zmpp.vm 17000100.00%12.28
test.zmpp.base 800100.00%0.45
test.zmpp.vmutil 1500100.00%1.37
test.zmpp.iff 300100.00%0.46

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

test.zmpp.vm

ClassTestsErrorsFailuresSuccess RateTime
Success AbbreviationsTest 100100.00%0.606
Success DictionaryTest 300100.00%0.737
Success StoryFileHeaderTest 100100.00%0.663
Success ObjectsTest 1000100.00%0.777
Success OperandTest 100100.00%0.656
Success InstructionDecoderTest 1100100.00%0.715
Success RoutineContextTest 200100.00%0.587
Success Short0InstructionTest 1600100.00%1.075
Success Machine3Test 2000100.00%1.142
Success AbstractInstructionTest 1500100.00%0.779
Success Short1InstructionTest 2500100.00%0.979
Success LongInstructionTest 3800100.00%1.085
Success VariableInstructionTest 1500100.00%0.650
Success PrintLiteralInstructionTest 300100.00%0.636
Success DefaultZObjectTest 700100.00%0.553
Success PortableGameStateTest 200100.00%0.638

test.zmpp.base

ClassTestsErrorsFailuresSuccess RateTime
Success MemoryAccessTest 800100.00%0.450

test.zmpp.vmutil

ClassTestsErrorsFailuresSuccess RateTime
Success RandomGeneratorTest 400100.00%0.443
Success ZsciiConverterTest 700100.00%0.458
Success ZsciiStringTest 400100.00%0.468

test.zmpp.iff

ClassTestsErrorsFailuresSuccess RateTime
Success FormChunkTest 300100.00%0.458

Test Cases

[ summary] [ package list] [ test cases]

AbbreviationsTest

Success testGetWordAddress0.07

DictionaryTest

Success testDictionaryInformation0.08
Success testGetSeparator0.02
Success testLookup0.00

StoryFileHeaderTest

Success testHeader0.09

ObjectsTest

Success testGetPropertyDefault0.09
Success testGetObject0.02
Success testGetNumObjects0.02
Success testRemoveObjectFirstChild0.01
Success testRemoveObjectNotFirstChild0.00
Success testRemoveObjectNotFirstButLastChild0.00
Success testInsertObjectSimple0.00
Success testInsertObjectHasSiblingsAndChild0.00
Success testGetPropertyLength0.00
Success testGetPropertyLengthAddress00.05

OperandTest

Success testCreateOperand0.06

InstructionDecoderTest

Success testMinizorkVariable0.11
Success testMinizorkBranch0.02
Success testMinizorkRet0.02
Success testMinizorkShort1OP0.01
Success testMinizorkShort0.00
Success testMinizorkLong0.01
Success testMinizorkPrint0.00
Success testMinizorkAnd0.00
Success testMinizorkJump0.00
Success testMinizorkGetSibling0.04
Success testJe3Operands0.01

RoutineContextTest

Success testCreate0.01
Success testSetters0.00

Short0InstructionTest

Success testIsBranch0.20
Success testIllegalOpcode0.15
Success testRtrue0.01
Success testRfalse0.01
Success testNop0.00
Success testSaveSuccess0.01
Success testSaveFail0.00
Success testRestore0.01
Success testRestart0.02
Success testQuit0.06
Success testNewLine0.00
Success testRetPopped0.01
Success testPop0.01
Success testVerifyTrue0.00
Success testVerifyFalse0.01
Success testShowStatus0.07

Machine3Test

Success testInitialState0.11
Success testGetSetStackTopElement0.03
Success testGetStackTopElementStackEmpty0.00
Success testSetters0.00
Success testGetVariableStack0.01
Success testSetVariableStack0.01
Success testGetLocalVariableIllegal0.06
Success testSetLocalVariable0.01
Success testGetVariableType0.01
Success testPopRoutineContextIllegal0.00
Success testCallAndReturn0.01
Success testGetCurrentRoutineContext0.01
Success testTranslatePackedAddress0.01
Success testSetOutputStream0.21
Success testEnableOutputStream0.00
Success testInputStream0.01
Success testRandom0.00
Success testRandom10.01
Success testRandom20.02
Success testStartQuit0.00

AbstractInstructionTest

Success testCreateInstructionInfo0.17
Success testSetters0.02
Success testAddOperand0.02
Success testGetValue0.03
Success testGetUnsignedValueNegative0.00
Success testGetUnsignedValueMaxPositive0.00
Success testGetUnsignedValueMinNegative0.01
Success testConvertToSigned160.02
Success testBranchPositiveOffset0.01
Success testBranchNegativeOffset0.00
Success testBranchZeroOffset0.06
Success testBranchOneOffset0.00
Success testBranchIfTrueBranchConditionIsFalse0.01
Success testBranchIfFalseBranchConditionIsTrue0.00
Success testBranchIfFalseBranchConditionIsFalse0.01

Short1InstructionTest

Success testStoresResult0.16
Success testIsBranch0.02
Success testIllegalOpcode0.03
Success testInc0.02
Success testDec0.00
Success testDec00.01
Success testNot0.00
Success testGetParent0.01
Success testJump0.00
Success testLoadOperandIsVariable0.05
Success testLoadOperandIsConstant0.00
Success testLoadOperandReferencesStack0.01
Success testJzBranchIfTrueNotZero0.00
Success testJzBranchIfTrueIsZero0.01
Success testGetSiblingIs00.01
Success testGetSiblingHasSibling0.01
Success testGetChildIs00.00
Success testGetChildAndBranch0.01
Success testPrintAddr0.00
Success testPrintPaddr0.01
Success testRet0.08
Success testRetWithVariable0.05
Success testPrintObj0.00
Success testRemoveObj0.01
Success testGetPropLen0.00

LongInstructionTest

Success testIsBranch0.18
Success testStoresResult0.02
Success testIllegalOpcode0.03
Success testJe1Operand0.01
Success testJe3Operands0.00
Success testJe20.01
Success testJl0.00
Success testJg0.05
Success testJinNotIn0.00
Success testJinIn0.01
Success testDecChkNoBranch0.00
Success testDecChkBranch0.01
Success testIncChkNoBranch0.00
Success testIncChkBranch0.01
Success testTestNoBranch0.00
Success testTestBranch0.02
Success testOr0.00
Success testAnd0.06
Success testAdd0.00
Success testSub0.01
Success testMul0.00
Success testDiv0.01
Success testMod0.00
Success testTestAttributeNoBranch0.01
Success testTestAttributeBranch0.00
Success testSetAttr0.01
Success testClearAttr0.00
Success testStore0.01
Success testStoreOnStack0.00
Success testLoadw0.01
Success testLoadb0.00
Success testGetProp2Bytes0.01
Success testGetProp0.01
Success testInsertObj0.01
Success testGetPropAddr0.00
Success testGetNextProp0.06
Success testGetNextPropWith00.00
Success testGetNextPropNotAvailable0.01

VariableInstructionTest

Success testStoresValue0.08
Success testIllegalOpcode0.02
Success testCall0.02
Success testStorew0.00
Success testStoreb0.00
Success testPutProp0.01
Success testPrintChar0.00
Success testPrintNum0.00
Success testPush0.00
Success testPull0.04
Success testPullToStack0.00
Success testInputStream0.01
Success testOutputStream0.00
Success testRandom0.01
Success testSread0.00

PrintLiteralInstructionTest

Success testIllegalOpcode0.17
Success testPrint0.02
Success testPrintRet0.01

DefaultZObjectTest

Success testObjectSetters0.08
Success testMinizorkAttributes0.01
Success testSetAttributes0.01
Success testClearAttributes0.01
Success testGetPropertiesTable0.00
Success testGetNextProperty0.00
Success testSetPropertyByte0.00

PortableGameStateTest

Success testReadSaveGame0.13
Success testCaptureMachineState0.08

MemoryAccessTest

Success testReadUnsignedByte0.00
Success testReadUnsignedWord0.00
Success testGetUnsignedShortGeneral0.00
Success testGetShortGeneral0.00
Success testReadUnsigned320.00
Success testWriteUnsignedByte0.00
Success testWriteUnsignedShort0.00
Success testWriteUnsigned320.00

RandomGeneratorTest

Success testUnpredictableRandomSequence0.01
Success testUnpredictableRandomDifferentSequences0.00
Success testPredictableRandomSequence0.00
Success testPredictableSameSequences0.00

ZsciiConverterTest

Success testSetup0.01
Success testDecodeByte0.00
Success testDecode0.00
Success testConvert0.00
Success testConvertWithAbbreviation0.00
Success testMinizork0.00
Success testApplyShiftFromA00.00

ZsciiStringTest

Success testCreateString0.01
Success testEquals0.00
Success testCreateSharedConstructor0.00
Success testCreateFromChar0.00

FormChunkTest

Success testCreation0.02
Success testSubchunks0.00
Success testGetSubChunk0.00