Revision 7451ea0f
Added by Andreas Müller almost 2 years ago
cdmlib-commons/src/test/java/eu/etaxonomy/cdm/common/UriUtilsTest.java | ||
---|---|---|
53 | 53 |
} |
54 | 54 |
|
55 | 55 |
@Test |
56 |
public void testGetResourceLengthNull2() throws ClientProtocolException, IOException, HttpException{
|
|
56 |
public void testGetResourceLengthNull2(){ |
|
57 | 57 |
if(UriUtils.isInternetAvailable(null)){ |
58 | 58 |
try { |
59 | 59 |
@SuppressWarnings("unused") |
... | ... | |
61 | 61 |
System.out.println(" sdf"); |
62 | 62 |
// Assert.assertEquals(9143, UriUtils.getResourceLength(uri, null)); |
63 | 63 |
} catch (URISyntaxException e) { |
64 |
// TODO Auto-generated catch block |
|
65 |
e.printStackTrace(); |
|
64 |
Assert.fail(); |
|
66 | 65 |
} |
67 | 66 |
|
68 | 67 |
} else { |
Also available in: Unified diff
cleanup