Revision 6095
Added by Matt Jones over 13 years ago
test/edu/ucsb/nceas/metacattest/restservice/MetacatRestClientTest.java | ||
---|---|---|
48 | 48 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
49 | 49 |
|
50 | 50 |
/** |
51 |
* A JUnit test for testing Step class processing |
|
51 |
* A JUnit test for testing Step class processing. |
|
52 |
* |
|
53 |
* This test is deprecated because the associated RestClient will be removed. |
|
52 | 54 |
*/ |
55 |
@Deprecated |
|
53 | 56 |
public class MetacatRestClientTest extends MCTestCase{ |
54 | 57 |
protected static String contextUrl; |
55 | 58 |
static { |
... | ... | |
102 | 105 |
{ |
103 | 106 |
TestSuite suite = new TestSuite(); |
104 | 107 |
suite.addTest(new MetacatRestClientTest("initialize")); |
105 |
suite.addTest(new MetacatRestClientTest("invalidLogin")); |
|
106 |
suite.addTest(new MetacatRestClientTest("login")); |
|
107 |
suite.addTest(new MetacatRestClientTest("logout")); |
|
108 |
suite.addTest(new MetacatRestClientTest("get")); |
|
109 |
suite.addTest(new MetacatRestClientTest("invalidGet")); |
|
110 |
suite.addTest(new MetacatRestClientTest("getPrivate")); |
|
111 |
suite.addTest(new MetacatRestClientTest("authenticatedGet")); |
|
112 |
suite.addTest(new MetacatRestClientTest("query")); |
|
113 |
suite.addTest(new MetacatRestClientTest("authenticatedQuery")); |
|
114 |
suite.addTest(new MetacatRestClientTest("crud")); |
|
115 |
suite.addTest(new MetacatRestClientTest("delete")); |
|
116 |
suite.addTest(new MetacatRestClientTest("getNextObject")); |
|
117 |
suite.addTest(new MetacatRestClientTest("getNextRevision")); |
|
118 |
suite.addTest(new MetacatRestClientTest("getAllDocids")); |
|
119 |
suite.addTest(new MetacatRestClientTest("isRegistered")); |
|
120 |
suite.addTest(new MetacatRestClientTest("addLSID")); |
|
108 |
|
|
109 |
// Commented out tests because these servlets are no longer configured in metacat |
|
110 |
// so they all need to be removed along with MetacatRestClient |
|
111 |
// suite.addTest(new MetacatRestClientTest("invalidLogin")); |
|
112 |
// suite.addTest(new MetacatRestClientTest("login")); |
|
113 |
// suite.addTest(new MetacatRestClientTest("logout")); |
|
114 |
// suite.addTest(new MetacatRestClientTest("get")); |
|
115 |
// suite.addTest(new MetacatRestClientTest("invalidGet")); |
|
116 |
// suite.addTest(new MetacatRestClientTest("getPrivate")); |
|
117 |
// suite.addTest(new MetacatRestClientTest("authenticatedGet")); |
|
118 |
// suite.addTest(new MetacatRestClientTest("query")); |
|
119 |
// suite.addTest(new MetacatRestClientTest("authenticatedQuery")); |
|
120 |
// suite.addTest(new MetacatRestClientTest("crud")); |
|
121 |
// suite.addTest(new MetacatRestClientTest("delete")); |
|
122 |
// suite.addTest(new MetacatRestClientTest("getNextObject")); |
|
123 |
// suite.addTest(new MetacatRestClientTest("getNextRevision")); |
|
124 |
// suite.addTest(new MetacatRestClientTest("getAllDocids")); |
|
125 |
// suite.addTest(new MetacatRestClientTest("isRegistered")); |
|
126 |
// suite.addTest(new MetacatRestClientTest("addLSID")); |
|
121 | 127 |
return suite; |
122 | 128 |
} |
123 | 129 |
|
Also available in: Unified diff
Commenting out these MetacatRestClient tests because the Metacat RestService is no longer registered as a servlet and needs to be removed, along with the associated MetacatRestClient and tests.