Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-01-11 16:10:48 -0500
committerslewis2008-01-11 16:10:48 -0500
commitcee44f3fb7ca98bc1c7f6938b9b770c1b1780dd6 (patch)
tree6b471cfd3ee644f3c4f65551d093b328dde7d7c9 /tests/bundles/org.eclipse.ecf.tests.presence
parent96160bae5227cc9556f60e5ad5eff4b2b8d3dc46 (diff)
downloadorg.eclipse.ecf-cee44f3fb7ca98bc1c7f6938b9b770c1b1780dd6.tar.gz
org.eclipse.ecf-cee44f3fb7ca98bc1c7f6938b9b770c1b1780dd6.tar.xz
org.eclipse.ecf-cee44f3fb7ca98bc1c7f6938b9b770c1b1780dd6.zip
Changes to support additiom of xmpp provider test plugin. Refactoring to allow for easier creation of test plugins for new providers for various APIs
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.presence')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractAdapterAccessTest.java (renamed from tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AdapterAccessTest.java)46
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatRoomInvitationTest.java (renamed from tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatRoomInvitationTest.java)27
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatRoomParticipantTest.java (renamed from tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatRoomParticipantTest.java)4
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatTest.java (renamed from tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatTest.java)45
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractConnectTest.java (renamed from tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ConnectTest.java)24
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractPresenceTestCase.java (renamed from tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/PresenceAbstractTestCase.java)23
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/IDCreateTest.java69
7 files changed, 76 insertions, 162 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AdapterAccessTest.java b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractAdapterAccessTest.java
index 9c02efe63..3e4fba2c4 100755
--- a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AdapterAccessTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractAdapterAccessTest.java
@@ -23,66 +23,56 @@ import org.eclipse.ecf.tests.ContainerAbstractTestCase;
/**
*
*/
-public class AdapterAccessTest extends ContainerAbstractTestCase {
+public abstract class AbstractAdapterAccessTest extends ContainerAbstractTestCase {
- private static final String XMPP_CONTAINER = "ecf.xmpp.smack";
+ protected abstract String getClientContainerName();
/* (non-Javadoc)
- * @see org.eclipse.ecf.tests.ContainerAbstractTestCase#getClientContainerName()
- */
- protected String getClientContainerName() {
- return XMPP_CONTAINER;
- }
-
- /* (non-Javadoc)
* @see junit.framework.TestCase#setUp()
*/
protected void setUp() throws Exception {
clients = createClients();
}
-
+
protected IPresenceContainerAdapter getPresenceAdapter() {
return (IPresenceContainerAdapter) getClients()[0].getAdapter(IPresenceContainerAdapter.class);
}
-
+
public void testGetPresenceContainerAdapter() {
- IPresenceContainerAdapter adapter = getPresenceAdapter();
+ final IPresenceContainerAdapter adapter = getPresenceAdapter();
assertNotNull(adapter);
}
-
+
public void testGetDescriptionsForAdapter() {
- ContainerTypeDescription[] descs = ContainerFactory.getDefault()
- .getDescriptionsForContainerAdapter(
- IPresenceContainerAdapter.class);
+ final ContainerTypeDescription[] descs = ContainerFactory.getDefault().getDescriptionsForContainerAdapter(IPresenceContainerAdapter.class);
assertNotNull(descs);
}
-
public void testGetRosterManager() {
- IPresenceContainerAdapter adapter = getPresenceAdapter();
+ final IPresenceContainerAdapter adapter = getPresenceAdapter();
assertNotNull(adapter);
- IRosterManager rosterManager = adapter.getRosterManager();
+ final IRosterManager rosterManager = adapter.getRosterManager();
assertNotNull(rosterManager);
}
-
+
public void testGetAccountManager() {
- IPresenceContainerAdapter adapter = getPresenceAdapter();
+ final IPresenceContainerAdapter adapter = getPresenceAdapter();
assertNotNull(adapter);
- IAccountManager accountManager = adapter.getAccountManager();
+ final IAccountManager accountManager = adapter.getAccountManager();
assertNotNull(accountManager);
}
-
+
public void testGetChatManager() {
- IPresenceContainerAdapter adapter = getPresenceAdapter();
+ final IPresenceContainerAdapter adapter = getPresenceAdapter();
assertNotNull(adapter);
- IChatManager chatManager = adapter.getChatManager();
+ final IChatManager chatManager = adapter.getChatManager();
assertNotNull(chatManager);
}
-
+
public void testGetChatRoomManager() {
- IPresenceContainerAdapter adapter = getPresenceAdapter();
+ final IPresenceContainerAdapter adapter = getPresenceAdapter();
assertNotNull(adapter);
- IChatRoomManager chatRoomManager = adapter.getChatRoomManager();
+ final IChatRoomManager chatRoomManager = adapter.getChatRoomManager();
assertNotNull(chatRoomManager);
}
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatRoomInvitationTest.java b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatRoomInvitationTest.java
index 35537cc15..065b2c2e2 100755
--- a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatRoomInvitationTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatRoomInvitationTest.java
@@ -24,29 +24,30 @@ import org.eclipse.ecf.presence.chatroom.IChatRoomManager;
/**
*
*/
-public class ChatRoomInvitationTest extends PresenceAbstractTestCase {
+public abstract class AbstractChatRoomInvitationTest extends AbstractPresenceTestCase {
IChatRoomManager chat0, chat1 = null;
public static final int WAITTIME = 20000;
public static final String CHAT_ROOM_NAME = System.getProperty("chat.room.name");
List<ID> invitationsReceived = new ArrayList<ID>();
-
+
Object synchObject = new Object();
-
+
IChatRoomInvitationListener invitationListener = new IChatRoomInvitationListener() {
- public void handleInvitationReceived(ID roomID, ID from,
- String subject, String body) {
- System.out.println("handleInvitationReceived("+roomID+","+from+","+subject+","+body+")");
+ public void handleInvitationReceived(ID roomID, ID from, String subject, String body) {
+ System.out.println("handleInvitationReceived(" + roomID + "," + from + "," + subject + "," + body + ")");
invitationsReceived.add(roomID);
synchronized (synchObject) {
synchObject.notify();
}
- }};
+ }
+ };
+
/*
* (non-Javadoc)
*
- * @see org.eclipse.ecf.tests.presence.PresenceAbstractTestCase#setUp()
+ * @see org.eclipse.ecf.tests.presence.AbstractPresenceTestCase#setUp()
*/
protected void setUp() throws Exception {
setClientCount(2);
@@ -70,17 +71,17 @@ public class ChatRoomInvitationTest extends PresenceAbstractTestCase {
}
public void testSendInvitation() throws Exception {
- IChatRoomInvitationSender invitationSender = chat0.getInvitationSender();
+ final IChatRoomInvitationSender invitationSender = chat0.getInvitationSender();
assertNotNull(invitationSender);
- IChatRoomInfo roomInfo = chat0.getChatRoomInfo(CHAT_ROOM_NAME);
- IChatRoomContainer chatRoomContainer = roomInfo.createChatRoomContainer();
+ final IChatRoomInfo roomInfo = chat0.getChatRoomInfo(CHAT_ROOM_NAME);
+ final IChatRoomContainer chatRoomContainer = roomInfo.createChatRoomContainer();
chatRoomContainer.connect(roomInfo.getRoomID(), null);
invitationSender.sendInvitation(roomInfo.getRoomID(), getClient(1).getConnectedID(), null, "this is an invitation");
- try{
+ try {
synchronized (synchObject) {
synchObject.wait(WAITTIME);
}
- } catch (Exception e) {
+ } catch (final Exception e) {
throw e;
}
assertHasEvent(invitationsReceived, ID.class);
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatRoomParticipantTest.java b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatRoomParticipantTest.java
index 52778c815..6523780f0 100755
--- a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatRoomParticipantTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatRoomParticipantTest.java
@@ -22,7 +22,7 @@ import org.eclipse.ecf.presence.chatroom.IChatRoomParticipantListener;
/**
*
*/
-public class ChatRoomParticipantTest extends PresenceAbstractTestCase {
+public abstract class AbstractChatRoomParticipantTest extends AbstractPresenceTestCase {
IChatRoomContainer chatRoomContainer0, chatRoomContainer1 = null;
public static final int WAITTIME = 20000;
@@ -67,7 +67,7 @@ public class ChatRoomParticipantTest extends PresenceAbstractTestCase {
/*
* (non-Javadoc)
*
- * @see org.eclipse.ecf.tests.presence.PresenceAbstractTestCase#setUp()
+ * @see org.eclipse.ecf.tests.presence.AbstractPresenceTestCase#setUp()
*/
protected void setUp() throws Exception {
setClientCount(2);
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatTest.java b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatTest.java
index 3e66cb02a..f3afc493f 100755
--- a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ChatTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatTest.java
@@ -27,7 +27,7 @@ import org.eclipse.ecf.presence.im.IChatMessageEvent;
/**
*
*/
-public class ChatTest extends PresenceAbstractTestCase {
+public abstract class AbstractChatTest extends AbstractPresenceTestCase {
IChatManager chat0, chat1 = null;
public static final int WAITTIME = 3000;
@@ -37,8 +37,7 @@ public class ChatTest extends PresenceAbstractTestCase {
IIMMessageListener listener = new IIMMessageListener() {
public void handleMessageEvent(IIMMessageEvent messageEvent) {
if (messageEvent instanceof IChatMessageEvent) {
- IChatMessage chatmessage = ((IChatMessageEvent) messageEvent)
- .getChatMessage();
+ IChatMessage chatmessage = ((IChatMessageEvent) messageEvent).getChatMessage();
System.out.println("received chat message=" + chatmessage);
receivedChatMessages.add(chatmessage);
}
@@ -48,7 +47,7 @@ public class ChatTest extends PresenceAbstractTestCase {
/*
* (non-Javadoc)
*
- * @see org.eclipse.ecf.tests.presence.PresenceAbstractTestCase#setUp()
+ * @see org.eclipse.ecf.tests.presence.AbstractPresenceTestCase#setUp()
*/
protected void setUp() throws Exception {
setClientCount(2);
@@ -72,67 +71,63 @@ public class ChatTest extends PresenceAbstractTestCase {
}
public void testSendIM() throws Exception {
- chat0.getChatMessageSender().sendChatMessage(getServerConnectID(1),
- "abcdef");
+ chat0.getChatMessageSender().sendChatMessage(getServerConnectID(1), "abcdef");
sleep(WAITTIME);
assertHasEvent(receivedChatMessages, IChatMessage.class);
- IChatMessage message = receivedChatMessages.get(0);
+ final IChatMessage message = receivedChatMessages.get(0);
assertTrue(message.getBody().equals("abcdef"));
assertTrue(message.getType().equals(IChatMessage.Type.CHAT));
- ID fromID = message.getFromID();
+ final ID fromID = message.getFromID();
assertTrue(fromID.equals(getServerConnectID(0)));
assertNull(message.getSubject());
- Map props = message.getProperties();
+ final Map props = message.getProperties();
assertNotNull(props);
assertTrue(props.size() == 0);
}
public void testSendIM2() throws Exception {
- Map sendprops = new HashMap();
+ final Map sendprops = new HashMap();
sendprops.put("prop1", "this");
- ID sendthreadid = IDFactory.getDefault().createStringID("thread1");
+ final ID sendthreadid = IDFactory.getDefault().createStringID("thread1");
// Send the whole thing
- chat0.getChatMessageSender().sendChatMessage(getServerConnectID(1),
- sendthreadid, IChatMessage.Type.CHAT, "subject1", "uvwxyz",
- sendprops);
+ chat0.getChatMessageSender().sendChatMessage(getServerConnectID(1), sendthreadid, IChatMessage.Type.CHAT, "subject1", "uvwxyz", sendprops);
sleep(WAITTIME);
assertHasEvent(receivedChatMessages, IChatMessage.class);
- IChatMessage message = receivedChatMessages.get(0);
+ final IChatMessage message = receivedChatMessages.get(0);
// For some reason, the smack library doesn't seem to get this right.
// assertTrue(message.getThreadID().equals(sendthreadid));
assertTrue(message.getSubject().equals("subject1"));
assertTrue(message.getBody().equals("uvwxyz"));
assertTrue(message.getType().equals(IChatMessage.Type.CHAT));
- ID fromID = message.getFromID();
+ final ID fromID = message.getFromID();
assertTrue(fromID.equals(getServerConnectID(0)));
- Map props = message.getProperties();
+ final Map props = message.getProperties();
assertNotNull(props);
assertTrue(props.size() == 1);
- String val = (String) props.get("prop1");
+ final String val = (String) props.get("prop1");
assertNotNull(val);
assertEquals(val, "this");
}
public void testSendMessageProperties() throws Exception {
- Map sendprops = new HashMap();
+ final Map sendprops = new HashMap();
sendprops.put("prop2", "that");
// Send the whole thing
- chat0.getChatMessageSender().sendChatMessage(getServerConnectID(1),
- null, IChatMessage.Type.CHAT, null, null, sendprops);
+ chat0.getChatMessageSender().sendChatMessage(getServerConnectID(1), null, IChatMessage.Type.CHAT, null, null, sendprops);
sleep(WAITTIME);
assertHasEvent(receivedChatMessages, IChatMessage.class);
- IChatMessage message = receivedChatMessages.get(0);
+ final IChatMessage message = receivedChatMessages.get(0);
assertNull(message.getSubject());
assertTrue(message.getBody().equals(""));
assertTrue(message.getType().equals(IChatMessage.Type.CHAT));
- ID fromID = message.getFromID();
+ final ID fromID = message.getFromID();
assertTrue(fromID.equals(getServerConnectID(0)));
- Map props = message.getProperties();
+ final Map props = message.getProperties();
assertNotNull(props);
assertTrue(props.size() == 1);
- String val = (String) props.get("prop2");
+ final String val = (String) props.get("prop2");
assertNotNull(val);
assertEquals(val, "that");
}
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ConnectTest.java b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractConnectTest.java
index 8816c8c6a..2ca8cc7c4 100755
--- a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/ConnectTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractConnectTest.java
@@ -17,21 +17,21 @@ import org.eclipse.ecf.core.identity.ID;
/**
*
*/
-public class ConnectTest extends PresenceAbstractTestCase {
+public abstract class AbstractConnectTest extends AbstractPresenceTestCase {
public static final int CLIENT_COUNT = 2;
- public static final int WAITTIME= 3000;
-
+ public static final int WAITTIME = 3000;
+
protected void setUp() throws Exception {
setClientCount(CLIENT_COUNT);
clients = createClients();
}
public void testConnectOneClient() throws Exception {
- int clientIndex = 0;
- IContainer client = getClient(clientIndex);
+ final int clientIndex = 0;
+ final IContainer client = getClient(clientIndex);
assertNull(client.getConnectedID());
- ID serverConnectID = getServerConnectID(clientIndex);
+ final ID serverConnectID = getServerConnectID(clientIndex);
assertNotNull(serverConnectID);
connectClient(client, serverConnectID, getConnectContext(clientIndex));
assertEquals(serverConnectID, client.getConnectedID());
@@ -41,19 +41,19 @@ public class ConnectTest extends PresenceAbstractTestCase {
}
public void testConnectTwoClients() throws Exception {
- for(int i=0; i < 2; i++) {
- IContainer client = getClient(i);
+ for (int i = 0; i < 2; i++) {
+ final IContainer client = getClient(i);
assertNull(client.getConnectedID());
- ID serverConnectID = getServerConnectID(i);
+ final ID serverConnectID = getServerConnectID(i);
assertNotNull(serverConnectID);
connectClient(client, serverConnectID, getConnectContext(i));
assertEquals(serverConnectID, client.getConnectedID());
}
-
+
sleep(3000);
- for(int i=0; i < 2; i++) {
- IContainer client = getClient(i);
+ for (int i = 0; i < 2; i++) {
+ final IContainer client = getClient(i);
client.disconnect();
assertNull(client.getConnectedID());
}
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/PresenceAbstractTestCase.java b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractPresenceTestCase.java
index 5cebfdc3f..eb136806a 100755
--- a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/PresenceAbstractTestCase.java
+++ b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractPresenceTestCase.java
@@ -22,13 +22,9 @@ import org.eclipse.ecf.tests.ContainerAbstractTestCase;
/**
*
*/
-public abstract class PresenceAbstractTestCase extends ContainerAbstractTestCase {
+public abstract class AbstractPresenceTestCase extends ContainerAbstractTestCase {
- static final String XMPP_CONTAINER = "ecf.xmpp.smack";
-
- protected String getClientContainerName() {
- return XMPP_CONTAINER;
- }
+ protected abstract String getClientContainerName();
protected void setUp() throws Exception {
setClientCount(2);
@@ -36,20 +32,21 @@ public abstract class PresenceAbstractTestCase extends ContainerAbstractTestCase
}
protected ID getServerConnectID(int client) {
- IContainer container = getClient(client);
- Namespace connectNamespace = container.getConnectNamespace();
- String username = getUsername(client);
+ final IContainer container = getClient(client);
+ final Namespace connectNamespace = container.getConnectNamespace();
+ final String username = getUsername(client);
try {
- return IDFactory.getDefault().createID(connectNamespace,username);
- } catch (IDCreateException e) {
+ return IDFactory.getDefault().createID(connectNamespace, username);
+ } catch (final IDCreateException e) {
fail("Could not create server connect ID");
return null;
}
}
protected IPresenceContainerAdapter getPresenceAdapter(int client) {
- IContainer c = getClient(client);
- if (c == null) return null;
+ final IContainer c = getClient(client);
+ if (c == null)
+ return null;
return (IPresenceContainerAdapter) c.getAdapter(IPresenceContainerAdapter.class);
}
}
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/IDCreateTest.java b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/IDCreateTest.java
deleted file mode 100755
index 9dbf64767..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/IDCreateTest.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/****************************************************************************
- * Copyright (c) 2007 Composent, Inc. and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Composent, Inc. - initial API and implementation
- *****************************************************************************/
-
-package org.eclipse.ecf.tests.presence;
-
-import junit.framework.TestCase;
-
-import org.eclipse.ecf.core.identity.ID;
-import org.eclipse.ecf.core.identity.IDCreateException;
-import org.eclipse.ecf.core.identity.IDFactory;
-import org.eclipse.ecf.core.identity.Namespace;
-
-/**
- *
- */
-public class IDCreateTest extends TestCase {
-
- public static final String XMPP_NAMESPACE = "ecf.xmpp";
-
- Namespace namespace;
-
- protected void setUp() throws Exception {
- namespace = IDFactory.getDefault().getNamespaceByName(XMPP_NAMESPACE);
- assertNotNull(namespace);
- }
-
- public void testXMPPCreateID() throws Exception {
- final ID xmppID = IDFactory.getDefault().createID(namespace, "foobar@ecf.eclipse.org");
- assertNotNull(xmppID);
- }
-
- public void testXMPPCreateID1() throws Exception {
- try {
- IDFactory.getDefault().createID(namespace, "ecf.eclipse.org");
- fail();
- } catch (final IDCreateException e) {
- // this construction should fail
- }
- }
-
- public void testXMPPCreateID2() throws Exception {
- final ID xmppID = IDFactory.getDefault().createID(namespace, "foobar@ecf.eclipse.org:5333");
- assertNotNull(xmppID);
- }
-
- public void testXMPPCreateID3() throws Exception {
- final ID xmppID = IDFactory.getDefault().createID(namespace, "foobar@ecf.eclipse.org:5333/myresource");
- assertNotNull(xmppID);
- }
-
- public void testXMPPCreateID4() throws Exception {
- final ID xmppID = IDFactory.getDefault().createID(namespace, "foobar@ecf.eclipse.org/myresource");
- assertNotNull(xmppID);
- }
-
- public void testXMPPCreateID5() throws Exception {
- final ID xmppID = IDFactory.getDefault().createID(namespace, "foobar@ecf.eclipse.org/myresource/subresource");
- assertNotNull(xmppID);
- }
-
-}

Back to the top