mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix tests and names after mod count changes (IDEA-CR-21897)
This commit is contained in:
@@ -472,7 +472,7 @@ public class PsiModificationTrackerTest extends CodeInsightTestCase {
|
||||
assertEquals(mc, tracker.getModificationCount());
|
||||
}
|
||||
|
||||
public void testJavaStructureModCountNotAdvancedOnJavadocChange() {
|
||||
public void testJavaStructureModCountMustNotBeAdvancedOnJavadocChange() {
|
||||
configureByText(JavaFileType.INSTANCE, "/* <selection>abc</selection> */ class A{}");
|
||||
|
||||
PsiModificationTracker tracker = PsiManager.getInstance(getProject()).getModificationTracker();
|
||||
@@ -485,7 +485,7 @@ public class PsiModificationTrackerTest extends CodeInsightTestCase {
|
||||
assertFalse(codeBlockCount == tracker.getOutOfCodeBlockModificationCount());
|
||||
}
|
||||
|
||||
public void testJavaStructureModCountNotAdvancedOnAddingSpace() {
|
||||
public void testJavaStructureModCountMustNotBeAdvancedOnAddingSpace() {
|
||||
configureByText(JavaFileType.INSTANCE, "class A{ <selection></selection> }");
|
||||
|
||||
PsiModificationTracker tracker = PsiManager.getInstance(getProject()).getModificationTracker();
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ class A {
|
||||
}
|
||||
|
||||
void 'test script variable'() {
|
||||
doTest 'def a<caret>= 1', true
|
||||
doTest 'def a<caret>= 1', false, true
|
||||
}
|
||||
|
||||
void doTest(String text, boolean structureShouldChange, boolean oocbShouldChange = structureShouldChange) {
|
||||
|
||||
Reference in New Issue
Block a user