use of org.jetbrains.idea.maven.utils.MavenSettings in project intellij-community by JetBrains.
the class MavenSettingsTest method testNotModifiedAfterCreation.
public void testNotModifiedAfterCreation() throws Exception {
MavenSettings s = new MavenSettings(myProject);
s.createComponent();
s.reset();
try {
assertFalse(s.isModified());
} finally {
//prevent memory leaks
s.disposeUIResources();
}
for (Configurable each : s.getConfigurables()) {
each.createComponent();
each.reset();
try {
assertFalse(each.isModified());
} finally {
//prevent memory leaks
each.disposeUIResources();
}
}
}
Aggregations