Revision 3567
Added by Jing Tao over 16 years ago
InlineDataAccessTest.java | ||
---|---|---|
1319 | 1319 |
fail("Metacat Inaccessible:\n" + mie.getMessage()); |
1320 | 1320 |
} |
1321 | 1321 |
catch (InsufficientKarmaException ike) { |
1322 |
if (!expextedKarmaFailure) {
|
|
1323 |
fail("Insufficient karma:\n" + ike.getMessage());
|
|
1322 |
if (result) {
|
|
1323 |
fail("Metacat Error:\n" + ike.getMessage());
|
|
1324 | 1324 |
} |
1325 |
else { |
|
1326 |
System.out.println("Metacat Error:\n" + ike.getMessage()); |
|
1327 |
} |
|
1325 | 1328 |
} |
1326 | 1329 |
catch (MetacatException me) { |
1327 | 1330 |
if (result) { |
Also available in: Unified diff
Add code to initialize Options and some code clean up