Summary
[
summary] [
package list] [
test cases]
Tests | Errors | Failures | Success rate | Time(s) |
277 | 0 | 5 | 98,19% | 64,41 |
Note:
failuresare anticipated and checked for with assertions while
errorsare unanticipated.
Package List
[
summary] [
package list] [
test cases]
Package | Tests | Errors | Failures | Success Rate | Time |
org.xnap.commons.gui.completion
| 33 | 0 | 0 | 100,00% | 8,72 |
org.xnap.commons.gui.action
| 8 | 0 | 0 | 100,00% | 2,64 |
org.xnap.commons.gui
| 40 | 0 | 5 | 87,50% | 11,71 |
org.xnap.commons.gui.dnd
| 10 | 0 | 0 | 100,00% | 2,53 |
org.xnap.commons.gui.settings
| 2 | 0 | 0 | 100,00% | 0,93 |
org.xnap.commons.gui.shortcut
| 17 | 0 | 0 | 100,00% | 3,21 |
org.xnap.commons.gui.table
| 10 | 0 | 0 | 100,00% | 3,91 |
org.xnap.commons.gui.tree
| 7 | 0 | 0 | 100,00% | 2,50 |
org.xnap.commons.gui.util
| 16 | 0 | 0 | 100,00% | 4,64 |
org.xnap.commons.gui.wizard
| 3 | 0 | 0 | 100,00% | 1,04 |
org.xnap.commons.settings
| 62 | 0 | 0 | 100,00% | 14,07 |
org.xnap.commons.util
| 49 | 0 | 0 | 100,00% | 7,08 |
org.xnap.commons.io
| 20 | 0 | 0 | 100,00% | 1,42 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
org.xnap.commons.gui.completion
Class | Tests | Errors | Failures | Success Rate | Time |
|
DefaultCompletionModelTest
| 10 | 0 | 0 | 100,00% | 0,682 |
|
FileCompletionModelTest
| 4 | 0 | 0 | 100,00% | 0,865 |
|
CompletionTest
| 6 | 0 | 0 | 100,00% | 1,485 |
|
ClearCompletionModelActionTest
| 1 | 0 | 0 | 100,00% | 0,660 |
|
CompletionModeFactoryTest
| 6 | 0 | 0 | 100,00% | 1,115 |
|
CompletionModeMenuTest
| 3 | 0 | 0 | 100,00% | 1,822 |
|
GlobalDefaultCompletionModeTest
| 2 | 0 | 0 | 100,00% | 1,008 |
|
CompletionPopupTest
| 1 | 0 | 0 | 100,00% | 1,083 |
org.xnap.commons.gui
Class | Tests | Errors | Failures | Success Rate | Time |
|
AboutDialogTest
| 1 | 0 | 0 | 100,00% | 1,192 |
|
BuilderTest
| 7 | 0 | 0 | 100,00% | 1,300 |
|
ColorChooserPanelTest
| 2 | 0 | 0 | 100,00% | 1,020 |
|
ColoredTableTest
| 3 | 0 | 0 | 100,00% | 0,813 |
|
DefaultDialogTest
| 4 | 0 | 0 | 100,00% | 1,020 |
|
DirectoryChooserTest
| 2 | 0 | 0 | 100,00% | 1,465 |
|
EraseTextFieldActionTest
| 2 | 0 | 0 | 100,00% | 0,871 |
|
FileChooserPanelTest
| 7 | 0 | 0 | 100,00% | 1,492 |
|
ProgressDialogTest
| 6 | 0 | 5 | 16,67% | 1,298 |
|
TextFieldMenuTest
| 6 | 0 | 0 | 100,00% | 1,234 |
org.xnap.commons.gui.table
Class | Tests | Errors | Failures | Success Rate | Time |
|
FileSizeCellRendererTest
| 1 | 0 | 0 | 100,00% | 0,787 |
|
NumberCellRendererTest
| 1 | 0 | 0 | 100,00% | 0,704 |
|
StringCellRendererTest
| 1 | 0 | 0 | 100,00% | 0,810 |
|
TableLayoutTest
| 2 | 0 | 0 | 100,00% | 0,935 |
|
TableSorterTest
| 5 | 0 | 0 | 100,00% | 0,669 |
org.xnap.commons.gui.util
Class | Tests | Errors | Failures | Success Rate | Time |
|
GUIHelperTest
| 10 | 0 | 0 | 100,00% | 1,222 |
|
IconHelperTest
| 2 | 0 | 0 | 100,00% | 0,757 |
|
PopupListenerTest
| 1 | 0 | 0 | 100,00% | 0,885 |
|
WhatsThisTest
| 2 | 0 | 0 | 100,00% | 0,993 |
|
LabelUpdaterTest
| 1 | 0 | 0 | 100,00% | 0,788 |
org.xnap.commons.gui.wizard
Class | Tests | Errors | Failures | Success Rate | Time |
|
WizardDialogTest
| 3 | 0 | 0 | 100,00% | 1,035 |
org.xnap.commons.settings
Class | Tests | Errors | Failures | Success Rate | Time |
|
ColorSettingTest
| 3 | 0 | 0 | 100,00% | 0,699 |
|
FontSettingTest
| 3 | 0 | 0 | 100,00% | 0,780 |
|
IntSettingTest
| 4 | 0 | 0 | 100,00% | 0,825 |
|
IntValidatorTest
| 7 | 0 | 0 | 100,00% | 0,753 |
|
KeyStrokeSettingTest
| 3 | 0 | 0 | 100,00% | 0,746 |
|
PropertyResourceTest
| 5 | 0 | 0 | 100,00% | 0,772 |
|
SerializableSettingTest
| 3 | 0 | 0 | 100,00% | 0,791 |
|
StringSettingTest
| 5 | 0 | 0 | 100,00% | 0,827 |
|
StringValidatorTest
| 6 | 0 | 0 | 100,00% | 0,681 |
|
BooleanSettingTest
| 3 | 0 | 0 | 100,00% | 0,812 |
|
IntArraySettingTest
| 3 | 0 | 0 | 100,00% | 0,856 |
|
StringArraySettingTest
| 3 | 0 | 0 | 100,00% | 0,762 |
|
ClassNameSettingTest
| 3 | 0 | 0 | 100,00% | 0,571 |
|
CompletionModeSettingsTest
| 1 | 0 | 0 | 100,00% | 1,126 |
|
DefaultCompletionModeSettingTest
| 1 | 0 | 0 | 100,00% | 0,791 |
|
EnumSettingTest
| 3 | 0 | 0 | 100,00% | 0,694 |
|
PortRangeValidatorTest
| 3 | 0 | 0 | 100,00% | 0,642 |
|
SettingStoreTest
| 3 | 0 | 0 | 100,00% | 0,945 |
org.xnap.commons.util
Class | Tests | Errors | Failures | Success Rate | Time |
|
StringHelperTest
| 9 | 0 | 0 | 100,00% | 0,647 |
|
VersionParserTest
| 2 | 0 | 0 | 100,00% | 0,588 |
|
QuotedStringTokenizerTest
| 5 | 0 | 0 | 100,00% | 0,604 |
|
UncaughtExceptionManagerTest
| 1 | 0 | 0 | 100,00% | 0,734 |
|
AWTExceptionHandlerTest
| 1 | 0 | 0 | 100,00% | 1,075 |
|
FileHelperTest
| 16 | 0 | 0 | 100,00% | 0,877 |
|
NetHelperTest
| 2 | 0 | 0 | 100,00% | 0,768 |
|
PortRangeTest
| 6 | 0 | 0 | 100,00% | 0,569 |
|
ProgressTest
| 5 | 0 | 0 | 100,00% | 0,664 |
|
SystemHelperTest
| 2 | 0 | 0 | 100,00% | 0,554 |
Test Cases
[
summary] [
package list] [
test cases]
DefaultCompletionModelTest
| testCompletion | 0,01 |
| testEmptyCompletion | 0,00 |
| testSingleCompletion | 0,00 |
| testEmptyStringCompletion | 0,00 |
| testUniquePrefix | 0,00 |
| testSingleUniquePrefix | 0,00 |
| testEmptyUniquePrefix | 0,00 |
| testRemove | 0,00 |
| testClear | 0,00 |
| testInsert | 0,00 |
FileCompletionModelTest
| testFilenamePrefix | 0,18 |
| testCompleteUniquePrefix | 0,00 |
| testDirectoryNameCompletion | 0,01 |
| testSetters | 0,08 |
CompletionTest
| testComletionModeChangeListener | 0,67 |
| testNullPointerException | 0,02 |
| testSetEnabled | 0,00 |
| testSetModel | 0,00 |
| testSetText | 0,11 |
| testGetPreviousWord | 0,02 |
ClearCompletionModelActionTest
| testActionPerformed | 0,06 |
CompletionModeFactoryTest
| testCreateCustomCompletionMode | 0,06 |
| testGetCompletionModeInfoByClassName | 0,00 |
| testCreateInvalidCompletionMode | 0,20 |
| testCompletionModeInfo | 0,00 |
| testCreateInstalledCompletionModes | 0,26 |
| testInstallCompletionModeInfo | 0,00 |
CompletionModeMenuTest
| testAllInstalledModesAreThere | 0,52 |
| testIsNotifiedOfModeChanges | 0,04 |
| testClickWorks | 0,69 |
GlobalDefaultCompletionModeTest
| testExceptions | 0,44 |
| testSettingsPropagation | 0,03 |
CompletionPopupTest
| testOrientationsInSync | 0,50 |
AbstractToggleActionTest
| testToggleButton | 0,36 |
| testToggleAction | 0,00 |
| testSetSelected | 0,00 |
AbstractToggleSettingActionTest
| testToggleButton | 0,20 |
| testToggleAction | 0,00 |
| testSetSelected | 0,00 |
AbstractXNapActionTest
| testIconPropertyChange | 0,24 |
| testSetEnabledLater | 0,00 |
AboutDialogTest
| testAddTabs | 0,62 |
BuilderTest
| testAddCompletion | 0,61 |
| testCreateButton | 0,01 |
| testCreateCheckBox | 0,00 |
| testCreateIconButton | 0,00 |
| testCreateToolBarButton | 0,00 |
| testSetProperty | 0,00 |
| testSetFactory | 0,00 |
ColorChooserPanelTest
| testConstructor | 0,44 |
| testSetSelectedColor | 0,02 |
ColoredTableTest
| testGetBackgroundColor | 0,20 |
| testUpdateUI | 0,02 |
| testPrepareRenderer | 0,00 |
DefaultDialogTest
| testSetMainComponent | 0,24 |
| testButtonIsThere | 0,01 |
| testButtonCodeConstructor | 0,05 |
| testActions | 0,12 |
DirectoryChooserTest
| testRootSelection | 0,76 |
| testSetSelectedDir | 0,07 |
EraseTextFieldActionTest
| testActionPerformed | 0,29 |
| testSetGet | 0,00 |
FileChooserPanelTest
| testGetSetFile | 0,64 |
| testGetCompletion | 0,03 |
| testGetSetDialogParent | 0,03 |
| testSetEnabled | 0,04 |
| testCreateTransferable | 0,03 |
| testImportData | 0,02 |
| testSubClassing | 0,05 |
ProgressDialogTest
| testGetComponent | 0,52 |
| testGenericWorkNegative | 0,05 |
Expected exception
|
| testGenericWorkDecrease | 0,02 |
Expected exception
|
| testGenericWork | 0,02 |
Expected exception
|
| testGenericSetValue | 0,11 |
Expected exception
|
| testGenericSetTotalSteps | 0,02 |
Expected exception
|
TextFieldMenuTest
| testContainsAllActions | 0,39 |
| testCutAction | 0,16 |
| testCopyAction | 0,02 |
| testPasteAction | 0,02 |
| testClearAction | 0,02 |
| testSelectAllAction | 0,02 |
AbstractFileTransferHandlerTest
| testCanImportFilesandURIS | 0,24 |
| testCannotImportStrings | 0,00 |
| testOnlyAllowCopyingOfFiles | 0,00 |
| testImportData | 0,01 |
DefaultTextFieldFileTransferHandlerTest
| testInstall | 0,21 |
| testCreateTransferable | 0,04 |
| testImportData | 0,00 |
FileTransferableTest
| testSupportedFlavors | 0,01 |
| testIsDataFlavorSupported | 0,00 |
| testGetTransferData | 0,27 |
SettingComponentMediatorTest
| testBooleanSetting | 0,32 |
| testStringSetting | 0,10 |
DefaultShortcutTest
| testSetKeyStroke | 0,23 |
EmacsKeyBindingsTest
| testCapitalizeWordAction | 0,56 |
| testDowncaseWordAction | 0,01 |
| testUpcaseWordAction | 0,03 |
| testKillWordAction | 0,02 |
| testKillBackwardKillWordAction | 0,02 |
| testSetMarkCommandAction | 0,02 |
| testKillLineAction | 0,00 |
MediatorShortcutTest
| testKeyStrokeIsSet | 0,35 |
| testKeyStrokeIsUpdated | 0,00 |
| testSetEnabled | 0,00 |
| testActionPerformed | 0,00 |
| testDisabledActionPerformed | 0,00 |
| testGetComponent | 0,00 |
| testGetAction | 0,00 |
| testGetSetting | 0,00 |
| testGarbageCollection | 0,14 |
FileSizeCellRendererTest
| testSetValue | 0,21 |
NumberCellRendererTest
| testSetValue | 0,14 |
StringCellRendererTest
| testSetValue | 0,20 |
TableLayoutTest
| testAddColumn | 0,33 |
| testSetColumnVisible | 0,01 |
TableSorterTest
| testGetTableModel | 0,02 |
| testGetRowCount | 0,00 |
| testGetSortedColumn | 0,00 |
| testGetSortOrder | 0,00 |
| testMapToIndex | 0,00 |
AbstractTreeModelTest
| testReload | 0,01 |
| testAddSubRoot | 0,00 |
FileTreeModelTest
| testAddSubRoot | 0,01 |
| testRemoveSubRoots | 0,00 |
| testSetFileFilter | 0,00 |
| testFilter | 0,54 |
| testSortFiles | 0,62 |
GUIHelperTest
| testCreateDefaultBorder | 0,05 |
| testCreateTitledBorder | 0,02 |
| testCreateEmptyBorder | 0,00 |
| testCreateBorders | 0,00 |
| testSetAccelerator | 0,17 |
| testShowFile | 0,30 |
| testSetMnemonics | 0,01 |
| testExpandAllNodes | 0,09 |
| testBindEnterKey | 0,00 |
| testBindEnterKeyLocally | 0,00 |
IconHelperTest
| testGetImage | 0,18 |
| testGetIcon | 0,00 |
PopupListenerTest
| testPopupListenenr | 0,29 |
WhatsThisTest
| testSetText | 0,36 |
| testGetText | 0,01 |
LabelUpdaterTest
| testListener | 0,17 |
WizardDialogTest
| testNext | 0,38 |
| testPrevious | 0,04 |
| testListener | 0,01 |
ColorSettingTest
| testDefaultValue | 0,15 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
FontSettingTest
| testDefaultValue | 0,15 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
IntSettingTest
| testMinMaxConstructor | 0,19 |
| testDefaultValue | 0,00 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
IntValidatorTest
| testMinConstructor2 | 0,05 |
| testEmptyConstructor | 0,00 |
| testMinConstructor | 0,00 |
| testMinMaxConstructor | 0,00 |
| testMinGreaterMaxConstructor | 0,00 |
| testNull | 0,00 |
| testString | 0,00 |
KeyStrokeSettingTest
| testDefaultValue | 0,18 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
PropertyResourceTest
| testDefaultRemove | 0,15 |
| testPut | 0,00 |
| testLoadStore | 0,03 |
| testEquals | 0,00 |
| testPropertyChangeListenerStringSetting | 0,00 |
SerializableSettingTest
| testDefaultValue | 0,18 |
| testDefaultNull | 0,02 |
| testSetValue | 0,00 |
StringSettingTest
| testValidCharsConstructor | 0,19 |
| testMinLengthConstructor | 0,00 |
| testDefaultValue | 0,00 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
StringValidatorTest
| testEmptyConstructor | 0,07 |
| testStringConstructor | 0,00 |
| testStringLengthConstructor | 0,00 |
| testNull | 0,00 |
| testEmail | 0,00 |
| testRegularString | 0,00 |
BooleanSettingTest
| testDefaultValue | 0,14 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
IntArraySettingTest
| testDefaultValue | 0,19 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
StringArraySettingTest
| testDefaultValue | 0,16 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
ClassNameSettingTest
| testDefaultValue | 0,01 |
| testDefaultNull | 0,00 |
| testSetValue | 0,00 |
CompletionModeSettingsTest
| testSetting | 0,51 |
DefaultCompletionModeSettingTest
| testGlobalDefaultCompletionMode | 0,17 |
EnumSettingTest
| testDefaultNull | 0,14 |
| testDefaultValue | 0,00 |
| testSetValue | 0,00 |
PortRangeValidatorTest
| testValidPortRanges | 0,04 |
| testInvalidPortRanges | 0,00 |
| testCustomRangeValidator | 0,00 |
SettingStoreTest
| testGetBackStore | 0,14 |
| testSplitPane | 0,19 |
| testWindow | 0,01 |
StringHelperTest
| testFirstToken | 0,01 |
| testLastToken | 0,00 |
| testLastPrefix | 0,00 |
| testFormatSize | 0,01 |
| testFormatLength | 0,00 |
| testPad | 0,00 |
| testPadLeftRight | 0,00 |
| testRandom | 0,00 |
| testIndexOfDigit | 0,00 |
VersionParserTest
| testEquals | 0,01 |
| testPostfixes | 0,00 |
QuotedStringTokenizerTest
| testTokenizer | 0,00 |
| testReturnSeparators | 0,00 |
| testMultipleSeparators | 0,00 |
| testMultipleSeparatorsReturnSeparators | 0,00 |
| testQuotedTokenizer | 0,00 |
UncaughtExceptionManagerTest
| testExceptionListener | 0,17 |
AWTExceptionHandlerTest
| testHandle | 0,39 |
FileHelperTest
| testCreateUnique | 0,14 |
| testAppendSeparator | 0,00 |
| testShorten | 0,00 |
| testMove | 0,01 |
| testMoveUnique | 0,01 |
| testCopyFileFile | 0,01 |
| testCopyFileFileProgressMonitor | 0,05 |
| testExists | 0,00 |
| testReadTextInputStream | 0,00 |
| testToAscii | 0,00 |
| testToFilename | 0,00 |
| testReadWriteText | 0,00 |
| testReadWriteBinary | 0,03 |
| testReadBinary | 0,00 |
| testName | 0,00 |
| testExtension | 0,00 |
NetHelperTest
| testToIPLong | 0,18 |
| testToIPHiFirst | 0,00 |
PortRangeTest
| testAddIntInt | 0,01 |
| testAddInt | 0,00 |
| testAddString | 0,00 |
| testIterator | 0,00 |
| testSize | 0,00 |
| testToString | 0,00 |
ProgressTest
| testCompareTo | 0,00 |
| testGetPercent | 0,00 |
| testProgress | 0,00 |
| testGetSizeAndGetTransferred | 0,00 |
| testGetSetRate | 0,00 |
SystemHelperTest
| testHasMacOSXModalDialogBugIsTrue | 0,01 |
| testHasMacOSXModalDialogBugIsFalse | 0,00 |
FileExtensionFilterTest
| testAcceptDirectory | 0,00 |
| testAcceptFileArray | 0,00 |
| testAcceptFile | 0,00 |
| testGetDescription | 0,00 |
SubTaskProgressMonitorTest
| testNullConstructor | 0,00 |
| testNegativeConstructor1 | 0,00 |
| testNegativeConstructor2 | 0,00 |
| testDone | 0,02 |
| testWork | 0,00 |
| testSetValue | 0,00 |
| testSetTotalSteps | 0,00 |
| testCancel | 0,00 |
| testCancelEnabled | 0,00 |
| testSetText | 0,00 |
| testGetComponent | 0,20 |
| testGenericWorkNegative | 0,00 |
| testGenericWorkDecrease | 0,00 |
| testGenericWork | 0,00 |
| testGenericSetValue | 0,00 |
| testGenericSetTotalSteps | 0,00 |
Failure details
|
testGenericWorkNegative
|
Expected exception
|
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericWorkNegative(GenericProgressMonitorTest.java:21)
|
|
testGenericWorkDecrease
|
Expected exception
|
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericWorkDecrease(GenericProgressMonitorTest.java:32)
|
|
testGenericWork
|
Expected exception
|
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericWork(GenericProgressMonitorTest.java:43)
|
|
testGenericSetValue
|
Expected exception
|
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericSetValue(GenericProgressMonitorTest.java:76)
|
|
testGenericSetTotalSteps
|
Expected exception
|
junit.framework.AssertionFailedError: Expected exception at org.xnap.commons.io.GenericProgressMonitorTest.testGenericSetTotalSteps(GenericProgressMonitorTest.java:116)
|