mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[tests] avoid accessing production internals in tests
GitOrigin-RevId: c4ebd88a18b666088d2b06405ee7cf699bf10563
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8c81c644b2
commit
c6c352c566
@@ -115,12 +115,11 @@ public class InspectionProfileTest extends LightIdeaTestCase {
|
||||
|
||||
public void testModificationWithoutModification() {
|
||||
InspectionProfileImpl profile = createProfile();
|
||||
profile.getAllTools();
|
||||
assertNotEmpty(profile.getAllTools());
|
||||
assertTrue(profile.wasInitialized());
|
||||
assertNotEmpty(profile.myTools.keySet());
|
||||
profile.modifyProfile(m -> {});
|
||||
assertTrue(profile.wasInitialized());
|
||||
assertNotEmpty(profile.myTools.keySet());
|
||||
assertNotEmpty(profile.getAllTools());
|
||||
}
|
||||
|
||||
public void testSameNameSharedProfile() {
|
||||
|
||||
Reference in New Issue
Block a user