From 8433f75014868727a42b117b9eb869e6dffd1522 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Tue, 17 Oct 2006 20:48:05 +0000
Subject: [PATCH] Fixed Issue 817. Replaced the call to assert by the static method, org.testng.Assert.assertEquals(int,int).

---
 opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java
index 1c427c6..644b429 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSIntegrationTests.java
@@ -30,6 +30,7 @@
 import org.opends.server.OpenDSMgr;
 import org.opends.server.tools.StopDS;
 import org.opends.server.tools.LDAPSearch;
+import org.testng.Assert.*;
 
 /**
  * This class defines an abstract test case that should be subclassed by all
@@ -96,7 +97,7 @@
       if (retCode == 999)
 	System.out.println("OpenDS could not restart");
       // throw a fail in the testng framework
-      assert retCode==expCode;
+      org.testng.Assert.assertEquals(retCode,expCode);
     }
   }
 

--
Gitblit v1.10.0