From e22e481ef1c404c5e619f64addbf921e763b7b7b Mon Sep 17 00:00:00 2001 From: pvtroshin Date: Wed, 2 Nov 2011 11:41:50 +0000 Subject: [PATCH] Assign a test to an appropriate test category git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@4704 e3abac25-378b-4346-85de-24260fe3988d --- testsrc/compbio/data/msa/CategoryTester.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/testsrc/compbio/data/msa/CategoryTester.java b/testsrc/compbio/data/msa/CategoryTester.java index 24abf13..575ac16 100644 --- a/testsrc/compbio/data/msa/CategoryTester.java +++ b/testsrc/compbio/data/msa/CategoryTester.java @@ -9,6 +9,7 @@ import org.testng.Assert; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; +import compbio.metadata.AllTestSuit; import compbio.ws.client.Jws2Client; import compbio.ws.client.Services; @@ -17,7 +18,7 @@ public class CategoryTester { // test category membership from string constants compbio.data.msa.RegistryWS registry = null; - @BeforeTest + @BeforeTest(groups = AllTestSuit.test_group_webservices) public void setupTest() { try { /* @@ -35,7 +36,12 @@ public class CategoryTester { } } - @Test + + /* + * This test will FAIL unless a connection to a running JABAWS web server is + * made! + */ + @Test(groups = AllTestSuit.test_group_webservices) public void categoryTest() { Set servicecategories = registry.getServiceCategories(); -- 1.7.10.2