* contained within app.
* @throws Exception
*/
@Test
public void test_AnalyseWebApplicationWithNoCustomModules() throws Exception {
FileServer fs = FileServer.spawn(testPort, "sample_apps/amd/local_dtk_with_only_dtk_reqs");
HttpResponse response = generateHTMLFormPost("url", validWebAddress);
assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode());
Map<String, Object> jsonResponse = extractJsonFromHTMLEncodedResponse(response);
compareUnsortedModuleLists(Arrays.asList("dojo.parser", "dijit.form.Button", "dojox.grid.EnhancedGrid"),
(List<String>) jsonResponse.get("requiredDojoModules"));
assertEquals(Collections.EMPTY_LIST, (List<String>) jsonResponse.get("availableModules"));
assertEquals(Collections.EMPTY_LIST, (List) jsonResponse.get("packages"));
fs.stop();
}