JAL-1925 update source version in license
[jalview.git] / test / jalview / schemes / ScoreMatrixPrinter.java
index d058c24..f0265c9 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -24,29 +24,31 @@ import jalview.api.analysis.ScoreModelI;
 
 import java.util.Map;
 
-import org.junit.Test;
+import org.testng.annotations.Test;
 
-
-public class ScoreMatrixPrinter 
+public class ScoreMatrixPrinter
 {
-  @Test
+  @Test(groups = { "Functional" })
   public void printAllMatrices()
   {
-    for (Map.Entry<String,ScoreModelI> sm: ResidueProperties.scoreMatrices.entrySet())
+    for (Map.Entry<String, ScoreModelI> sm : ResidueProperties.scoreMatrices
+            .entrySet())
     {
-      System.out.println("Matrix "+sm.getKey());
+      System.out.println("Matrix " + sm.getKey());
       System.out.println(sm.getValue().toString());
     }
   }
-  @Test
+
+  @Test(groups = { "Functional" })
   public void printHTMLMatrices()
   {
-    for (Map.Entry<String,ScoreModelI> _sm: ResidueProperties.scoreMatrices.entrySet())
+    for (Map.Entry<String, ScoreModelI> _sm : ResidueProperties.scoreMatrices
+            .entrySet())
     {
       if (_sm.getValue() instanceof ScoreMatrix)
       {
         ScoreMatrix sm = (ScoreMatrix) _sm.getValue();
-        System.out.println("Matrix "+_sm.getKey());
+        System.out.println("Matrix " + _sm.getKey());
         System.out.println(sm.outputMatrix(true));
       }
     }