public class UserTest
extends junit.framework.TestCase
Constructor and Description |
---|
UserTest(java.lang.String testName)
Test User related operations
|
Modifier and Type | Method and Description |
---|---|
private void |
bookInteractionTest()
Test all functions related to Book
|
private void |
setterTest()
Test the setter functions
|
void |
setUp()
Set up before testing
|
static junit.framework.Test |
suite() |
void |
testApp()
Run all tests
|
private void |
valueTest()
Test if the values are accurate
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
public UserTest(java.lang.String testName)
testName
- name of the test caseprivate void bookInteractionTest()
private void setterTest()
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
- Exceptionpublic static junit.framework.Test suite()
public void testApp()
private void valueTest()