Revision 9537
Added by Jing Tao about 8 years ago
MetaCatServletTest.java | ||
---|---|---|
110 | 110 |
|
111 | 111 |
TestSuite suite = new TestSuite(); |
112 | 112 |
suite.addTest(new MetaCatServletTest("initialize")); |
113 |
suite.addTest(new MetaCatServletTest("testLterReferralLogin")); |
|
114 |
suite.addTest(new MetaCatServletTest("testLterReferralLoginFail")); |
|
113 |
//suite.addTest(new MetaCatServletTest("testLterReferralLogin"));
|
|
114 |
//suite.addTest(new MetaCatServletTest("testLterReferralLoginFail"));
|
|
115 | 115 |
suite.addTest(new MetaCatServletTest("testOtherReferralLogin")); |
116 | 116 |
suite.addTest(new MetaCatServletTest("testOtherReferralLoginFail")); |
117 | 117 |
suite.addTest(new MetaCatServletTest("testNCEASLoginFail")); |
... | ... | |
194 | 194 |
/** |
195 | 195 |
* Test the login to lter succesfully |
196 | 196 |
*/ |
197 |
public void testLterReferralLogin() { |
|
197 |
/*public void testLterReferralLogin() {
|
|
198 | 198 |
debug("\nRunning: testLterReferralLogin test"); |
199 | 199 |
String user = null; |
200 | 200 |
String passwd = null; |
... | ... | |
210 | 210 |
this.testLogOut(); |
211 | 211 |
|
212 | 212 |
|
213 |
} |
|
213 |
}*/
|
|
214 | 214 |
|
215 | 215 |
/** |
216 | 216 |
* Test the login to lter failed |
217 | 217 |
*/ |
218 |
public void testLterReferralLoginFail() { |
|
218 |
/*public void testLterReferralLoginFail() {
|
|
219 | 219 |
debug("\nRunning: testLterReferralLoginFail test"); |
220 | 220 |
String user = null; |
221 | 221 |
String passwd = "wrong"; |
... | ... | |
228 | 228 |
// assertTrue( withProtocol.getProtocol().equals("http")); |
229 | 229 |
this.testLogOut(); |
230 | 230 |
|
231 |
} |
|
231 |
}*/
|
|
232 | 232 |
|
233 | 233 |
/** |
234 | 234 |
* Test the login to Other succesfully |
Also available in: Unified diff
1. Set knb to version 2.
2. Centralize the lter tests into one class.