Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
2770598,19%64,41

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

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.xnap.commons.gui.completion 3300100,00%8,72
org.xnap.commons.gui.action 800100,00%2,64
org.xnap.commons.gui 400587,50%11,71
org.xnap.commons.gui.dnd 1000100,00%2,53
org.xnap.commons.gui.settings 200100,00%0,93
org.xnap.commons.gui.shortcut 1700100,00%3,21
org.xnap.commons.gui.table 1000100,00%3,91
org.xnap.commons.gui.tree 700100,00%2,50
org.xnap.commons.gui.util 1600100,00%4,64
org.xnap.commons.gui.wizard 300100,00%1,04
org.xnap.commons.settings 6200100,00%14,07
org.xnap.commons.util 4900100,00%7,08
org.xnap.commons.io 2000100,00%1,42

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

org.xnap.commons.gui.completion

ClassTestsErrorsFailuresSuccess RateTime
Success DefaultCompletionModelTest 1000100,00%0,682
Success FileCompletionModelTest 400100,00%0,865
Success CompletionTest 600100,00%1,485
Success ClearCompletionModelActionTest 100100,00%0,660
Success CompletionModeFactoryTest 600100,00%1,115
Success CompletionModeMenuTest 300100,00%1,822
Success GlobalDefaultCompletionModeTest 200100,00%1,008
Success CompletionPopupTest 100100,00%1,083

org.xnap.commons.gui.action

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractToggleActionTest 300100,00%0,921
Success AbstractToggleSettingActionTest 300100,00%0,811
Success AbstractXNapActionTest 200100,00%0,912

org.xnap.commons.gui

ClassTestsErrorsFailuresSuccess RateTime
Success AboutDialogTest 100100,00%1,192
Success BuilderTest 700100,00%1,300
Success ColorChooserPanelTest 200100,00%1,020
Success ColoredTableTest 300100,00%0,813
Success DefaultDialogTest 400100,00%1,020
Success DirectoryChooserTest 200100,00%1,465
Success EraseTextFieldActionTest 200100,00%0,871
Success FileChooserPanelTest 700100,00%1,492
Failure ProgressDialogTest 60516,67%1,298
Success TextFieldMenuTest 600100,00%1,234

org.xnap.commons.gui.dnd

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractFileTransferHandlerTest 400100,00%0,808
Success DefaultTextFieldFileTransferHandlerTest 300100,00%0,819
Success FileTransferableTest 300100,00%0,906

org.xnap.commons.gui.settings

ClassTestsErrorsFailuresSuccess RateTime
Success SettingComponentMediatorTest 200100,00%0,932

org.xnap.commons.gui.shortcut

ClassTestsErrorsFailuresSuccess RateTime
Success DefaultShortcutTest 100100,00%0,828
Success EmacsKeyBindingsTest 700100,00%1,265
Success MediatorShortcutTest 900100,00%1,120

org.xnap.commons.gui.table

ClassTestsErrorsFailuresSuccess RateTime
Success FileSizeCellRendererTest 100100,00%0,787
Success NumberCellRendererTest 100100,00%0,704
Success StringCellRendererTest 100100,00%0,810
Success TableLayoutTest 200100,00%0,935
Success TableSorterTest 500100,00%0,669

org.xnap.commons.gui.tree

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractTreeModelTest 200100,00%0,730
Success FileTreeModelTest 500100,00%1,774

org.xnap.commons.gui.util

ClassTestsErrorsFailuresSuccess RateTime
Success GUIHelperTest 1000100,00%1,222
Success IconHelperTest 200100,00%0,757
Success PopupListenerTest 100100,00%0,885
Success WhatsThisTest 200100,00%0,993
Success LabelUpdaterTest 100100,00%0,788

org.xnap.commons.gui.wizard

ClassTestsErrorsFailuresSuccess RateTime
Success WizardDialogTest 300100,00%1,035

org.xnap.commons.settings

ClassTestsErrorsFailuresSuccess RateTime
Success ColorSettingTest 300100,00%0,699
Success FontSettingTest 300100,00%0,780
Success IntSettingTest 400100,00%0,825
Success IntValidatorTest 700100,00%0,753
Success KeyStrokeSettingTest 300100,00%0,746
Success PropertyResourceTest 500100,00%0,772
Success SerializableSettingTest 300100,00%0,791
Success StringSettingTest 500100,00%0,827
Success StringValidatorTest 600100,00%0,681
Success BooleanSettingTest 300100,00%0,812
Success IntArraySettingTest 300100,00%0,856
Success StringArraySettingTest 300100,00%0,762
Success ClassNameSettingTest 300100,00%0,571
Success CompletionModeSettingsTest 100100,00%1,126
Success DefaultCompletionModeSettingTest 100100,00%0,791
Success EnumSettingTest 300100,00%0,694
Success PortRangeValidatorTest 300100,00%0,642
Success SettingStoreTest 300100,00%0,945

