}
}
);
boolean success = true;
for (File demoFile : demoFiles) {
ProjectImporter importer = new ProjectImporter();
ProjectExporter exporter = new ProjectExporter();
//
// for xml compare, we leave the jhoveXML out. we don't compare it.
// it changes after import, because we call jhove when importing a plan
List<String> nodesToExclude = new ArrayList<String>();
nodesToExclude.add("//*[name()='jhoveXML']");
nodesToExclude.add("//*[name()='changelog']");
String logText = "";
try {
logText = "Test plan: " + demoFile.getAbsolutePath();
System.out.println(logText);
log.info(logText);
List<Plan> importedPlans = importer.importProjects(demoFile.getAbsolutePath());
assert importedPlans.size() == 1;
logText = " - organisation: "+ importedPlans.get(0).getPlanProperties().getOrganization();