# HG changeset patch # User dadubrow # Date 1250096819 18000 # Node ID 2dd4b09c997412818641bfd28e633c2832800ef8 # Parent 4fc57cfafd313273f8fd57e4754b010ce0d0dda3 Fix a remote connections test and remove another obsolete test from suite diff -r 4fc57cfafd31 -r 2dd4b09c9974 connectivity/com.nokia.carbide.remoteConnections.tests/src/com/nokia/carbide/remoteconnections/tests/AllTests.java --- a/connectivity/com.nokia.carbide.remoteConnections.tests/src/com/nokia/carbide/remoteconnections/tests/AllTests.java Wed Aug 12 10:16:47 2009 -0500 +++ b/connectivity/com.nokia.carbide.remoteConnections.tests/src/com/nokia/carbide/remoteconnections/tests/AllTests.java Wed Aug 12 12:06:59 2009 -0500 @@ -27,7 +27,6 @@ //$JUnit-BEGIN$ suite.addTestSuite(RegistryTest.class); suite.addTestSuite(SerializationTest.class); - suite.addTestSuite(ServiceTest.class); suite.addTestSuite(FilterTest.class); suite.addTestSuite(TCPIPConnectionTypeTests.class); //$JUnit-END$ diff -r 4fc57cfafd31 -r 2dd4b09c9974 connectivity/com.nokia.carbide.remoteConnections.tests/src/com/nokia/carbide/remoteconnections/tests/RegistryTest.java --- a/connectivity/com.nokia.carbide.remoteConnections.tests/src/com/nokia/carbide/remoteconnections/tests/RegistryTest.java Wed Aug 12 10:16:47 2009 -0500 +++ b/connectivity/com.nokia.carbide.remoteConnections.tests/src/com/nokia/carbide/remoteconnections/tests/RegistryTest.java Wed Aug 12 12:06:59 2009 -0500 @@ -62,8 +62,7 @@ assertEquals(RandomCycleService.class.getName(), service.getIdentifier()); Collection ctids = Registry.instance().getCompatibleConnectionTypeIds(service); - String id = ctids.iterator().next(); - assertEquals(ct.getIdentifier(), id); + assertTrue(ctids.contains(ct.getIdentifier())); } public void testStoreAndLoadConnections() {