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:
@@ -39,7 +39,7 @@ public class TestH5Tbasic {
|
||||
|
||||
@Test
|
||||
public void testH5Tcopy() {
|
||||
long H5strdid = -1;
|
||||
long H5strdid = HDF5Constants.H5I_INVALID_HID;
|
||||
try {
|
||||
H5strdid = H5.H5Tcopy(HDF5Constants.H5T_C_S1);
|
||||
assertTrue("H5.H5Tcopy",H5strdid > 0);
|
||||
@@ -56,7 +56,7 @@ public class TestH5Tbasic {
|
||||
|
||||
@Test
|
||||
public void testH5Tequal() {
|
||||
long H5strdid = -1;
|
||||
long H5strdid = HDF5Constants.H5I_INVALID_HID;
|
||||
try {
|
||||
H5strdid = H5.H5Tcopy(HDF5Constants.H5T_C_S1);
|
||||
assertTrue("H5.H5Tcopy",H5strdid > 0);
|
||||
@@ -75,7 +75,7 @@ public class TestH5Tbasic {
|
||||
|
||||
@Test
|
||||
public void testH5Tequal_not() {
|
||||
long H5strdid = -1;
|
||||
long H5strdid = HDF5Constants.H5I_INVALID_HID;
|
||||
try {
|
||||
H5strdid = H5.H5Tcopy(HDF5Constants.H5T_STD_U64LE);
|
||||
assertTrue("H5.H5Tcopy",H5strdid > 0);
|
||||
@@ -97,8 +97,8 @@ public class TestH5Tbasic {
|
||||
String[] strs = {"a1234","b1234"};
|
||||
int srcLen = 5;
|
||||
int dstLen = 10;
|
||||
long srcId = -1;
|
||||
long dstId = -1;
|
||||
long srcId = HDF5Constants.H5I_INVALID_HID;
|
||||
long dstId = HDF5Constants.H5I_INVALID_HID;
|
||||
int dimSize = strs.length;
|
||||
byte[] buf = new byte[dimSize*dstLen];
|
||||
|
||||
@@ -130,7 +130,7 @@ public class TestH5Tbasic {
|
||||
|
||||
@Test
|
||||
public void testH5Torder_size() {
|
||||
long H5strdid = -1;
|
||||
long H5strdid = HDF5Constants.H5I_INVALID_HID;
|
||||
try {
|
||||
// Fixed length string
|
||||
H5strdid = H5.H5Tcopy(HDF5Constants.H5T_C_S1);
|
||||
|
||||
Reference in New Issue
Block a user