From 48e73e27e5a6b254471fabeefa3a197dd071c1b8 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 02 Oct 2006 16:32:07 +0000
Subject: [PATCH] Perform significant refactoring in the core and plugin code in order to help make it easier for external developers to extend OpenDS. In particular, this is a big step towards eliminating the need for developers to reference anything in the core package, and it's also a signficant simplification to the plugin API because it helps expose which operation methods are safe to call at various points in the plugin processing.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/schema/EqualityMatchingRuleTest.java | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/EqualityMatchingRuleTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/EqualityMatchingRuleTest.java
index a939589..0abe9ee 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/EqualityMatchingRuleTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/EqualityMatchingRuleTest.java
@@ -27,12 +27,12 @@
package org.opends.server.schema;
import org.opends.server.api.EqualityMatchingRule;
-import org.opends.server.core.DirectoryException;
import org.opends.server.core.DirectoryServer;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.types.AcceptRejectWarn;
import org.opends.server.types.ByteString;
import org.opends.server.types.ConditionResult;
+import org.opends.server.types.DirectoryException;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
@@ -62,7 +62,7 @@
/**
* Get an instance of the matching rule.
- *
+ *
* @return An instance of the matching rule to test.
*/
public abstract EqualityMatchingRule getRule();
@@ -86,7 +86,7 @@
assertEquals(result, liveResult);
}
-
+
/**
* Generate data for the EqualityMatching Rule test in warn mode.
*
@@ -97,9 +97,9 @@
{
return new Object[][] {};
}
-
+
/**
- * Test the normalization and the comparison in the warning mode
+ * Test the normalization and the comparison in the warning mode
*/
@Test(dataProvider= "warnmodeEqualityMatchingRule")
public void warnmodeEqualityMatchingRules(
@@ -108,14 +108,14 @@
{
AcceptRejectWarn accept = DirectoryServer.getSyntaxEnforcementPolicy();
DirectoryServer.setSyntaxEnforcementPolicy(AcceptRejectWarn.WARN);
- try
+ try
{
equalityMatchingRules(value1, value2, result);
}
finally
{
DirectoryServer.setSyntaxEnforcementPolicy(accept);
- }
+ }
}
/**
@@ -142,7 +142,7 @@
" should detect that value \"" + value + "\" is invalid");
}
}
-
+
/**
* Generate data for the EqualityMatching Rule test.
*
@@ -153,7 +153,7 @@
{
return new Object[][] {};
}
-
+
/**
* Test the valuesMatch method used for extensible filters.
*/
@@ -175,7 +175,7 @@
assertEquals(ConditionResult.TRUE, liveResult);
else
assertEquals(ConditionResult.FALSE, liveResult);
-
+
}
}
--
Gitblit v1.10.0