Removing TribbleIndexedFeatureReader.isGZIPPath deprecated method #752
Merged
droazen
merged 1 commit into
samtools:master
from
magicDGS:dgs_remove_unused_isGZIPPath
Jan 10, 2017
Jump to file or symbol
Failed to load files and symbols.
| @@ -16,50 +16,6 @@ | ||
| public class TribbleIndexFeatureReaderTest { | ||
| - @DataProvider(name = "extensionURIStrings") | ||
| - public Object[][] createBlockCompressedExtensionURIs() { | ||
| - return new Object[][]{ | ||
| - {"testzip.gz", true}, | ||
| - {"testzip.GZ", true}, | ||
| - {"testzip.gZ", true}, | ||
| - {"testzip.Gz", true}, | ||
| - | ||
| - {"test", false}, | ||
| - {"test.gzip", false}, | ||
| - {"test.bgz", false}, | ||
| - {"test.bgzf", false}, | ||
| - {"test.bzip2", false}, | ||
| - | ||
| - {"file://testzip.gz", true}, | ||
| - {"file://apath/testzip.gz", true}, | ||
| - | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.gz", true}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.GZ", true}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.gzip", false}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.bgz", false}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.bgzf", false}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.bzip2", false}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877", false}, | ||
| - | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.gz?alt=media", true}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.GZ?alt=media", true}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.gzip?alt=media", false}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.bgz?alt=media", false}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.bgzf?alt=media", false}, | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.bzip2?alt=media", false}, | ||
| - | ||
| - {"ftp://ftp.broadinstitute.org/distribution/igv/TEST/cpgIslands.hg18.gz", true}, | ||
| - {"ftp://ftp.broadinstitute.org/distribution/igv/TEST/cpgIslands.hg18.bed", false}, | ||
| - | ||
| - {"https://www.googleapis.com/download/storage/v1/b/deflaux-public-test/o/NA12877.vcf.gz", true}, | ||
| - }; | ||
| - } | ||
| - | ||
| - @Test(enabled = true, dataProvider = "extensionURIStrings") | ||
| - public void testGZExtension(final String testString, final boolean expected) throws URISyntaxException { | ||
| - Assert.assertEquals(TribbleIndexedFeatureReader.isGZIPPath(testString), expected); | ||
| - } | ||
| - | ||
droazen
Contributor
|
||
| @DataProvider(name = "featureFileStrings") | ||
| public Object[][] createFeatureFileStrings() { | ||
| return new Object[][]{ | ||
Can we keep these tests, and alter them to test
hasBlockCompressedExtension(String)instead?