groovy select word now selects list/map literals and method arguments before qualifie...
[fedora-idea.git] / plugins / groovy / test / org / jetbrains / plugins / groovy / lang / formatter / EnterActionTest.java
blobc09edd81c451f2821f88be31be3840fefb96a638
1 /*
2 * Copyright 2003-2007 the original author or authors.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.jetbrains.plugins.groovy.lang.formatter;
19 import org.jetbrains.plugins.groovy.GroovyFileType;
20 import org.jetbrains.plugins.groovy.util.TestUtils;
22 import java.util.List;
24 /**
25 * @author ilyas
27 public class EnterActionTest extends GroovyFormatterTestCase {
29 @Override
30 protected String getBasePath() {
31 return TestUtils.getTestDataPath() + "groovy/enterAction/";
35 private void doTest() throws Throwable {
36 final List<String> data = TestUtils.readInput(getTestDataPath() + getTestName(true) + ".test");
37 myFixture.configureByText(GroovyFileType.GROOVY_FILE_TYPE, data.get(0));
38 myFixture.type('\n');
39 myFixture.checkResult(data.get(1));
42 public void testClos1() throws Throwable { doTest(); }
43 public void testClos2() throws Throwable { doTest(); }
44 public void testComment1() throws Throwable { doTest(); }
45 public void testComment2() throws Throwable { doTest(); }
46 public void testComment3() throws Throwable { doTest(); }
47 public void testComment4() throws Throwable { doTest(); }
48 public void testDef() throws Throwable { doTest(); }
49 public void testDef2() throws Throwable { doTest(); }
50 public void testGdoc1() throws Throwable { doTest(); }
51 public void testGdoc2() throws Throwable { doTest(); }
52 public void testGdoc3() throws Throwable { doTest(); }
53 public void testGdoc4() throws Throwable { doTest(); }
54 public void testGdoc5() throws Throwable { doTest(); }
55 public void testGdoc6() throws Throwable { doTest(); }
56 public void testGdoc7() throws Throwable { doTest(); }
57 public void testGdoc8() throws Throwable { doTest(); }
58 public void testGdoc9() throws Throwable { doTest(); }
59 public void testGdoc10() throws Throwable { doTest(); }
60 public void testGdoc11() throws Throwable { doTest(); }
61 public void testGRVY_953() throws Throwable { doTest(); }
62 public void testGstring1() throws Throwable { doTest(); }
63 public void testGstring10() throws Throwable { doTest(); }
64 public void testGstring11() throws Throwable { doTest(); }
65 public void testGstring12() throws Throwable { doTest(); }
66 public void testGstring13() throws Throwable { doTest(); }
67 public void testGstring2() throws Throwable { doTest(); }
68 public void testGstring3() throws Throwable { doTest(); }
69 public void testGstring4() throws Throwable { doTest(); }
70 public void testGstring5() throws Throwable { doTest(); }
71 public void testGstring6() throws Throwable { doTest(); }
72 public void testGstring7() throws Throwable { doTest(); }
73 public void testGstring8() throws Throwable { doTest(); }
74 public void testGstring9() throws Throwable { doTest(); }
75 public void testSpaces1() throws Throwable { doTest(); }
76 public void testString1() throws Throwable { doTest(); }
77 public void testString2() throws Throwable { doTest(); }
78 public void testString3() throws Throwable { doTest(); }
79 public void testString4() throws Throwable { doTest(); }
80 public void testString5() throws Throwable { doTest(); }
81 public void testString6() throws Throwable { doTest(); }