org.xnap.commons.util

ClassTestsErrorsFailuresSuccess RateTime
Success StringHelperTest 900100,00%0,647
Success VersionParserTest 200100,00%0,588
Success QuotedStringTokenizerTest 500100,00%0,604
Success UncaughtExceptionManagerTest 100100,00%0,734
Success AWTExceptionHandlerTest 100100,00%1,075
Success FileHelperTest 1600100,00%0,877
Success NetHelperTest 200100,00%0,768
Success PortRangeTest 600100,00%0,569
Success ProgressTest 500100,00%0,664
Success SystemHelperTest 200100,00%0,554

org.xnap.commons.io

ClassTestsErrorsFailuresSuccess RateTime
Success FileExtensionFilterTest 400100,00%0,597
Success SubTaskProgressMonitorTest 1600100,00%0,823

Test Cases

[ summary] [ package list] [ test cases]

DefaultCompletionModelTest

Success testCompletion0,01
Success testEmptyCompletion0,00
Success testSingleCompletion0,00
Success testEmptyStringCompletion0,00
Success testUniquePrefix0,00
Success testSingleUniquePrefix0,00
Success testEmptyUniquePrefix0,00
Success testRemove0,00
Success testClear0,00
Success testInsert0,00

FileCompletionModelTest

Success testFilenamePrefix0,18
Success testCompleteUniquePrefix0,00
Success testDirectoryNameCompletion0,01
Success testSetters0,08

CompletionTest

Success testComletionModeChangeListener0,67
Success testNullPointerException0,02
Success testSetEnabled0,00
Success testSetModel0,00
Success testSetText0,11
Success testGetPreviousWord0,02

ClearCompletionModelActionTest

Success testActionPerformed0,06

CompletionModeFactoryTest

Success testCreateCustomCompletionMode0,06
Success testGetCompletionModeInfoByClassName0,00
Success testCreateInvalidCompletionMode0,20
Success testCompletionModeInfo0,00
Success testCreateInstalledCompletionModes0,26
Success testInstallCompletionModeInfo0,00

CompletionModeMenuTest

Success testAllInstalledModesAreThere0,52
Success testIsNotifiedOfModeChanges0,04
Success testClickWorks0,69

GlobalDefaultCompletionModeTest

Success testExceptions0,44
Success testSettingsPropagation0,03

CompletionPopupTest

Success testOrientationsInSync0,50

AbstractToggleActionTest

Success testToggleButton0,36
Success testToggleAction0,00
Success testSetSelected0,00

AbstractToggleSettingActionTest

Success testToggleButton0,20
Success testToggleAction0,00
Success testSetSelected0,00

AbstractXNapActionTest

Success testIconPropertyChange0,24
Success testSetEnabledLater0,00

AboutDialogTest

Success testAddTabs0,62

BuilderTest

Success testAddCompletion0,61
Success testCreateButton0,01
Success testCreateCheckBox0,00
Success testCreateIconButton0,00
Success testCreateToolBarButton0,00
Success testSetProperty0,00
Success testSetFactory0,00

ColorChooserPanelTest

Success testConstructor0,44
Success testSetSelectedColor0,02

ColoredTableTest

Success testGetBackgroundColor0,20
Success testUpdateUI0,02
Success testPrepareRenderer0,00

DefaultDialogTest

Success testSetMainComponent0,24
Success testButtonIsThere0,01
Success testButtonCodeConstructor0,05
Success testActions0,12

DirectoryChooserTest

Success testRootSelection0,76
Success testSetSelectedDir0,07

EraseTextFieldActionTest

Success testActionPerformed0,29
Success testSetGet0,00

FileChooserPanelTest

Success testGetSetFile0,64
Success testGetCompletion0,03
Success testGetSetDialogParent0,03
Success testSetEnabled0,04
Success testCreateTransferable0,03
Success testImportData0,02
Success testSubClassing0,05

ProgressDialogTest

