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/TestASN1Set.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Set.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Set.java
index ceb4dee..88c8f7b 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Set.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Set.java
@@ -31,8 +31,8 @@
 
 import java.util.ArrayList;
 
-import org.testng.annotations.Configuration;
 import org.testng.annotations.Test;
+import org.testng.annotations.BeforeClass;
 
 /**
  * This class defines a set of tests for the
@@ -51,7 +51,7 @@
   /**
    * Performs any necessary initialization for this test case.
    */
-  @Configuration(beforeTestClass = true)
+  @BeforeClass
   public void setUp() {
     // Initialize the sets of ASN.1 elements that will be used in
     // testing the

--
Gitblit v1.10.0