Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
13800100,00%0,88

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

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
palmed.buffer 900100,00%0,06
palmed.edit 3200100,00%0,34
palmed.edit.selection 2000100,00%0,08
palmed.edit.text 6000100,00%0,22
palmed.edit.util 200100,00%0,00
palmed.edit.view 700100,00%0,17
palmed.option 800100,00%0,00

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

palmed.buffer

ClassTestsErrorsFailuresSuccess RateTime
Success RecordBufferManagerTest 900100,00%0,063

palmed.edit

ClassTestsErrorsFailuresSuccess RateTime
Success ContentTest 3200100,00%0,343

palmed.edit.selection

ClassTestsErrorsFailuresSuccess RateTime
Success SelectionTest 1200100,00%0,047
Success UndoManagerTest 800100,00%0,031

palmed.edit.text

ClassTestsErrorsFailuresSuccess RateTime
Success CacheTest 500100,00%0,031
Success LargeTextTest 1600100,00%0,047
Success LineDelimiterInspectorTest 700100,00%0,032
Success MultiInputStreamTest 200100,00%0,031
Success TextReaderTest 700100,00%0,031
Success TextTest 2300100,00%0,047

palmed.edit.util

ClassTestsErrorsFailuresSuccess RateTime
Success CoordinateTest 200100,00%0,000

palmed.edit.view

ClassTestsErrorsFailuresSuccess RateTime
Success ViewportTest 700100,00%0,172

palmed.option

ClassTestsErrorsFailuresSuccess RateTime
Success ConfigurationTest 800100,00%0,000

Test Cases

[ summary] [ package list] [ test cases]

RecordBufferManagerTest

Success testNextBufferWithOnlyOneBufferIsNoOp0,05
Success testPreviousBufferWithOnlyOneBufferIsNoOp0,00
Success testOpenAddsAnotherBuffer0,00
Success testCloseLastBufferOpensNewOne0,00
Success testOpenAndCloseBuffer0,00
Success testOpenAndNextSwapsBuffers0,00
Success testOpenFileNotAlreadyOpenedCreatesBuffer0,00
Success testOpenFileAlreadyOpenedSwitchesToItsBuffer0,00
Success testMethodToDisableJUnitComplain0,00

ContentTest

Success testTypeOneCharacterAddsIt0,33
Success testUndoTypedCharacterRemovesIt0,00
Success testRedoTypedCharacterAddsAndSelectsIt0,00
Success testTypeSeveralCharactersAddsThem0,00
Success testUndoTypeSeveralCharactersRemovesThem0,00
Success testRedoTypeSeveralCharactersRestoresAndSelectsThem0,00
Success testTypeCharacterReplacesSelection0,02
Success testUndoTypeCharacterReplacingSelectionRestoresAndSelectsIt0,00
Success testRedoTypeCharacterReplacingSelectionRestoresAndSelectsIt0,00
Success testBackspaceRemovesLastTypedCharacter0,00
Success testUndoBackspaceRemovingCharacterRestoresAndSelectsIt0,00
Success testRedoBackspaceRemovingCharacterRemovesIt0,00
Success testSeveralBackspacesRemoveSeveralCharacters0,00
Success testUndoBackspaceRemovingSeveralCharactersRestoresAndSelectsThem0,00
Success testRedoBackspaceRemovingSeveralCharactersRemovesThem0,00
Success testBackspaceRemovesSelection0,00
Success testUndoBackspaceRemovingSelectionRestoresAndSelectsIt0,00
Success testRedoBackspaceRemovingSelectionRemovesIt0,00
Success testEnterAddsNewLine0,00
Success testUndoEnterRemovesTheNewLine0,00
Success testRedoEnterRestoresTheNewLineAndSelectsIt0,00
Success testEnterReplacesSelection0,00
Success testUndoEnterReplacingSelectionRestoresAndSelectsIt0,00
Success testRedoEnterReplacingSelectionRestoresTheNewLineAndSelectsIt0,00
Success testUndoSeveralEnterReplacingSelectionRestoresAndSelectsIt0,00
Success testRedoSeveralEnterReplacingSelectionRestoresNewLinesAndSelectsThem0,00
Success testCutWithoutSelectionIsNoOpAndCannotBeUndone0,00
Success testCutRemovesSelectedText0,00
Success testUndoCutRestoresTextAndSelectsIt0,00
Success testRedoCutRemovesText0,00
Success testClickPreventsUndoMerge0,00
Success testMethodToDisableJUnitComplain0,00

SelectionTest

Success testSelectionIsCreatedEmpty0,03
Success testStepForwardOnEmptyTextContentIsNoOp0,00
Success testStepBackwardOnEmptyTextContentIsNoOp0,00
Success testStepForwardAndBackwardResultsInEmptySelection0,00
Success testStepForwardSelectsFirstCharacter0,00
Success testSetPositionSelectsText0,00
Success testSetPositionSelectsMultipleTextLines0,00
Success testResetEmptySelectionStaysEmpty0,00
Success testResetMultipleTextLinesSelection0,00
Success testDeleteClearsSelection0,00
Success testDeleteBackwardSelectionClearsSelection0,00
Success testMethodToDisableJUnitComplain0,00

UndoManagerTest

