From f2160f4bd1c8ac67e5a86a6710d431e8932877f9 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 May 2010 11:47:51 +0000
Subject: [PATCH] Synchronize SDK on java.net with internal repository.

---
 sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/GeneralizedTimeSyntaxTest.java |   31 ++++++++++++++-----------------
 1 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/GeneralizedTimeSyntaxTest.java b/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/GeneralizedTimeSyntaxTest.java
index db991df..b11b2cd 100644
--- a/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/GeneralizedTimeSyntaxTest.java
+++ b/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/GeneralizedTimeSyntaxTest.java
@@ -28,7 +28,7 @@
 
 
 
-import static org.opends.sdk.schema.SchemaConstants.*;
+import static org.opends.sdk.schema.SchemaConstants.SYNTAX_GENERALIZED_TIME_OID;
 
 import org.testng.annotations.DataProvider;
 
@@ -39,18 +39,6 @@
  */
 public class GeneralizedTimeSyntaxTest extends SyntaxTestCase
 {
-  /**
-   * {@inheritDoc}
-   */
-  @Override
-  protected Syntax getRule()
-  {
-    return Schema.getCoreSchema()
-        .getSyntax(SYNTAX_GENERALIZED_TIME_OID);
-  }
-
-
-
   @Override
   @DataProvider(name = "acceptableValues")
   public Object[][] createAcceptableValues()
@@ -59,10 +47,8 @@
         { "20060906135030+01", true }, { "200609061350Z", true },
         { "20060906135030Z", true }, { "20061116135030Z", true },
         { "20061126135030Z", true }, { "20061231235959Z", true },
-        { "20060906135030+0101", true },
-        { "20060906135030+2359", true },
-        { "20060906135030+3359", false },
-        { "20060906135030+2389", false },
+        { "20060906135030+0101", true }, { "20060906135030+2359", true },
+        { "20060906135030+3359", false }, { "20060906135030+2389", false },
         { "20060906135030+2361", false }, { "20060906135030+", false },
         { "20060906135030+0", false }, { "20060906135030+010", false },
         { "20061200235959Z", false }, { "2006121a235959Z", false },
@@ -74,4 +60,15 @@
         { "2006", false }, };
   }
 
+
+
+  /**
+   * {@inheritDoc}
+   */
+  @Override
+  protected Syntax getRule()
+  {
+    return Schema.getCoreSchema().getSyntax(SYNTAX_GENERALIZED_TIME_OID);
+  }
+
 }

--
Gitblit v1.10.0