private void moduleA(boolean includeNonShared) throws Exception {
String pathname = "test/ceylondoc";
String docname = "test/ceylondoc-doc";
String moduleName = "com.redhat.ceylon.ceylondoc.test.modules.single";
CeylonDocTool tool = tool(pathname, docname, moduleName, true);
tool.setIncludeNonShared(includeNonShared);
tool.setIncludeSourceCode(true);
tool.setHeader("<div class='navbar-inverse navbar-static-top'>" +
"<div class='navbar-inner' style='color:white; font-style: italic; text-align: center'>" +
"documentation under construction" +
"</div>" +
"</div>");
tool.setFooter("<p style='text-align: right;'>" +
"Copyright © 2010-2013, Red Hat, Inc. or third-party contributors" +
"</p>");
tool.run();
Module module = new Module();
module.setName(Arrays.asList(moduleName));
module.setVersion("3.1.4");