diff options
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/qpid/java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java b/qpid/java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java index 4371f8d753..2989970dcd 100644 --- a/qpid/java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java +++ b/qpid/java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java @@ -51,25 +51,6 @@ public class PropertiesFileInitialContextFactoryTest extends TestCase ctx = new InitialContext(properties); } - public void testInitialContextProviderURL() throws Exception - { - Destination d = null; - - System.setProperty("java.naming.factory.initial", "org.apache.qpid.jndi.PropertiesFileInitialContextFactory"); - System.setProperty("java.naming.provider.url", FILE_URL_PATH + FILE_NAME); - - InitialContext ctx = new InitialContext(); - d = (Destination)ctx.lookup("topicExchange"); - assertNotNull("Lookup for Destination from file path should not be null", d); - - ctx.close(); - - System.setProperty("java.naming.provider.url", "file:///" + FILE_URL_PATH + FILE_NAME); - - ctx = new InitialContext(); - d = (Destination)ctx.lookup("topicExchange"); - assertNotNull("Lookup for Destination from file URI should not be null", d); - } public void testQueueNamesWithTrailingSpaces() throws Exception { |
