JAL-1782 JAL-1780 JAL-653 JAL-1892 update patched refactored test suite with TestNG
authorJim Procter <jprocter@issues.jalview.org>
Tue, 23 Jun 2015 08:48:13 +0000 (09:48 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 23 Jun 2015 08:48:13 +0000 (09:48 +0100)
1  2 
test/jalview/analysis/AlignmentUtilsTests.java
test/jalview/datamodel/AlignmentTest.java
test/jalview/io/JSONFileTest.java
test/jalview/io/PhylipFileTests.java
test/jalview/io/RNAMLfileTest.java
test/jalview/io/StockholmFileTest.java
test/jalview/util/MappingUtilsTest.java

   */
  package jalview.analysis;
  
- import static org.junit.Assert.assertEquals;
- import static org.junit.Assert.assertFalse;
- import static org.junit.Assert.assertNull;
- import static org.junit.Assert.assertSame;
- import static org.junit.Assert.assertTrue;
++
+ import static org.testng.AssertJUnit.assertEquals;
+ import static org.testng.AssertJUnit.assertFalse;
+ import static org.testng.AssertJUnit.assertNull;
+ import static org.testng.AssertJUnit.assertSame;
+ import static org.testng.AssertJUnit.assertTrue;
  import jalview.datamodel.AlignedCodonFrame;
  import jalview.datamodel.Alignment;
  import jalview.datamodel.AlignmentAnnotation;
@@@ -1,7 -1,9 +1,8 @@@
  package jalview.io;
  
  
- import static org.junit.Assert.assertNotNull;
+ import static org.testng.AssertJUnit.assertNotNull;
 -import jalview.datamodel.Alignment;
  import jalview.datamodel.AlignmentAnnotation;
  import jalview.datamodel.AlignmentI;
  import jalview.datamodel.Annotation;
@@@ -1,8 -1,9 +1,9 @@@
  package jalview.io;
  
- import static org.junit.Assert.assertNotNull;
- import static org.junit.Assert.assertTrue;
+ import static org.testng.AssertJUnit.assertNotNull;
+ import static org.testng.AssertJUnit.assertTrue;
 -import jalview.datamodel.Alignment;
 +import jalview.datamodel.AlignmentI;
  import jalview.datamodel.SequenceI;
  
  import java.io.IOException;
Simple merge
   */
  package jalview.io;
  
- import static org.junit.Assert.assertEquals;
- import static org.junit.Assert.assertNotNull;
- import static org.junit.Assert.assertTrue;
+ import static org.testng.AssertJUnit.assertEquals;
+ import static org.testng.AssertJUnit.assertNotNull;
+ import static org.testng.AssertJUnit.assertTrue;
 -import jalview.datamodel.Alignment;
  import jalview.datamodel.AlignmentAnnotation;
  import jalview.datamodel.AlignmentI;
  import jalview.datamodel.Annotation;
@@@ -1,10 -1,12 +1,12 @@@
  package jalview.util;
  
- import static org.junit.Assert.assertEquals;
- import static org.junit.Assert.assertSame;
- import static org.junit.Assert.assertTrue;
++
+ import static org.testng.AssertJUnit.assertEquals;
+ import static org.testng.AssertJUnit.assertSame;
+ import static org.testng.AssertJUnit.assertTrue;
  import jalview.api.AlignViewportI;
  import jalview.datamodel.AlignedCodonFrame;
 -import jalview.datamodel.Alignment;
  import jalview.datamodel.AlignmentI;
  import jalview.datamodel.ColumnSelection;
  import jalview.datamodel.SearchResults;