summaryrefslogtreecommitdiff
path: root/java/client
diff options
context:
space:
mode:
authorWeston M. Price <wprice@apache.org>2012-05-03 21:54:29 +0000
committerWeston M. Price <wprice@apache.org>2012-05-03 21:54:29 +0000
commit0ad601ba75d43c16cea612382b70ce390be93b29 (patch)
tree6228b71d41c721befecb9a97a85196ddaa7efa22 /java/client
parent67f42317f39cbedb613dae9d5c144f8d3f36bc8c (diff)
downloadqpid-python-0ad601ba75d43c16cea612382b70ce390be93b29.tar.gz
QPID-3791: PropertiesFileInitialContextFactory cannot open file URL
*Removing new test for now as absolute file path is not working on test machine *Excludes mechanism did not work to remove a single test, or the entire class *Will rework git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1333645 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client')
-rw-r--r--java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java b/java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java
index 4371f8d753..2989970dcd 100644
--- a/java/client/src/test/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactoryTest.java
+++ b/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
{