You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2018/03/18 14:48:34 UTC

[directory-ldap-api] branch master updated: Remove unused abstract test class with outdated FQCNs.

This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 0da9936  Remove unused abstract test class with outdated FQCNs.
0da9936 is described below

commit 0da9936f0713dad87a2dba3fd5e19b6b7e57eb45
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sun Mar 18 15:47:17 2018 +0100

    Remove unused abstract test class with outdated FQCNs.
---
 .../codec/standalone/AbstractCodecServiceTest.java | 100 ---------------------
 1 file changed, 100 deletions(-)

diff --git a/ldap/codec/standalone/src/test/java/org/apache/directory/api/ldap/codec/standalone/AbstractCodecServiceTest.java b/ldap/codec/standalone/src/test/java/org/apache/directory/api/ldap/codec/standalone/AbstractCodecServiceTest.java
deleted file mode 100644
index fe759a6..0000000
--- a/ldap/codec/standalone/src/test/java/org/apache/directory/api/ldap/codec/standalone/AbstractCodecServiceTest.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- *
- */
-package org.apache.directory.api.ldap.codec.standalone;
-
-
-import org.apache.directory.api.ldap.codec.api.LdapApiService;
-import org.apache.directory.api.ldap.codec.api.LdapApiServiceFactory;
-import org.apache.directory.api.ldap.codec.api.LdapEncoder;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-
-
-/**
- * Initialize the Codec service
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- */
-public abstract class AbstractCodecServiceTest
-{
-    /** The codec service */
-    protected static LdapApiService codec;
-
-    /** The encoder instance */
-    protected static LdapEncoder encoder;
-
-
-    /**
-     * Initialize the codec service
-     */
-    @BeforeClass
-    public static void setupLdapApiService() throws Exception
-    {
-        // Load the extension points
-        System.setProperty( StandaloneLdapApiService.CONTROLS_LIST,
-            "org.apache.directory.api.ldap.codec.controls.cascade.CascadeFactory,"
-            + "org.apache.directory.api.ldap.codec.controls.manageDsaIT.ManageDsaITFactory,"
-            + "org.apache.directory.api.ldap.codec.controls.proxiedauthz.ProxiedAuthzFactory,"
-            + "org.apache.directory.api.ldap.codec.controls.search.entryChange.EntryChangeFactory,"
-            + "org.apache.directory.api.ldap.codec.controls.search.pagedSearch.PagedResultsFactory,"
-            + "org.apache.directory.api.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory,"
-            + "org.apache.directory.api.ldap.codec.controls.search.subentries.SubentriesFactory,"
-            + "org.apache.directory.api.ldap.codec.controls.sort.SortRequestFactory,"
-            + "org.apache.directory.api.ldap.codec.controls.sort.SortResponseFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.ad_impl.AdDirSyncFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.ad_impl.AdPolicyHintsFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.ad_impl.AdShowDeletedFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.changeNotifications_impl.ChangeNotificationsFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.permissiveModify_impl.PermissiveModifyFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.ppolicy_impl.PasswordPolicyFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncDoneValueFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncInfoValueFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncRequestValueFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncStateValueFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.vlv_impl.VirtualListViewRequestFactory,"
-            + "org.apache.directory.api.ldap.extras.controls.vlv_impl.VirtualListViewResponseFactory" );
-
-        System.setProperty( StandaloneLdapApiService.EXTENDED_OPERATIONS_LIST,
-            "org.apache.directory.api.ldap.extras.extended.ads_impl.cancel.CancelFactory," +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.certGeneration.CertGenerationFactory," +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.endTransaction.EndTransactionFactory" +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulDisconnect.GracefulDisconnectFactory" +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulShutdown.GracefulShutdownFactory," +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.pwdModify.PasswordModifyFactory," +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.startTls.StartTlsFactory" +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.startTransaction.StartTransactionFactory" +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.storedProcedure.StoredProcedureFactory," +
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.whoAmI.WhoAmIFactory" );
-
-        codec = LdapApiServiceFactory.getSingleton();
-        encoder = new LdapEncoder( codec );
-    }
-
-
-    /**
-     * Shutdown the codec service
-     */
-    @AfterClass
-    public static void tearDownLdapCodecService()
-    {
-        codec = null;
-        encoder = null;
-    }
-}

-- 
To stop receiving notification emails like this one, please contact
seelmann@apache.org.