use of org.eclipse.ecf.core.identity.Namespace in project ecf by eclipse.
the class NamespaceTest method testNewNamespaceGetScheme.
public void testNewNamespaceGetScheme() {
Namespace ns = createNamespace();
String scheme = ns.getScheme();
assertTrue(scheme.equals(this.getClass().getName()));
}
use of org.eclipse.ecf.core.identity.Namespace in project ecf by eclipse.
the class StringIDTest method testGetNamespace.
public void testGetNamespace() throws Exception {
final ID id = createID();
final Namespace ns = id.getNamespace();
assertNotNull(ns);
}
use of org.eclipse.ecf.core.identity.Namespace in project ecf by eclipse.
the class StringIDTest method testEqualNamespaces.
public void testEqualNamespaces() throws Exception {
final ID id1 = createID();
final ID id2 = createID();
final Namespace ns1 = id1.getNamespace();
final Namespace ns2 = id2.getNamespace();
assertTrue(ns1.equals(ns2));
assertTrue(ns2.equals(ns2));
}
use of org.eclipse.ecf.core.identity.Namespace in project ecf by eclipse.
the class IIDNamespaceTest method testIDFactoryGetLongIDNamespaceByName.
public void testIDFactoryGetLongIDNamespaceByName() {
Namespace namespace = fixture.getNamespaceByName(LongID.class.getName());
assertNotNull(namespace);
}
use of org.eclipse.ecf.core.identity.Namespace in project ecf by eclipse.
the class IIDNamespaceTest method testIDFactoryGetGUIDIDNamespaceByName.
public void testIDFactoryGetGUIDIDNamespaceByName() {
Namespace namespace = fixture.getNamespaceByName(GUID.class.getName());
assertNotNull(namespace);
}
Aggregations