Success testGetComponent0,52
Failure testGenericWorkNegative0,05
Expected exception
Failure testGenericWorkDecrease0,02
Expected exception
Failure testGenericWork0,02
Expected exception
Failure testGenericSetValue0,11
Expected exception
Failure testGenericSetTotalSteps0,02
Expected exception

TextFieldMenuTest

Success testContainsAllActions0,39
Success testCutAction0,16
Success testCopyAction0,02
Success testPasteAction0,02
Success testClearAction0,02
Success testSelectAllAction0,02

AbstractFileTransferHandlerTest

Success testCanImportFilesandURIS0,24
Success testCannotImportStrings0,00
Success testOnlyAllowCopyingOfFiles0,00
Success testImportData0,01

DefaultTextFieldFileTransferHandlerTest

Success testInstall0,21
Success testCreateTransferable0,04
Success testImportData0,00

FileTransferableTest

Success testSupportedFlavors0,01
Success testIsDataFlavorSupported0,00
Success testGetTransferData0,27

SettingComponentMediatorTest

Success testBooleanSetting0,32
Success testStringSetting0,10

DefaultShortcutTest

Success testSetKeyStroke0,23

EmacsKeyBindingsTest

Success testCapitalizeWordAction0,56
Success testDowncaseWordAction0,01
Success testUpcaseWordAction0,03
Success testKillWordAction0,02
Success testKillBackwardKillWordAction0,02
Success testSetMarkCommandAction0,02
Success testKillLineAction0,00

MediatorShortcutTest

Success testKeyStrokeIsSet0,35
Success testKeyStrokeIsUpdated0,00
Success testSetEnabled0,00
Success testActionPerformed0,00
Success testDisabledActionPerformed0,00
Success testGetComponent0,00
Success testGetAction0,00
Success testGetSetting0,00
Success testGarbageCollection0,14

FileSizeCellRendererTest

Success testSetValue0,21

NumberCellRendererTest

Success testSetValue0,14

StringCellRendererTest

Success testSetValue0,20

TableLayoutTest

Success testAddColumn0,33
Success testSetColumnVisible0,01

TableSorterTest

Success testGetTableModel0,02
Success testGetRowCount0,00
Success testGetSortedColumn0,00
Success testGetSortOrder0,00
Success testMapToIndex0,00

AbstractTreeModelTest

Success testReload0,01
Success testAddSubRoot0,00

FileTreeModelTest

Success testAddSubRoot0,01
Success testRemoveSubRoots0,00
Success testSetFileFilter0,00
Success testFilter0,54
Success testSortFiles0,62

GUIHelperTest

Success testCreateDefaultBorder0,05
Success testCreateTitledBorder0,02
Success testCreateEmptyBorder0,00
Success testCreateBorders0,00
Success testSetAccelerator0,17
Success testShowFile0,30
Success testSetMnemonics0,01
Success testExpandAllNodes0,09
Success testBindEnterKey0,00
Success testBindEnterKeyLocally0,00

IconHelperTest

Success testGetImage0,18
Success testGetIcon0,00

PopupListenerTest

Success testPopupListenenr0,29

WhatsThisTest

Success testSetText0,36
Success testGetText0,01

LabelUpdaterTest

Success testListener0,17

WizardDialogTest

Success testNext0,38
Success testPrevious0,04
Success testListener0,01

ColorSettingTest

Success testDefaultValue0,15
Success testDefaultNull0,00
Success testSetValue0,00

FontSettingTest

Success testDefaultValue0,15
Success testDefaultNull0,00
Success testSetValue0,00

IntSettingTest

Success testMinMaxConstructor0,19
Success testDefaultValue0,00
Success testDefaultNull0,00
Success testSetValue0,00

IntValidatorTest

Success testMinConstructor20,05
Success testEmptyConstructor0,00
Success testMinConstructor0,00
Success testMinMaxConstructor0,00
Success testMinGreaterMaxConstructor0,00
Success testNull0,00
Success testString0,00

KeyStrokeSettingTest

Success testDefaultValue0,18
Success testDefaultNull0,00
Success testSetValue0,00

PropertyResourceTest

Success testDefaultRemove0,15
Success testPut0,00
Success testLoadStore0,03
Success testEquals0,00
Success testPropertyChangeListenerStringSetting0,00

SerializableSettingTest

Success testDefaultValue0,18
Success testDefaultNull0,02
Success testSetValue0,00

StringSettingTest

Success testValidCharsConstructor0,19
Success testMinLengthConstructor0,00
Success testDefaultValue0,00
Success testDefaultNull0,00
Success testSetValue0,00

