Revision 3677
Added by ben leinfelder almost 17 years ago
test/edu/ucsb/nceas/metacat/clientview/ClientViewHelperTest.java | ||
---|---|---|
89 | 89 |
|
90 | 90 |
result = instance.handleClientRequest(null); |
91 | 91 |
returnResultTxt = (String) result.get("message"); |
92 |
assertTrue("Login: Failed to login", returnResultTxt.contains("Authentication successful for user:"));
|
|
92 |
assertTrue("Login: Failed to login", (returnResultTxt.indexOf("Authentication successful for user:") > -1));
|
|
93 | 93 |
System.out.println(" ...success!"); |
94 | 94 |
|
95 | 95 |
|
Also available in: Unified diff
made java 1.4 compliant