annotate test with appropriate groups
[jabaws.git] / testsrc / compbio / runner / conservation / AAConTester.java
index 1dc0b77..353509a 100644 (file)
@@ -52,6 +52,7 @@ import compbio.engine.cluster.drmaa.ClusterUtil;
 import compbio.engine.cluster.drmaa.JobRunner;\r
 import compbio.engine.cluster.drmaa.StatisticManager;\r
 import compbio.engine.local.LocalRunner;\r
+import compbio.metadata.AllTestSuit;\r
 import compbio.metadata.ChunkHolder;\r
 import compbio.metadata.JobExecutionException;\r
 import compbio.metadata.JobStatus;\r
@@ -81,7 +82,7 @@ public class AAConTester {
                aacon.setInput(test_alignment_input).setOutput(test_outfile);\r
        }\r
 \r
-       @Test()\r
+       @Test(groups = {AllTestSuit.test_group_runner})\r
        public void testRunOnCluster() {\r
                assertFalse(SysPrefs.isWindows,\r
                                "Cluster execution can only be in unix environment");\r
@@ -137,7 +138,7 @@ public class AAConTester {
         * This tests fails from time to time depending on the cluster load or some\r
         * other factors. Any client code has to adjust for this issue\r
         */\r
-       @Test()\r
+       @Test(groups = {AllTestSuit.test_group_runner, AllTestSuit.test_group_cluster})\r
        public void testRunOnClusterAsync() {\r
                assertFalse(SysPrefs.isWindows,\r
                                "Cluster execution can only be in unix environment");\r
@@ -178,7 +179,7 @@ public class AAConTester {
                }\r
        }\r
 \r
-       @Test()\r
+       @Test(groups = {AllTestSuit.test_group_runner})\r
        public void testRunLocally() {\r
                try {\r
                        ConfiguredExecutable<AACon> confAAcon = Configurator\r
@@ -205,7 +206,7 @@ public class AAConTester {
                }\r
        }\r
 \r
-       @Test()\r
+       @Test(groups = {AllTestSuit.test_group_runner})\r
        public void testRunLocallyWithPreset() {\r
                try {\r
                        PresetManager<AACon> aaconPresets = Util.getPresets(AACon.class);\r
@@ -236,7 +237,7 @@ public class AAConTester {
                }\r
        }\r
 \r
-       @Test()\r
+       @Test(groups = {AllTestSuit.test_group_runner})\r
        public void testRunLocallyOnTwoCpu() {\r
                try {\r
                        aacon = new AACon();\r
@@ -269,7 +270,8 @@ public class AAConTester {
                        fail(e.getLocalizedMessage());\r
                }\r
        }\r
-       @Test()\r
+       \r
+       @Test(groups = {AllTestSuit.test_group_runner})\r
        public void readStatistics() {\r
                try {\r
                        ConfiguredExecutable<AACon> confAAcon = Configurator\r
@@ -319,7 +321,7 @@ public class AAConTester {
                }\r
        }\r
 \r
-       @Test()\r
+       @Test(groups = {AllTestSuit.test_group_runner})\r
        public void testPersistance() {\r
                try {\r
                        AACon aacon = new AACon();\r
@@ -387,7 +389,7 @@ public class AAConTester {
                }\r
        }\r
 \r
-       @Test()\r
+       @Test(groups = {AllTestSuit.test_group_runner})\r
        public void testConfigurationLoading() {\r
                try {\r
                        RunnerConfig<AACon> aaconConfig = ConfExecutable\r