|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jhotdraw.test.util.StorageFormatManagerTest
public class StorageFormatManagerTest
TestCase StorageFormatManagerTest is generated by JUnitDoclet to hold the tests for StorageFormatManager.
StorageFormatManager
Constructor Summary | |
---|---|
StorageFormatManagerTest(java.lang.String name)
Constructor StorageFormatManagerTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
StorageFormatManager |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAddStorageFormat()
Method testAddStorageFormat is testing addStorageFormat |
void |
testContainsStorageFormat()
Method testContainsStorageFormat is testing containsStorageFormat |
void |
testFindStorageFormat()
Method testFindStorageFormat is testing findStorageFormat |
void |
testRegisterFileFilters()
Method testRegisterFileFilters is testing registerFileFilters |
void |
testRemoveStorageFormat()
Method testRemoveStorageFormat is testing removeStorageFormat |
void |
testSetGetDefaultStorageFormat()
Method testSetGetDefaultStorageFormat is testing setDefaultStorageFormat and getDefaultStorageFormat together by setting some value and verifying it by reading. |
void |
testVault()
JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StorageFormatManagerTest(java.lang.String name)
Method Detail |
---|
public StorageFormatManager createInstance() throws java.lang.Exception
java.lang.Exception
public void testAddStorageFormat() throws java.lang.Exception
java.lang.Exception
StorageFormatManager.addStorageFormat(org.jhotdraw.util.StorageFormat)
public void testRemoveStorageFormat() throws java.lang.Exception
java.lang.Exception
StorageFormatManager.removeStorageFormat(org.jhotdraw.util.StorageFormat)
public void testContainsStorageFormat() throws java.lang.Exception
java.lang.Exception
StorageFormatManager.containsStorageFormat(org.jhotdraw.util.StorageFormat)
public void testSetGetDefaultStorageFormat() throws java.lang.Exception
java.lang.Exception
StorageFormatManager.setDefaultStorageFormat(org.jhotdraw.util.StorageFormat)
,
StorageFormatManager.getDefaultStorageFormat()
public void testRegisterFileFilters() throws java.lang.Exception
java.lang.Exception
StorageFormatManager.registerFileFilters(javax.swing.JFileChooser)
public void testFindStorageFormat() throws java.lang.Exception
java.lang.Exception
StorageFormatManager.findStorageFormat(javax.swing.filechooser.FileFilter)
public void testVault() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |