git://source.jalview.org
/
jabaws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Assign a test to an appropriate test category
[jabaws.git]
/
testsrc
/
compbio
/
data
/
msa
/
CategoryTester.java
diff --git
a/testsrc/compbio/data/msa/CategoryTester.java
b/testsrc/compbio/data/msa/CategoryTester.java
index
24abf13
..
575ac16
100644
(file)
--- 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;
\r
import org.testng.annotations.Test;
\r
\r
import org.testng.annotations.BeforeTest;
\r
import org.testng.annotations.Test;
\r
\r
+import compbio.metadata.AllTestSuit;
\r
import compbio.ws.client.Jws2Client;
\r
import compbio.ws.client.Services;
\r
\r
import compbio.ws.client.Jws2Client;
\r
import compbio.ws.client.Services;
\r
\r
@@
-17,7
+18,7
@@
public class CategoryTester {
// test category membership from string constants
\r
compbio.data.msa.RegistryWS registry = null;
\r
\r
// test category membership from string constants
\r
compbio.data.msa.RegistryWS registry = null;
\r
\r
- @BeforeTest
\r
+ @BeforeTest(groups = AllTestSuit.test_group_webservices)
\r
public void setupTest() {
\r
try {
\r
/*
\r
public void setupTest() {
\r
try {
\r
/*
\r
@@
-35,7
+36,12
@@
public class CategoryTester {
}
\r
\r
}
\r
}
\r
\r
}
\r
- @Test
\r
+
\r
+ /*
\r
+ * This test will FAIL unless a connection to a running JABAWS web server is
\r
+ * made!
\r
+ */
\r
+ @Test(groups = AllTestSuit.test_group_webservices)
\r
public void categoryTest() {
\r
Set<Category> servicecategories = registry.getServiceCategories();
\r
\r
public void categoryTest() {
\r
Set<Category> servicecategories = registry.getServiceCategories();
\r
\r