From 19c1698a1c9d576637a80b20afa080db5e16addb Mon Sep 17 00:00:00 2001
From: davidely <davidely@localhost>
Date: Sun, 03 Sep 2006 14:40:08 +0000
Subject: [PATCH] Migrating to TestNG 5.1 from 4.7.  Most of the required changes are to address annotations that were deprecated.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Element.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Element.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Element.java
index 156df01..2d78c4d 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Element.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Element.java
@@ -34,8 +34,8 @@
 import java.util.ArrayList;
 import java.util.Arrays;
 
-import org.testng.annotations.Configuration;
 import org.testng.annotations.Test;
+import org.testng.annotations.BeforeClass;
 
 /**
  * This class defines a set of tests for the
@@ -75,7 +75,7 @@
   /**
    * Performs any necessary initialization for this test case.
    */
-  @Configuration(beforeTestClass = true)
+  @BeforeClass
   public void setUp() {
     // Initialize the set of types. It will encapsulate the entire range
     // of

--
Gitblit v1.10.0