mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 05:10:22 +07:00
[java] fix tests after changing PSI
GitOrigin-RevId: c2094a54f1c03cbed9327f9a4c25e30f9bd048e2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bf1ad063e7
commit
7e4a084c29
@@ -1 +0,0 @@
|
||||
text
|
||||
@@ -1 +0,0 @@
|
||||
text
|
||||
@@ -2,7 +2,7 @@ import java.util.*;
|
||||
class First {
|
||||
private void doFirst(List<String> param) {
|
||||
}
|
||||
}
|
||||
|
||||
private void doSecond() {
|
||||
doFirst(<caret>);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import java.util.*;
|
||||
class First {
|
||||
private void doFirst(List<String> param) {
|
||||
}
|
||||
}
|
||||
|
||||
private void doSecond() {
|
||||
do<caret>First();
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@ class LambdaTest implements ILambdaTest {
|
||||
else {
|
||||
return 42;
|
||||
}
|
||||
}
|
||||
};
|
||||
@Override
|
||||
public int getResult() {
|
||||
|
||||
@@ -10,7 +10,6 @@ class LambdaTest implements ILambdaTest {
|
||||
else {
|
||||
return 42;
|
||||
}
|
||||
}
|
||||
};
|
||||
@Override
|
||||
public int getResult() {
|
||||
|
||||
@@ -227,13 +227,6 @@ public class IntentionPreviewTest extends LightJavaCodeInsightFixtureTestCase {
|
||||
myFixture.checkIntentionPreviewHtml(action, "<p><icon src=\"file\"/> Test.java → <icon src=\"file\"/> Best.java</p>");
|
||||
}
|
||||
|
||||
public void testMoveMemberIntoClass() {
|
||||
myFixture.configureByText("Test.java", "public class Test {} void <caret>method() {}");
|
||||
IntentionAction action = myFixture.findSingleIntention("Move member into class");
|
||||
myFixture.checkIntentionPreviewHtml(action,
|
||||
"<p><icon src=\"source_method\"/> method → <icon src=\"target_Test\"/> Test</p>");
|
||||
}
|
||||
|
||||
public void testNavigate() {
|
||||
myFixture.configureByText("Test.java", "public class Test {} class <caret>Test {}");
|
||||
IntentionAction action = myFixture.findSingleIntention("Navigate to duplicate class");
|
||||
|
||||
Reference in New Issue
Block a user