|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
test.unittests.H5FileTest
public class H5FileTest
TestCase for H5File.
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 | |
|---|---|
H5FileTest(java.lang.String arg0)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public H5FileTest(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()
H5File.open().
What to test:
public final void testCreateString()
FileFormat.create(java.lang.String).
What to test:
public final void testGetRootNode()
H5File.getRootNode().
What to test:
public final void testIsReadOnly()
FileFormat.isReadOnly().
public final void testCreateGroup()
H5File.createGroup(java.lang.String, ncsa.hdf.object.Group).
What to test:
public final void testCreateObjects()
H5File.createScalarDS(java.lang.String, ncsa.hdf.object.Group, ncsa.hdf.object.Datatype, long[], long[], long[], int, java.lang.Object),
FileFormat.createCompoundDS(java.lang.String, ncsa.hdf.object.Group, long[], java.lang.String[], ncsa.hdf.object.Datatype[], int[], java.lang.Object),
H5File.createCompoundDS(java.lang.String, ncsa.hdf.object.Group, long[], long[], long[], int, java.lang.String[], ncsa.hdf.object.Datatype[], int[], java.lang.Object),
H5File.createImage(java.lang.String, ncsa.hdf.object.Group, ncsa.hdf.object.Datatype, long[], long[], long[], int, int, int, java.lang.Object),
H5File.createDatatype(int, int, int, int),
H5File.createDatatype(int, int, int, int, java.lang.String),
H5File.createLink(ncsa.hdf.object.Group, java.lang.String, ncsa.hdf.object.HObject),
H5File.get(java.lang.String),
H5File.getAttribute(int),
H5File.writeAttribute(ncsa.hdf.object.HObject, ncsa.hdf.object.Attribute, boolean).
What to test:
public final void testIsThisTypeString()
H5File.isThisType(java.lang.String).
What to test:
public final void testIsThisTypeFileFormat()
H5File.isThisType(ncsa.hdf.object.FileFormat).
What to test:
public final void testCopyHObjectGroup()
FileFormat.copy(ncsa.hdf.object.HObject, ncsa.hdf.object.Group).
What to test:
public final void testDeleteHObject()
H5File.delete(ncsa.hdf.object.HObject).
What to test:
public final void testGet()
H5File.get(java.lang.String).
What to test:
public final void testGetFromOpen()
H5File.get(java.lang.String).
What to test:
public final void testH5FileStringInt()
H5File.H5File(java.lang.String, int).
What to test:
public final void testOpenInt()
H5File.open(int).
What to test:
public final void testUpdateReferenceDataset()
H5File.updateReferenceDataset(ncsa.hdf.object.h5.H5File, ncsa.hdf.object.h5.H5File).
What to test:
public final void testCreateImageAttributes()
H5File.createImageAttributes(ncsa.hdf.object.Dataset, int).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||