public void Test1() { Initializer initializer = new Initializer("", constraints, categories); Queue<Url> queue = new Queue<Url>(); ResourceContent resource = new ResourceContent("www.nana10.co.il", ResourceType.HtmlResource, getFileContent("nana10.txt"), 200, 0); HtmlPageCategorizationProcessor processor = new HtmlPageCategorizationProcessor(initializer,queue); processor.process(resource); }
public void Test1() { Initializer initializer = new Initializer("", constraints, categories); Queue <Url> queue = new Queue <Url>(); ResourceContent resource = new ResourceContent("www.nana10.co.il", ResourceType.HtmlResource, getFileContent("nana10.txt"), 200, 0); HtmlPageCategorizationProcessor processor = new HtmlPageCategorizationProcessor(initializer, queue); processor.process(resource); }