public class SettingsTest
extends junit.framework.TestCase
Constructor and Description |
---|
SettingsTest(java.lang.String testName)
Test Settings related operations
|
Modifier and Type | Method and Description |
---|---|
private void |
constructorTest()
Test the constructor
|
private void |
setBooksFilenameTest()
Test the setBooksFilename function
|
private void |
setTitleTest()
Test the setTitle function
|
private void |
setUsersFilenameTest()
Test the setUsersFilename function
|
static junit.framework.Test |
suite() |
void |
tearDown()
Delete test files
|
void |
testApp()
Run all tests
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString
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
private Settings settings
public SettingsTest(java.lang.String testName)
testName
- name of the test caseprivate void constructorTest()
private void setBooksFilenameTest()
private void setTitleTest()
private void setUsersFilenameTest()
public static junit.framework.Test suite()
public void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
- Exceptionpublic void testApp()