Revision 5003
Added by daigle over 15 years ago
test/edu/ucsb/nceas/metacattest/SitemapTest.java | ||
---|---|---|
125 | 125 |
assertTrue(doc.indexOf(docid1) == -1); |
126 | 126 |
assertTrue(doc.indexOf(docid2) >= 0); |
127 | 127 |
assertTrue(doc.indexOf(docid3) == -1); |
128 |
} catch (FileNotFoundException e) { |
|
129 |
fail("Failed to read the sitemap file." + e.getMessage()); |
|
130 |
} catch (IOException ioe) { |
|
131 |
fail("Failed while reading sitemap file." + ioe.getMessage()); |
|
132 | 128 |
} catch (MetacatAuthException mae) { |
133 | 129 |
fail("Authorization failed:\n" + mae.getMessage()); |
134 | 130 |
} catch (MetacatInaccessibleException mie) { |
Also available in: Unified diff
Remove unneeded exception handling