public class StringValuesTableTest
extends junit.framework.TestCase
StringValuesTable
instances.| Constructor and Description |
|---|
StringValuesTableTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Set up the test fixture.
|
void |
tearDown()
Tear down the test fixture.
|
void |
testConstructors()
Ensures that the contructors published for
StringValuesTable
fulfill their contract. |
void |
testGetColumnByName()
Ensures that published contract for
String[] getColumn(String) is upheld. |
void |
testGetColumnByNumber()
Ensures that published contract for
String[] getColumn(int)
is upheld. |
void |
testGetColumnNames()
Ensures that published contract for
String[] getColumnNames() is upheld. |
void |
testGetItemColumnName()
Ensures that published contract for
String getItem(int, String) is upheld. |
void |
testGetItemColumnNumber()
Ensures that published contract for
String getItem(int, int)
is upheld. |
void |
testGetName()
Ensures that published contract for
String getName() is
upheld. |
void |
testGetNumberOfColumns()
Ensures that published contract for
int getNumberOfColumns()
is upheld. |
void |
testGetNumberOfRows()
Ensures that published contract for
int getNumberOfRows()
is upheld. |
void |
testGetRow()
Ensures that published contract for
String[] getRow(int)
is upheld. |
void |
testIsValidColumnName()
Ensures that published contract for
boolean isValidColumnName(String) is upheld. |
void |
testIsValidColumnNumber()
Ensures that published contract for
boolean isValidColumnNumber(int) is upheld. |
void |
testIsValidRowNumber()
Ensures that published contract for
boolean isValidRowNumber(int) is upheld. |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, failpublic void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic void testConstructors()
throws Exception
StringValuesTable
fulfill their contract.Exception - is an error occurs during testing.public void testGetColumnByName()
throws Exception
String[] getColumn(String) is upheld.Exception - is an error occurs during testing.public void testGetColumnByNumber()
throws Exception
String[] getColumn(int)
is upheld.Exception - is an error occurs during testing.public void testGetColumnNames()
throws Exception
String[] getColumnNames() is upheld.Exception - is an error occurs during testing.public void testGetItemColumnName()
throws Exception
String getItem(int, String) is upheld.Exception - is an error occurs during testing.public void testGetItemColumnNumber()
throws Exception
String getItem(int, int)
is upheld.Exception - is an error occurs during testing.public void testGetName()
throws Exception
String getName() is
upheld.Exception - is an error occurs during testing.public void testGetNumberOfColumns()
throws Exception
int getNumberOfColumns()
is upheld.Exception - is an error occurs during testing.public void testGetNumberOfRows()
throws Exception
int getNumberOfRows()
is upheld.Exception - is an error occurs during testing.public void testGetRow()
throws Exception
String[] getRow(int)
is upheld.Exception - is an error occurs during testing.public void testIsValidColumnName()
throws Exception
boolean isValidColumnName(String) is upheld.Exception - is an error occurs during testing.public void testIsValidColumnNumber()
throws Exception
boolean isValidColumnNumber(int) is upheld.Exception - is an error occurs during testing.Copyright © 2003-2014. All Rights Reserved.