X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fgofetch%2Ftest%2FTestSeptSurSept.java;fp=src%2Fbe%2Fnikiroo%2Fgofetch%2Ftest%2FTestSeptSurSept.java;h=7ecece48f7036b948eed4813bd1878eeaaa917dd;hb=9cf08a99ce4a796a2294fa1f14315aa16d97c3ce;hp=0000000000000000000000000000000000000000;hpb=c5850b2b4c929bf7fe77cc069ebfcc5c00ba9265;p=gofetch.git diff --git a/src/be/nikiroo/gofetch/test/TestSeptSurSept.java b/src/be/nikiroo/gofetch/test/TestSeptSurSept.java new file mode 100644 index 0000000..7ecece4 --- /dev/null +++ b/src/be/nikiroo/gofetch/test/TestSeptSurSept.java @@ -0,0 +1,29 @@ +package be.nikiroo.gofetch.test; + +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; + +import be.nikiroo.gofetch.support.SeptSurSept; +import be.nikiroo.gofetch.support.Type; + +public class TestSeptSurSept extends TestBase { + static private Type type = Type.SEPT_SUR_SEPT; + static private TestBase base = null; + + public TestSeptSurSept(String[] args) { + super(new SeptSurSept() { + @Override + protected InputStream open(URL url) throws IOException { + return base.download(url); + } + + @Override + public Type getType() { + return type; + } + }, args); + + base = this; + } +}