public void H5Fget_access_plistTest1() { hid_t fapl = H5F.get_access_plist(m_v0_class_file); Assert.IsTrue(fapl >= 0); Assert.IsTrue(H5P.close(fapl) >= 0); fapl = H5F.get_access_plist(m_v2_class_file); Assert.IsTrue(fapl >= 0); Assert.IsTrue(H5P.close(fapl) >= 0); }
public void H5Fget_metadata_read_attemptsTestSWMR2() { hid_t fapl = H5F.get_access_plist(m_v3_test_file_no_swmr); Assert.IsTrue(fapl >= 0); uint attempts = 0; Assert.IsTrue( H5P.get_metadata_read_attempts(fapl, ref attempts) >= 0); Assert.IsTrue(attempts > 0); Assert.IsTrue(H5P.close(fapl) >= 0); }
public void H5Fget_access_plistTest2() { Assert.IsFalse( H5F.get_access_plist(Utilities.RandomInvalidHandle()) >= 0); }