Remove old version of image test

This commit is contained in:
thorkarlsson 2018-10-30 14:12:30 +07:00
parent e9cabcf104
commit 0ea636d005
1 changed files with 0 additions and 13 deletions

View File

@ -155,19 +155,6 @@ public class SitemapGeneratorTest extends TestCase {
assertEquals(expected, sitemap);
}
public void testUrlWithImages() throws Exception {
W3CDateFormat df = new W3CDateFormat();
df.setTimeZone(W3CDateFormat.ZULU);
wsg = WebSitemapGenerator.builder("http://www.example.com", dir).dateFormat(df).autoValidate(true).build();
WebSitemapUrl url = new WebSitemapUrl.Options("http://www.example.com")
.build();
wsg.addUrl(url);
String sitemap = writeSingleSiteMap(wsg);
System.out.println(sitemap);
}
public void testBadUrl() throws Exception {
wsg = new WebSitemapGenerator("http://www.example.com", dir);
try {