Package org.eclipse.ecf.core.identity

Examples of org.eclipse.ecf.core.identity.ID.toExternalForm()


    }
  }

  public void testCreateFromExternalForm() throws Exception {
    final ID id1 = createID();
    final String externalForm = id1.toExternalForm();
    final ID id2 = IDFactory.getDefault().createID(id1.getNamespace(),
        externalForm);
    assertTrue(id1.equals(id2));
  }
}
View Full Code Here


    assertTrue(id.getName().equals(this.getClass().getName()));
  }

  public void testToExternalForm() throws Exception {
    final ID id = createStringID(this.getClass().getName());
    assertNotNull(id.toExternalForm());
  }

  public void testToString() throws Exception {
    final ID id = createStringID(this.getClass().getName());
    assertNotNull(id.toString());
View Full Code Here

    }
  }

  public void testCreateFromExternalForm() throws Exception {
    final ID id1 = createID();
    final String externalForm = id1.toExternalForm();
    final ID id2 = IDFactory.getDefault().createID(id1.getNamespace(),
        externalForm);
    assertTrue(id1.equals(id2));
  }
}
View Full Code Here

    assertTrue(id1.getName().equals(id2.getName()));
  }

  public void testToExternalForm() throws Exception {
    final ID id = createID();
    assertNotNull(id.toExternalForm());
  }

  public void testToString() throws Exception {
    final ID id = createID();
    assertNotNull(id.toString());
View Full Code Here

    }
  }

  public void testCreateFromExternalForm() throws Exception {
    final ID id1 = createID();
    final String externalForm = id1.toExternalForm();
    final ID id2 = IDFactory.getDefault().createID(id1.getNamespace(),
        externalForm);
    assertTrue(id1.equals(id2));
  }
}
View Full Code Here

    assertNotNull(id.getName());
  }

  public void testToExternalForm() throws Exception {
    final ID id = createID();
    assertNotNull(id.toExternalForm());
  }

  public void testToString() throws Exception {
    final ID id = createID();
    assertNotNull(id.toString());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.