package us.codecraft.webmagic.downloader;

import org.junit.Test;
import us.codecraft.webmagic.Spider;

/**
 * @author code4crafter@gmail.com <br>
 */
public class FileCacheTest {

//    @Ignore("takes long")
    @Test
    public void test() {
        FileCache fileCache = new FileCache("http://my.oschina.net/flashsword/blog", "http://my.oschina.net/flashsword/blog/*");
        Spider.create(fileCache).downloader(fileCache).pipeline(fileCache).run();
    }
}

@@ -36,16 +36,41 @@
 oader;%0A%0A
+import org.junit.Ignore;%0A
 import o
@@ -199,18 +199,16 @@
 Test %7B%0A%0A
-//
     @Ign

update ignore test