debugging JavaAutoPopupTest
authorpeter <peter@jetbrains.com>
Thu, 12 Feb 2015 17:04:51 +0000 (18:04 +0100)
committerpeter <peter@jetbrains.com>
Thu, 12 Feb 2015 17:04:51 +0000 (18:04 +0100)
java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy

index 4bd51ede33c36af292366ca30bbebda1e87f5361..863ad0c9b5f55248f93732256315af6fa57bef0c 100644 (file)
@@ -958,7 +958,13 @@ class Foo {
 
         joinAutopopup()
         joinCompletion()
-        myFixture.checkResult(result)
+        try {
+          myFixture.checkResult(result)
+        }
+        catch (e) {
+          println "actions: $a1 $a2"
+          throw e
+        }
         assert !lookup
       }
     }
@@ -972,7 +978,13 @@ class Foo {
 
       joinAutopopup()
       joinCompletion()
-      myFixture.checkResult(result)
+      try {
+        myFixture.checkResult(result)
+      }
+      catch (e) {
+        println "actions: $a1"
+        throw e
+      }
       assert !lookup
     }
 
@@ -985,7 +997,13 @@ class Foo {
 
       joinAutopopup()
       joinCompletion()
-      myFixture.checkResult(result)
+      try {
+        myFixture.checkResult(result)
+      }
+      catch (e) {
+        println "actions: $a1"
+        throw e
+      }
       assert !lookup
     }