public void H5FunmountTest2() { Assert.IsFalse( H5F.unmount(Utilities.RandomInvalidHandle(), "AA") >= 0); Assert.IsFalse(H5F.unmount(m_v0_class_file, "") >= 0); }
public void H5FmountTest1() { hid_t mount_point = H5G.create(m_v0_class_file, "A"); Assert.IsTrue(mount_point >= 0); Assert.IsTrue(H5G.close(mount_point) >= 0); Assert.IsTrue(H5F.mount(m_v0_class_file, "A", m_v0_test_file) >= 0); mount_point = H5G.create(m_v0_class_file, "B"); Assert.IsTrue(mount_point >= 0); Assert.IsTrue(H5G.close(mount_point) >= 0); Assert.IsTrue(H5F.mount(m_v0_class_file, "B", m_v2_test_file) >= 0); mount_point = H5G.create(m_v2_class_file, "C"); Assert.IsTrue(mount_point >= 0); Assert.IsTrue(H5G.close(mount_point) >= 0); Assert.IsTrue(H5F.mount(m_v2_class_file, "C", m_v0_class_file) >= 0); Assert.IsTrue(H5F.unmount(m_v2_class_file, "C") >= 0); Assert.IsTrue(H5F.unmount(m_v0_class_file, "B") >= 0); Assert.IsTrue(H5F.unmount(m_v0_class_file, "A") >= 0); }