|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.udo.cs.yale.test.TestCase
edu.udo.cs.yale.example.test.DataRowTest
public class DataRowTest
Tests creation and parsing of sparse and dense data rows, including missing values.
Field Summary | |
---|---|
private Attribute[] |
attributes
|
private double[] |
expected
|
Constructor Summary | |
---|---|
DataRowTest()
|
Method Summary | |
---|---|
private void |
assertDataRow(java.lang.String message,
DataRow dataRow,
double[] expected)
|
private void |
objectTest(java.lang.String message,
DataRowFactory factory)
|
void |
setUp()
|
private void |
stringTest(java.lang.String message,
DataRowFactory factory)
|
void |
tearDown()
|
void |
testDoubleArrayObjects()
|
void |
testDoubleArrayStrings()
|
void |
testSparseMapObjects()
|
void |
testSparseMapStrings()
|
Methods inherited from class edu.udo.cs.yale.test.TestCase |
---|
assertEqualsNaN |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Attribute[] attributes
private double[] expected
Constructor Detail |
---|
public DataRowTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class TestCase
java.lang.Exception
public void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
private void assertDataRow(java.lang.String message, DataRow dataRow, double[] expected)
private void objectTest(java.lang.String message, DataRowFactory factory)
private void stringTest(java.lang.String message, DataRowFactory factory)
public void testDoubleArrayStrings()
public void testDoubleArrayObjects()
public void testSparseMapStrings()
public void testSparseMapObjects()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |