JAL-1270 JUnit to TestNG refactoring
[jalview.git] / test / jalview / ws / jabaws / MinJabawsClientTests.java
index 0c25cdb..244ee4f 100644 (file)
@@ -1,13 +1,11 @@
 package jalview.ws.jabaws;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-
+import static org.testng.AssertJUnit.assertEquals;
+import org.testng.annotations.Test;
+import org.testng.Assert;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.junit.Test;
-
 import compbio.data.msa.MsaWS;
 import compbio.data.msa.RegistryWS;
 import compbio.data.sequence.FastaSequence;
@@ -39,7 +37,7 @@ public class MinJabawsClientTests {
                                }
                        }
                        if (msaservice == null) {
-                               fail("couldn't find a clustalO service on the public registry");
+                               Assert.fail("couldn't find a clustalO service on the public registry");
                        }
                        FastaSequence fsq = new FastaSequence("seqA",
                                        "SESESESESESESESSESESSESESESESESESESESESEEEEEESSESESESESSSSESESESESESESE");