/** Check if the generated site is linked correctly. */ @Bug(3497) public void testSiteBuild() throws Exception { MavenModuleSet project = createSimpleProject(); project.setGoals("site"); buildAndAssertSuccess(project); // this should succeed HudsonTestCase.WebClient wc = new WebClient(); wc.getPage(project, "site"); wc.assertFails(project.getUrl() + "site/no-such-file", HttpURLConnection.HTTP_NOT_FOUND); }