From e070c0d2eb0e798b44e080094e311f5a883fe652 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 24 Oct 2011 16:06:04 +0000
Subject: [PATCH] Fix OPENDJ-335: Hide network group, work-flow, and work-flow element configuration objects from dsconfig and doc

---
 opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/NetworkGroupTest.java |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/NetworkGroupTest.java b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/NetworkGroupTest.java
index eb6573c..9d4584d 100644
--- a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/NetworkGroupTest.java
+++ b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/NetworkGroupTest.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
+ *      Portions copyright 2011 ForgeRock AS.
  */
 package org.opends.server.core.networkgroups;
 
@@ -751,13 +752,15 @@
   /**
    * Tests that routing mode changes cause the network group config
    * manager to be initialized, shutdown, and reinitialized correctly.
+   * <p>
+   * Disabled because NGs are not supported (issue OPENDJ-335).
    *
    * @see <a
    *      href="https://opends.dev.java.net/issues/show_bug.cgi?id=3775">Issue 3775</a>
    * @throws Exception
    *           If an unexpected error occurred.
    */
-  @Test
+  @Test(enabled=false)
   public void testIssue3775() throws Exception
   {
     // Switch to and from manual mode twice in order to ensure that the
@@ -820,12 +823,14 @@
 
   /**
    * Tests the network group resource limits
+   * <p>
+   * Disabled because NGs are not supported (issue OPENDJ-335).
    *
    * @param networkGroupID   the ID of the network group to register
    * @param workflowBaseDN1  the base DN of the first workflow node to register
    *                         in the network group
    */
-  @Test (dataProvider = "DNSet_3", groups = "virtual")
+  @Test (dataProvider = "DNSet_3", groups = "virtual", enabled=false)
   public void testNetworkGroupResourceLimits(
       String networkGroupID,
       DN     workflowBaseDN,
@@ -1180,7 +1185,7 @@
         "set-root-dse-backend-prop",
         "--reset", "subordinate-base-dn");
     searchPublicNamingContexts(connection, true, 2);
-    
+
     // Clean the test backends. There is no more naming context.
     TestCaseUtils.clearMemoryBackend(backendID1);
     TestCaseUtils.clearMemoryBackend(backendID2);

--
Gitblit v1.10.0