testDOMs[i]= node;
}
try {
answerOutlinks = new Outlink[][]{
{
new Outlink("http://www.nutch.org", "anchor", conf),
},
{
new Outlink("http://www.nutch.org/", "home", conf),
new Outlink("http://www.nutch.org/docs/bot.html", "bots", conf),
},
{
new Outlink("http://www.nutch.org/", "separate this", conf),
new Outlink("http://www.nutch.org/docs/ok", "from this", conf),
},
{
new Outlink("http://www.nutch.org/", "home", conf),
new Outlink("http://www.nutch.org/docs/1", "1", conf),
new Outlink("http://www.nutch.org/docs/2", "2", conf),
},
{
new Outlink("http://www.nutch.org/frames/top.html", "", conf),
new Outlink("http://www.nutch.org/frames/left.html", "", conf),
new Outlink("http://www.nutch.org/frames/invalid.html", "", conf),
new Outlink("http://www.nutch.org/frames/right.html", "", conf),
},
{
new Outlink("http://www.nutch.org/maps/logo.gif", "", conf),
new Outlink("http://www.nutch.org/index.html", "", conf),
new Outlink("http://www.nutch.org/maps/#bottom", "", conf),
new Outlink("http://www.nutch.org/bot.html", "", conf),
new Outlink("http://www.nutch.org/docs/index.html", "", conf),
},
{
new Outlink("http://www.nutch.org/index.html", "whitespace test", conf),
},
{
},
{
new Outlink("http://www.nutch.org/dummy.jsp", "test2", conf),
},
{
},
{
new Outlink("http://www.nutch.org/;x", "anchor1", conf),
new Outlink("http://www.nutch.org/g;x", "anchor2", conf),
new Outlink("http://www.nutch.org/g;x?y#s", "anchor3", conf)
},
{
new Outlink("http://www.nutch.org/g;something", "anchor1", conf),
new Outlink("http://www.nutch.org/g;something?y#s", "anchor2", conf),
new Outlink("http://www.nutch.org/;something?y=1", "anchor3", conf),
new Outlink("http://www.nutch.org/;something?y=1#s", "anchor4", conf),
new Outlink("http://www.nutch.org/?y=1;somethingelse", "anchor5", conf)
}
};
} catch (MalformedURLException e) {