@Test (timeout=5000) public void testJVMId() { JVMId jvmid = new JVMId("test", 1, true, 2); JVMId jvmid1 = JVMId.forName("jvm_test_0001_m_000002"); // test compare methot should be the same assertEquals(0, jvmid.compareTo(jvmid1)); }
@Test (timeout=5000) public void testJVMId() { JVMId jvmid = new JVMId("test", 1, true, 2); JVMId jvmid1 = JVMId.forName("jvm_test_0001_m_000002"); // test compare methot should be the same assertEquals(0, jvmid.compareTo(jvmid1)); }