Merging with trunk groovy_parser
authorMartin Janicek <mjanicek@netbeans.org>
Wed, 28 Dec 2011 14:41:26 +0100
branchgroovy_parser
changeset 2159880ef094a1642a
parent 215987 097b0764d353
parent 215896 6dc24923216c
child 215989 6b4fc0ec0ea1
Merging with trunk
     1.1 --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/MethodCCTest.java	Wed Dec 28 14:40:26 2011 +0100
     1.2 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/MethodCCTest.java	Wed Dec 28 14:41:26 2011 +0100
     1.3 @@ -57,16 +57,15 @@
     1.4          return "method"; //NOI18N
     1.5      }
     1.6  
     1.7 -    // Randomly fails if it's not the first test in file - it's most probably some general classpath problem
     1.8 -    // (see org.netbeans.modules.groovy.editor.api.temporary.README.txt) for more details
     1.9 -    public void testCompletionInsideFor1_2() throws Exception {
    1.10 -        checkCompletion(BASE + "CompletionInsideFor1.groovy", "for (String other in [1:\"Alice\", 2:\"Bob\"].^", false);
    1.11 -    }
    1.12 -
    1.13      public void testCompletionInsideFor1_1() throws Exception {
    1.14          checkCompletion(BASE + "CompletionInsideFor1.groovy", "for(new Date().get^", false);
    1.15      }
    1.16  
    1.17 +    // Randomly fails
    1.18 +    /*public void testCompletionInsideFor1_2() throws Exception {
    1.19 +        checkCompletion(BASE + "CompletionInsideFor1.groovy", "for (String other in [1:\"Alice\", 2:\"Bob\"].^", false);
    1.20 +    }*/
    1.21 +
    1.22      public void testMethods1_1() throws Exception {
    1.23          checkCompletion(BASE + "Methods1.groovy", "        new URL(\"http://google.com\").getPr^", false);
    1.24      }