diff options
Diffstat (limited to 'xml/tests/src/com/intellij/codeInsight/editorActions/HtmlSelectWordTest.java')
-rw-r--r-- | xml/tests/src/com/intellij/codeInsight/editorActions/HtmlSelectWordTest.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/xml/tests/src/com/intellij/codeInsight/editorActions/HtmlSelectWordTest.java b/xml/tests/src/com/intellij/codeInsight/editorActions/HtmlSelectWordTest.java new file mode 100644 index 000000000000..5246b416fb58 --- /dev/null +++ b/xml/tests/src/com/intellij/codeInsight/editorActions/HtmlSelectWordTest.java @@ -0,0 +1,44 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.codeInsight.editorActions; + +import com.intellij.testFramework.PlatformTestUtil; +import com.intellij.testFramework.TestDataPath; +import com.intellij.testFramework.fixtures.CodeInsightTestUtil; +import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase; + +import java.io.File; + +/** + * User: zolotov + * Date: 10/9/13 + */ +@TestDataPath("$CONTENT_ROOT/testData/selectWord") +public class HtmlSelectWordTest extends LightCodeInsightFixtureTestCase { + + public void testSelectClassNames() { + doTest(); + } + + private void doTest() { + CodeInsightTestUtil.doWordSelectionTestOnDirectory(myFixture, getTestName(true), "html"); + } + + @Override + protected String getTestDataPath() { + return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + "/xml/tests/testData/selectWord"; + } +} |