From f89c99bee37103772b4009fea14387fa92f9da98 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Tue, 08 Oct 2013 16:12:52 +0000
Subject: [PATCH] OPENDJ-346 Consider using java.util.ServiceLoader for loading extensions and requesting transport implementations

---
 opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/TestCaseUtils.java |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/TestCaseUtils.java b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/TestCaseUtils.java
index 17bd937..2a8c3bd 100644
--- a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/TestCaseUtils.java
+++ b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/TestCaseUtils.java
@@ -222,26 +222,4 @@
         }
         return mock;
     }
-
-    /**
-     * Returns LDAP options with the parameter {@code LDAPOptions#getClassLoader()} already
-     * set to the test class loader.
-     *
-     * @return LDAPOptions already set with the class loader used by the test.
-     *         This is required if the test need to use a transport provider.
-     */
-    public static LDAPOptions getLDAPTestOptions() {
-        return new LDAPOptions().setProviderClassLoader(Thread.currentThread().getContextClassLoader());
-    }
-
-    /**
-     * Returns LDAPListener options with the parameter {@code LDAPListenerOptions#getClassLoader()} already
-     * set to the test class loader.
-     *
-     * @return LDAPListenerOptions already set with the class loader used by the test.
-     *         This is required if the test need to use a transport provider.
-     */
-    public static LDAPListenerOptions getLDAPListenerTestOptions() {
-        return new LDAPListenerOptions().setProviderClassLoader(Thread.currentThread().getContextClassLoader());
-    }
 }

--
Gitblit v1.10.0