changeset 40307:3ad1ad0e7bba

8163817: JShell tests: disable minor failing editor tool cases: 8161276, 8163816, 8159229 Reviewed-by: jlahoda, psandoz, darcy
author rfield
date Wed, 10 Aug 2016 15:52:26 -0700
parents 1a0fcaf3f2ed
children 4c9d829b21ea
files langtools/test/ProblemList.txt langtools/test/jdk/jshell/EditorTestBase.java langtools/test/jdk/jshell/ExternalEditorTest.java
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/langtools/test/ProblemList.txt	Wed Aug 10 13:52:02 2016 -0700
+++ b/langtools/test/ProblemList.txt	Wed Aug 10 15:52:26 2016 -0700
@@ -54,6 +54,7 @@
 #
 # jshell
 
+jdk/jshell/EditorPadTest.java                                                   8161276    windows-all    Test set-up cannot press buttons
 jdk/jshell/ToolBasicTest.java                                                   8139873    generic-all    JShell tests failing
 
 ###########################################################################
--- a/langtools/test/jdk/jshell/EditorTestBase.java	Wed Aug 10 13:52:02 2016 -0700
+++ b/langtools/test/jdk/jshell/EditorTestBase.java	Wed Aug 10 15:52:26 2016 -0700
@@ -125,7 +125,7 @@
         );
     }
 
-    @Test
+    @Test(enabled = false) // TODO 8163816
     public void testEditClass1() {
         testEditor(
                 a -> assertClass(a, "class A {}", "class", "A"),
@@ -163,7 +163,7 @@
         );
     }
 
-    @Test
+    @Test(enabled = false) // TODO 8163816
     public void testEditMethod1() {
         testEditor(
                 a -> assertMethod(a, "void f() {}", "()void", "f"),
--- a/langtools/test/jdk/jshell/ExternalEditorTest.java	Wed Aug 10 13:52:02 2016 -0700
+++ b/langtools/test/jdk/jshell/ExternalEditorTest.java	Wed Aug 10 15:52:26 2016 -0700
@@ -201,7 +201,7 @@
         );
     }
 
-    @Test
+    @Test(enabled = false) // TODO 8159229
     public void testRemoveTempFile() {
         test(new String[]{"-nostartup"},
                 a -> assertCommandCheckOutput(a, "/set editor " + executionScript,