git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into update_212_Dec_merge_with_21125_chamges
[jalview.git]
/
test
/
jalview
/
ws
/
utils
/
UrlDownloadClientTest.java
diff --git
a/test/jalview/ws/utils/UrlDownloadClientTest.java
b/test/jalview/ws/utils/UrlDownloadClientTest.java
index
3a24661
..
be8cee4
100644
(file)
--- a/
test/jalview/ws/utils/UrlDownloadClientTest.java
+++ b/
test/jalview/ws/utils/UrlDownloadClientTest.java
@@
-36,7
+36,8
@@
public class UrlDownloadClientTest
public void UrlDownloadTest()
{
UrlDownloadClient client = new UrlDownloadClient();
public void UrlDownloadTest()
{
UrlDownloadClient client = new UrlDownloadClient();
- String urlstring = "http://identifiers.org/rest/collections/";
+ String urlstring = "http://www.jalview.org/services/identifiers";
+ // was "http://identifiers.org/rest/collections/";
String outfile = "testfile.tmp";
try
String outfile = "testfile.tmp";
try
@@
-59,12
+60,14
@@
public class UrlDownloadClientTest
// download file has a believable size
// identifiers.org file typically at least 250K
// download file has a believable size
// identifiers.org file typically at least 250K
- Assert.assertTrue(f.length() > 250000);
-
+ long n = f.length();
if (f.exists())
{
f.delete();
}
if (f.exists())
{
f.delete();
}
+ // 74589
+ Assert.assertTrue(n > 70000);
+
}
}