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

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Long.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Long.java
index ac5e44b..ebae763 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Long.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Long.java
@@ -32,8 +32,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
@@ -49,7 +49,7 @@
   /**
    * Performs any necessary initialization for this test case.
    */
-  @Configuration(beforeTestClass = true)
+  @BeforeClass
   public void setUp() {
     testLongs = new ArrayList<Long>();
     testEncodedLongs = new ArrayList<byte[]>();

--
Gitblit v1.10.0