[med-svn] [htsjdk] 04/08: skip more network tests
Olivier Sallou
osallou at debian.org
Tue Jan 5 15:44:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
osallou pushed a commit to branch master
in repository htsjdk.
commit 7a326a8785ccab80c8468ef726872e444aa9f58c
Author: Olivier Sallou <olivier.sallou at debian.org>
Date: Tue Jan 5 14:03:12 2016 +0100
skip more network tests
---
debian/patches/13-skip_network_tests | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/debian/patches/13-skip_network_tests b/debian/patches/13-skip_network_tests
index 0fa4151..bc1bd4b 100644
--- a/debian/patches/13-skip_network_tests
+++ b/debian/patches/13-skip_network_tests
@@ -53,3 +53,36 @@ Last-Updated: 2015-01-06
}
+--- a/src/tests/java/htsjdk/tribble/AbstractFeatureReaderTest.java
++++ b/src/tests/java/htsjdk/tribble/AbstractFeatureReaderTest.java
+@@ -21,30 +21,5 @@
+ final static String HTTP_INDEXED_VCF_PATH = "http://www.broadinstitute.org/~picard/testdata/ex2.vcf";
+ final static String LOCAL_MIRROR_HTTP_INDEXED_VCF_PATH = VariantBaseTest.variantTestDataRoot + "ex2.vcf";
+
+- /**
+- * Asserts readability and correctness of VCF over HTTP. The VCF is indexed and requires and index.
+- */
+- @Test
+- public void testVcfOverHTTP() throws IOException {
+- final VCFCodec codec = new VCFCodec();
+- final AbstractFeatureReader<VariantContext, LineIterator> featureReaderHttp =
+- AbstractFeatureReader.getFeatureReader(HTTP_INDEXED_VCF_PATH, codec, true); // Require an index to
+- final AbstractFeatureReader<VariantContext, LineIterator> featureReaderLocal =
+- AbstractFeatureReader.getFeatureReader(LOCAL_MIRROR_HTTP_INDEXED_VCF_PATH, codec, false);
+- final CloseableTribbleIterator<VariantContext> localIterator = featureReaderLocal.iterator();
+- for (final Feature feat : featureReaderHttp.iterator()) {
+- assertEquals(feat.toString(), localIterator.next().toString());
+- }
+- assertFalse(localIterator.hasNext());
+- }
+
+- @Test
+- public void testLoadBEDFTP() throws Exception {
+- final String path = "ftp://ftp.broadinstitute.org/distribution/igv/TEST/cpgIslands with spaces.hg18.bed";
+- final BEDCodec codec = new BEDCodec();
+- final AbstractFeatureReader<BEDFeature, LineIterator> bfs = AbstractFeatureReader.getFeatureReader(path, codec, false);
+- for (final Feature feat : bfs.iterator()) {
+- assertNotNull(feat);
+- }
+- }
+ }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/htsjdk.git
More information about the debian-med-commit
mailing list