Add support for 7sur7.be
[gofetch.git] / src / be / nikiroo / gofetch / test / TestSeptSurSept.java
CommitLineData
9cf08a99
NR
1package be.nikiroo.gofetch.test;
2
3import java.io.IOException;
4import java.io.InputStream;
5import java.net.URL;
6
7import be.nikiroo.gofetch.support.SeptSurSept;
8import be.nikiroo.gofetch.support.Type;
9
10public class TestSeptSurSept extends TestBase {
11 static private Type type = Type.SEPT_SUR_SEPT;
12 static private TestBase base = null;
13
14 public TestSeptSurSept(String[] args) {
15 super(new SeptSurSept() {
16 @Override
17 protected InputStream open(URL url) throws IOException {
18 return base.download(url);
19 }
20
21 @Override
22 public Type getType() {
23 return type;
24 }
25 }, args);
26
27 base = this;
28 }
29}