com.crawljax.crawltests.SimpleJsSiteCrawl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crawljax-test-utils Show documentation
Show all versions of crawljax-test-utils Show documentation
This artifact offers Crawljax plugin developers a convenient way to test their plugins by offering several default sites with known/expected output.
package com.crawljax.crawltests;
import org.eclipse.jetty.util.resource.Resource;
import com.crawljax.test.BaseCrawler;
/**
* Wraps a Crawljax instance the crawls the simplesite.
*/
public class SimpleJsSiteCrawl extends BaseCrawler {
public static final int NUMBER_OF_STATES = 11;
public static final int NUMBER_OF_EDGES = 10;
public SimpleJsSiteCrawl() {
super(Resource.newClassPathResource("sites"), "simple-js-site");
}
}