protected void assertDeleted(String... paths) {
myLogger.assertDeleted(new File[]{myProjectDir, myDataStorageRoot}, paths);
}
protected BuildResult doBuild(ProjectDescriptor descriptor, CompileScopeTestBuilder scopeBuilder) {
IncProjectBuilder builder = new IncProjectBuilder(descriptor, BuilderRegistry.getInstance(), myBuildParams, CanceledStatus.NULL, null, true);
BuildResult result = new BuildResult();
builder.addMessageHandler(result);
try {
builder.build(scopeBuilder.build(), false);
}
catch (RebuildRequestedException e) {
throw new RuntimeException(e);
}
return result;