From: Jim Procter Date: Thu, 23 Oct 2014 16:23:16 +0000 (+0100) Subject: JAL-1521 test to check registry is returning sources X-Git-Tag: Release_2_8_2~2^2~1^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3916a52fe924323c7e8f9deac086d7cec14685c0;p=jalview.git JAL-1521 test to check registry is returning sources --- diff --git a/test/jalview/ws/seqfetcher/DasSequenceFetcher.java b/test/jalview/ws/seqfetcher/DasSequenceFetcher.java new file mode 100644 index 0000000..7f82252 --- /dev/null +++ b/test/jalview/ws/seqfetcher/DasSequenceFetcher.java @@ -0,0 +1,19 @@ +package jalview.ws.seqfetcher; + +import static org.junit.Assert.*; + +import org.junit.Test; + +public class DasSequenceFetcher +{ + + @Test + public void testDasRegistryContact() + { + jalview.bin.Cache.getDasSourceRegistry().refreshSources(); + assertTrue( + "Expected to find at least one DAS source at the registry. Check config.", + jalview.bin.Cache.getDasSourceRegistry().getSources().size() > 0); + } + +}