|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
test.unittests.H5DatatypeTest
public class H5DatatypeTest
TestCase for H5Datatype.
This class tests all the public methods in H5ScalarDS class.
The test file contains the following objects.
/dataset_byte Dataset {50, 10}
/dataset_comp Dataset {50, 10}
/dataset_enum Dataset {50, 10}
/dataset_float Dataset {50, 10}
/dataset_image Dataset {50, 10}
/dataset_int Dataset {50, 10}
/dataset_str Dataset {50, 10}
/g0 Group
/g0/dataset_comp Dataset {50, 10}
/g0/dataset_int Dataset {50, 10}
/g0/datatype_float Type
/g0/datatype_int Type
/g0/datatype_str Type
/g0/g00 Group
/g0/g00/dataset_float Dataset {50, 10}
/g0_attr Group
We use the following template to test all the methods:
What to test:
| Constructor Summary | |
|---|---|
H5DatatypeTest(java.lang.String arg0)
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testClose()
Test method for H5Datatype.close(int). |
void |
testFromNative()
Test method for H5Datatype.fromNative(int). |
void |
testGetMetadata()
Test method for H5Datatype.getMetadata(). |
void |
testIsUnsigned()
Test method for H5Datatype.isUnsigned(). |
void |
testOpen()
Test method for H5Datatype.open(). |
void |
testRemoveMetadata()
Test method for H5Datatype.removeMetadata(java.lang.Object). |
void |
testToNative()
Test method for H5Datatype.toNative(). |
void |
testWriteMetadata()
Test method for H5Datatype.writeMetadata(java.lang.Object). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public H5DatatypeTest(java.lang.String arg0)
arg0 - | Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
java.lang.Exception
protected void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic final void testOpen()
H5Datatype.open().
What to test:
public final void testClose()
H5Datatype.close(int).
What to test:
public final void testToNative()
H5Datatype.toNative().
What to test:
public final void testFromNative()
H5Datatype.fromNative(int).
What to test:
public final void testIsUnsigned()
H5Datatype.isUnsigned().
What to test:
public final void testGetMetadata()
H5Datatype.getMetadata().
What to test:
public final void testWriteMetadata()
H5Datatype.writeMetadata(java.lang.Object).
What to test:
public final void testRemoveMetadata()
H5Datatype.removeMetadata(java.lang.Object).
What to test:
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||