597e761a328161cfdda66becfbb247f5fe96f71e
1 package be
.nikiroo
.gofetch
.test
;
4 import java
.io
.IOException
;
5 import java
.io
.InputStream
;
6 import java
.net
.MalformedURLException
;
8 import java
.util
.HashMap
;
11 import be
.nikiroo
.gofetch
.support
.LWN
;
12 import be
.nikiroo
.gofetch
.support
.Type
;
14 public class TestLWN
extends TestBase
{
16 static private Map
<URL
, File
> getMap() throws MalformedURLException
{
17 Map
<URL
, File
> map
= new HashMap
<URL
, File
>();
18 map
.put(new URL("http://fanfan.be/"), new File("/tmp/none"));
22 public TestLWN(String
[] args
) {
25 protected InputStream
open(URL url
) throws IOException
{
26 return doOpen(getMap(), url
);
30 public Type
getType() {