Primary change is HDFFV-11212 - new refs and JNI (#372)
* OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction * Update supported platforms * Revert whitespace changes * Correct whitespace * Changes from PR#3 * HDFFV-11213 added option to control gcc10 warnings diagnostics * HDFFV-11212 Use the new references correctly in JNI utility and tests * format source * Fix typo * Add new test file * HDFFV-11212 - update test and remove unused arg * Minor non-space formatting changes * Use H5I_INVALID_ID instead of "-1" * source formatting * add missing testfile, update jni function * Undo commit of debug code * remove mislocated file * Fix h5repack test for handling of fapls and id close * Update h5diff test files usage text * HDFFV-11212 add new ref tests for JNI export dataset * src format update * Remove blank line typo * src format typo * long double requires %Lg * Another long double foramt specifer S.B. %Lg * issue with t128bit test * Windows issue with h5dump and type. * Fix review issues * refactor function nesting and fix error checks * format fixes * Remove untested functions and javadoc quiet comments * Restore TRY block. * Change string append errors to memory exception * revert to H5_JNI_FATAL_ERROR - support functions need work * Add assertion error for h5util functions * remove duplicate function * format fix * Revert HD function error handling * Update copyright comments
This commit is contained in:
@@ -30,7 +30,7 @@ import org.junit.rules.TestName;
|
||||
|
||||
public class TestH5S {
|
||||
@Rule public TestName testname = new TestName();
|
||||
long H5sid = -1;
|
||||
long H5sid = HDF5Constants.H5I_INVALID_HID;
|
||||
int H5rank = 2;
|
||||
long H5dims[] = {5, 5};
|
||||
long H5maxdims[] = {10, 10};
|
||||
@@ -181,7 +181,7 @@ public class TestH5S {
|
||||
|
||||
@Test
|
||||
public void testH5Scopy() {
|
||||
long sid = -1;
|
||||
long sid = HDF5Constants.H5I_INVALID_HID;
|
||||
int read_rank = -1;
|
||||
|
||||
try {
|
||||
@@ -201,7 +201,7 @@ public class TestH5S {
|
||||
|
||||
@Test
|
||||
public void testH5Sextent_copy() {
|
||||
long sid = -1;
|
||||
long sid = HDF5Constants.H5I_INVALID_HID;
|
||||
int class_type = -1;
|
||||
|
||||
try {
|
||||
@@ -222,7 +222,7 @@ public class TestH5S {
|
||||
|
||||
@Test
|
||||
public void testH5Sextent_equal() {
|
||||
long sid = -1;
|
||||
long sid = HDF5Constants.H5I_INVALID_HID;
|
||||
boolean result = false;
|
||||
|
||||
try {
|
||||
@@ -252,8 +252,8 @@ public class TestH5S {
|
||||
|
||||
@Test
|
||||
public void testH5Sencode_decode_null_dataspace() {
|
||||
long sid = -1;
|
||||
long decoded_sid = -1;
|
||||
long sid = HDF5Constants.H5I_INVALID_HID;
|
||||
long decoded_sid = HDF5Constants.H5I_INVALID_HID;
|
||||
byte[] null_sbuf = null;
|
||||
boolean result = false;
|
||||
|
||||
@@ -299,8 +299,8 @@ public class TestH5S {
|
||||
|
||||
@Test
|
||||
public void testH5Sencode_decode_scalar_dataspace() {
|
||||
long sid = -1;
|
||||
long decoded_sid = -1;
|
||||
long sid = HDF5Constants.H5I_INVALID_HID;
|
||||
long decoded_sid = HDF5Constants.H5I_INVALID_HID;
|
||||
byte[] scalar_sbuf = null;
|
||||
boolean result = false;
|
||||
int iresult = -1;
|
||||
@@ -470,7 +470,7 @@ public class TestH5S {
|
||||
|
||||
@Test
|
||||
public void testH5Sget_select_hyper() {
|
||||
long space1 = -1;
|
||||
long space1 = HDF5Constants.H5I_INVALID_HID;
|
||||
long start[] = {0,0};
|
||||
long stride[] = {1,1};
|
||||
long count[] = {1,1};
|
||||
@@ -508,7 +508,7 @@ public class TestH5S {
|
||||
|
||||
@Test
|
||||
public void testH5Sget_select_valid() {
|
||||
long space1 = -1;
|
||||
long space1 = HDF5Constants.H5I_INVALID_HID;
|
||||
long start[] = {1,0};
|
||||
long stride[] = {1,1};
|
||||
long count[] = {2,3};
|
||||
|
||||
Reference in New Issue
Block a user