summaryrefslogtreecommitdiff
path: root/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2014-09-04 13:25:33 -0700
committerTor Norbye <tnorbye@google.com>2014-09-04 13:25:33 -0700
commitd245f58efbfc26b13b9b9d5e52e6a83a0d76216c (patch)
treebca7d49005d81d10c70bc3f547df041c636b4300 /java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java
parent9cde0e3c015174898df8b8f3672185941fad4786 (diff)
parentc3d3a90f6b4ead083d63e28e6b9fcea93d675678 (diff)
downloadidea-d245f58efbfc26b13b9b9d5e52e6a83a0d76216c.tar.gz
Merge remote-tracking branch 'aosp/upstream-master' into merge
Diffstat (limited to 'java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java')
-rw-r--r--java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java
index 9ca3b6084a43..37aa8852136b 100644
--- a/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java
+++ b/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java
@@ -74,6 +74,22 @@ public class JavaTypingTest extends LightPlatformCodeInsightFixtureTestCase {
myFixture.checkResultByFile(getTestName(true) + "_after.java");
}
+ public void testFixIfByBrace() {
+ doTest('{');
+ }
+
+ public void testFixIfByBraceNewObject() {
+ doTest('{');
+ }
+
+ public void testFixIfByBraceCompositeCondition() {
+ doTest('{');
+ }
+
+ public void testFixWhileByBrace() {
+ doTest('{');
+ }
+
private void doTest(char c) {
myFixture.configureByFile(getTestName(true) + "_before.java");
myFixture.type(c);