StringValidatorTest

Success testEmptyConstructor0,07
Success testStringConstructor0,00
Success testStringLengthConstructor0,00
Success testNull0,00
Success testEmail0,00
Success testRegularString0,00

BooleanSettingTest

Success testDefaultValue0,14
Success testDefaultNull0,00
Success testSetValue0,00

IntArraySettingTest

Success testDefaultValue0,19
Success testDefaultNull0,00
Success testSetValue0,00

StringArraySettingTest

Success testDefaultValue0,16
Success testDefaultNull0,00
Success testSetValue0,00

ClassNameSettingTest

Success testDefaultValue0,01
Success testDefaultNull0,00
Success testSetValue0,00

CompletionModeSettingsTest

Success testSetting0,51

DefaultCompletionModeSettingTest

Success testGlobalDefaultCompletionMode0,17

EnumSettingTest

Success testDefaultNull0,14
Success testDefaultValue0,00
Success testSetValue0,00

PortRangeValidatorTest

Success testValidPortRanges0,04
Success testInvalidPortRanges0,00
Success testCustomRangeValidator0,00

SettingStoreTest

Success testGetBackStore0,14
Success testSplitPane0,19
Success testWindow0,01

StringHelperTest

Success testFirstToken0,01
Success testLastToken0,00
Success testLastPrefix0,00
Success testFormatSize0,01
Success testFormatLength0,00
Success testPad0,00
Success testPadLeftRight0,00
Success testRandom0,00
Success testIndexOfDigit0,00

VersionParserTest

Success testEquals0,01
Success testPostfixes0,00

QuotedStringTokenizerTest

Success testTokenizer0,00
Success testReturnSeparators0,00
Success testMultipleSeparators0,00
Success testMultipleSeparatorsReturnSeparators0,00
Success testQuotedTokenizer0,00

UncaughtExceptionManagerTest

Success testExceptionListener0,17

AWTExceptionHandlerTest

Success testHandle0,39

FileHelperTest

Success testCreateUnique0,14
Success testAppendSeparator0,00
Success testShorten0,00
Success testMove0,01
Success testMoveUnique0,01
Success testCopyFileFile0,01
Success testCopyFileFileProgressMonitor0,05
Success testExists0,00
Success testReadTextInputStream0,00
Success testToAscii0,00
Success testToFilename0,00
Success testReadWriteText0,00
Success testReadWriteBinary0,03
Success testReadBinary0,00
Success testName0,00
Success testExtension0,00

NetHelperTest

Success testToIPLong0,18
Success testToIPHiFirst0,00

PortRangeTest

Success testAddIntInt0,01
Success testAddInt0,00
Success testAddString0,00
Success testIterator0,00
Success testSize0,00
Success testToString0,00

ProgressTest

Success testCompareTo0,00
Success testGetPercent0,00
Success testProgress0,00
Success testGetSizeAndGetTransferred0,00
Success testGetSetRate0,00

SystemHelperTest

Success testHasMacOSXModalDialogBugIsTrue0,01
Success testHasMacOSXModalDialogBugIsFalse0,00

FileExtensionFilterTest

Success testAcceptDirectory0,00
Success testAcceptFileArray0,00
Success testAcceptFile0,00
Success testGetDescription0,00

SubTaskProgressMonitorTest

Success testNullConstructor0,00
Success testNegativeConstructor10,00
Success testNegativeConstructor20,00
Success testDone0,02
Success testWork0,00
Success testSetValue0,00
Success testSetTotalSteps0,00
Success testCancel0,00
Success testCancelEnabled0,00
Success testSetText0,00
Success testGetComponent0,20
Success testGenericWorkNegative0,00
Success testGenericWorkDecrease0,00
Success testGenericWork0,00
Success testGenericSetValue0,00
Success testGenericSetTotalSteps0,00

Failure details

Failure testGenericWorkNegative
Expected exception
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericWorkNegative(GenericProgressMonitorTest.java:21)
Failure testGenericWorkDecrease
Expected exception
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericWorkDecrease(GenericProgressMonitorTest.java:32)
Failure testGenericWork
Expected exception
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericWork(GenericProgressMonitorTest.java:43)
Failure testGenericSetValue
Expected exception
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericSetValue(GenericProgressMonitorTest.java:76)
Failure testGenericSetTotalSteps
Expected exception
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericSetTotalSteps(GenericProgressMonitorTest.java:116)