Fixed Issue 817.
Replaced the call to assert by the static method, org.testng.Assert.assertEquals(int,int).
| | |
| | | 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 |
| | |
| | | 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); |
| | | } |
| | | } |
| | | |