1 10 Fix java data export functions (#450)
* HDFFV-10865 - merge from dev, HDFArray perf fix. * Remove duplicate setting * Whitespace changes after clang format * Undo version 11 clang format changes * Merge CMake changes from develop * test testing script merge from develop * Update supported platforms * PR#3 merge from develop * Merge gcc 10 diagnostics option from develop * Merge #318 OSX changes from develop * Merge small changes from develop * Minor non-space formatting changes * #386 copyright corrections for java folder * Merges from develop #358 patches from vtk #361 fix header guard spelling * Merge updates #358 patches from vtk #361 fix header guard spelling * format fix * Fix missing underscore and make H5public.h closer to dev * Merges from develop #340 clang -Wformat-security warnings #360 Fixed uninitialized warnings header guard underscore cleanup JNI cleanup * format alignment * Add missing test ref file * Merge #380 from develop * Finish java merges from develop * Fix java issues with tests and javadoc * Correct use of attribute access plist * Remove debug code * Remove unused variable * Change file access to read only for java tests * Split clang format operations. * More javadoc comments * Remove pre-split setting * format source
This commit is contained in:
@@ -32,8 +32,8 @@ import org.junit.rules.TestName;
|
||||
public class TestH5T {
|
||||
@Rule public TestName testname = new TestName();
|
||||
private static final String H5_FILE = "testT.h5";
|
||||
long H5fid = -1;
|
||||
long H5strdid = -1;
|
||||
long H5fid = HDF5Constants.H5I_INVALID_HID;
|
||||
long H5strdid = HDF5Constants.H5I_INVALID_HID;
|
||||
|
||||
private final void _deleteFile(String filename) {
|
||||
File file = null;
|
||||
@@ -128,7 +128,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Tarray_create() {
|
||||
long filetype_id = -1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
long[] adims = { 3, 5 };
|
||||
|
||||
try {
|
||||
@@ -147,7 +147,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Tget_array_ndims() {
|
||||
long filetype_id = -1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
int ndims = 0;
|
||||
long[] adims = { 3, 5 };
|
||||
|
||||
@@ -175,7 +175,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Tget_array_dims() {
|
||||
long filetype_id = -1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
int ndims = 0;
|
||||
long[] adims = { 3, 5 };
|
||||
long[] rdims = new long[2];
|
||||
@@ -206,7 +206,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Tenum_functions() {
|
||||
long filetype_id =-1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
String enum_type ="Enum_type";
|
||||
byte[] enum_val = new byte[1];
|
||||
String enum_name = null;
|
||||
@@ -274,7 +274,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Tenum_create_functions() {
|
||||
long filetype_id = -1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
byte[] enum_val = new byte[1];
|
||||
|
||||
// Create a enumerate datatype
|
||||
@@ -314,7 +314,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Topaque_functions() {
|
||||
long filetype_id = -1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
String opaque_name = null;
|
||||
|
||||
// Create a opaque datatype
|
||||
@@ -344,7 +344,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Tvlen_create() {
|
||||
long filetype_id = -1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
|
||||
try {
|
||||
filetype_id = H5.H5Tvlen_create(HDF5Constants.H5T_C_S1);
|
||||
@@ -367,7 +367,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Tis_variable_str() {
|
||||
long filetype_id = -1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
|
||||
try {
|
||||
filetype_id = H5.H5Tcopy(HDF5Constants.H5T_C_S1);
|
||||
@@ -398,7 +398,7 @@ public class TestH5T {
|
||||
|
||||
@Test
|
||||
public void testH5Tcompound_functions() {
|
||||
long filetype_id =-1;
|
||||
long filetype_id = HDF5Constants.H5I_INVALID_HID;
|
||||
|
||||
// Create a compound datatype
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user