Compare constructed descriptors in diagnostics tests

This commit is contained in:
Nikolay Krasko
2014-09-16 15:23:29 +04:00
parent 2a9005b466
commit de61456725
9 changed files with 260 additions and 105 deletions
@@ -97,6 +97,12 @@ public class CliLightClassGenerationSupport extends LightClassGenerationSupport
return module;
}
@TestOnly
@Nullable
public ModuleDescriptorImpl getLightClassModule() {
return module;
}
@TestOnly
public void setModule(@NotNull ModuleDescriptorImpl module) {
assert this.module == null : "module already configured: " + module;