Success testUndoWhileNothingToUndoIsNoOp0,02
Success testRedoWhileNothingToRedoIsNoOp0,00
Success testAddedActionIsUndoneOnceOnUndo0,02
Success testUndoneActionIsRedoneOnceOnRedo0,00
Success testRedoActionsAreRemovedUponActionAdd0,00
Success testAddActionOverStackSizeRemovesTheFirstOne0,00
Success testAddTwoMergableActionsDiscardsTheSecondOne0,00
Success testMethodToDisableJUnitComplain0,00

CacheTest

Success testAddedComponentIsKeptInCache0,02
Success testAddMoreComponentsThanThresholdRemovesFirstOneFromCache0,00
Success testWakeAnUnregisteredComponentThrowsAnException0,00
Success testWakeComponentAlreadyAwakenIsNoOp0,00
Success testMethodToDisableJUnitComplain0,00

LargeTextTest

Success testNewTextIsEmpty0,03
Success testInsertCharacterInNewText0,00
Success testReadAndWriteOneLineTextSmallerThanThreshold0,02
Success testReadAndWriteOneLongLineTextLargerThanThreshold0,00
Success testReadAndWriteTextLargerThanThreshold0,00
Success testInsertCharacterInTextSmallerThanThreshold0,00
Success testInsertCharacterAfterLineLengthThrowsException0,00
Success testInsertCharacterAtNegativeLineNumberThrowsException0,00
Success testInsertCharacterAfterTextThrowsException0,00
Success testInsertCharacterAtNegativeColumnNumberThrowsException0,00
Success testInsertCharacterInOneLineTextLargerThanThreshold0,00
Success testInsertCharacterInTextLargerThanThreshold0,00
Success testRemoveFromTextSmallerThanThreshold0,00
Success testRemoveFromOneLongLineTextLargerThanThreshold0,00
Success testRemoveFromMultipleLinesTextLargerThanThreshold0,00
Success testMethodToDisableJUnitComplain0,00

LineDelimiterInspectorTest

Success testDefaultDelimiterIsCRLF0,02
Success testWrappedStreamContentIsForwarded0,00
Success testWrappedStreamPartialContentIsForwarded0,00
Success testDetectsCR0,00
Success testDetectsLF0,00
Success testDetectsCRLF0,00
Success testPartialStreamDetectsCRLF0,00

MultiInputStreamTest

Success testStreamSmallerThanThresholdReadInOneChunk0,03
Success testStreamLargerThanThresholdReadInTwoChunks0,00

TextReaderTest

Success testReadWholeStringWithoutDelimiter0,02
Success testReadPartOfStringWithoutDelimiter0,00
Success testReadWholeStringWithCR0,00
Success testReadWholeStringWithLF0,00
Success testReadWholeStringWithCRLF0,00
Success testReadPartStringWithCRLF0,00
Success testMethodToDisableJUnitComplain0,00

TextTest

Success testInsertCharacterAfterLineLengthThrowsException0,03
Success testInsertCharacterAtNegativeLineNumberThrowsException0,00
Success testInsertCharacterAfterTextThrowsException0,00
Success testInsertCharacterAtNegativeColumnNumberThrowsException0,00
Success testViewUpdateWhenRegistered0,00
Success testSingleLineTextCreation0,00
Success testThreeLinesTextCreation0,00
Success testInsertCharacterInTheMiddleOfText0,00
Success testInsertNewLineInTheMiddleOfText0,00
Success testRemoveBetweenSamePositionsIsNoOp0,00
Success testRemoveBetweenPositionsOnSameLine0,00
Success testRemoveBetweenPositionsSeparatedBySeveralLines0,00
Success testGetOneLineTextReturnsSameAsSet0,00
Success testGetTwoLinesTextReturnsSameAsSet0,02
Success testGetTextReturnsSameAsSetWithCR0,00
Success testGetTextReturnsSameAsSetWithLF0,00
Success testGetTextReturnsSameAsSetWithCRLF0,00
Success testReadNullStreamThrowsAnException0,00
Success testWritePartOnSingleLineOfText0,00
Success testWritePartOnMultipleLinesOfText0,00
Success testReadPartOnSingleLineOfText0,00
Success testReadPartOnMultipleLinesOfText0,00
Success testMethodToDisableJUnitComplain0,00

CoordinateTest

Success testSerialization0,00
Success testMethodToDisableJUnitComplain0,00

ViewportTest

Success testCursorPositionUnchangedWhenNotScrolled0,16
Success testScrollInsideView0,00
Success testScrollUpperLeftOutsideViewIsTruncated0,00
Success testScrollLowerRightOutsideViewIsTruncated0,00
Success testSetCursorOutsideViewAndTypeKeyMovesViewToShowCursor0,00
Success testMoveViewAwayFromCursorAndTypeKeyMovesViewToShowCursor0,00
Success testMethodToDisableJUnitComplain0,00

ConfigurationTest

Success testRetrieveNonExistingBooleanTrueValue0,00
Success testRetrieveNonExistingBooleanFalseValue0,00
Success testRetrieveNonExistingBooleanTrueValueAddsIt0,00
Success testRetrieveNonExistingBooleanFalseValueAddsIt0,00
Success testRetrieveNonExistingStringValue0,00
Success testRetrieveNonExistingStringValueAddsIt0,00
Success testRetrieveExistingStringValueAsBooleanThrowsException0,00
Success testRetrieveExistingBooleanValueAsStringThrowsException0,00