JAL-1805 test envirionment separation
[jalview.git] / test / jalview / util / StringUtilsTest.java
index 7442530..e8de3bd 100644 (file)
@@ -11,7 +11,7 @@ import org.testng.annotations.Test;
 public class StringUtilsTest
 {
 
-  @Test
+  @Test(groups ={ "Functional" })
   public void testInsertCharAt()
   {
     char[] c1 = "ABC".toCharArray();
@@ -31,7 +31,7 @@ public class StringUtilsTest
             StringUtils.insertCharAt(c1, 7, 2, 'w')));
   }
 
-  @Test
+  @Test(groups ={ "Functional" })
   public void testDeleteChars()
   {
     char[] c1 = "ABC".toCharArray();
@@ -56,7 +56,7 @@ public class StringUtilsTest
     assertTrue(Arrays.equals(c1, StringUtils.deleteChars(c1, 3, 4)));
   }
 
-  @Test
+  @Test(groups ={ "Functional" })
   public void testGetLastToken()
   {
     assertNull(StringUtils.getLastToken(null, null));
@@ -69,7 +69,7 @@ public class StringUtilsTest
             "file://localhost:8080/data/examples/file1.dat", "/"));
   }
 
-  @Test
+  @Test(groups ={ "Functional" })
   public void testSeparatorListToArray()
   {
     String[] result = StringUtils.separatorListToArray(
@@ -90,7 +90,7 @@ public class StringUtilsTest
             .separatorListToArray("abc='|'d|ef|g", "|")));
   }
 
-  @Test
+  @Test(groups ={ "Functional" })
   public void testArrayToSeparatorList()
   {
     assertEquals("*", StringUtils.arrayToSeparatorList(null, "*"));