mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix JavaFX tests
This commit is contained in:
+21
-5
@@ -1,3 +1,18 @@
|
||||
/*
|
||||
* 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 org.jetbrains.plugins.javaFX.fxml;
|
||||
|
||||
import com.intellij.codeInsight.daemon.DaemonAnalyzerTestCase;
|
||||
@@ -14,13 +29,14 @@ import com.intellij.util.ArrayUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* User: anna
|
||||
* Date: 1/10/13
|
||||
* @author anna
|
||||
* @since 10.01.2013
|
||||
*/
|
||||
public class JavaFXHighlightingTest extends DaemonAnalyzerTestCase {
|
||||
@Override
|
||||
protected void setUpModule() {
|
||||
super.setUpModule();
|
||||
//noinspection SpellCheckingInspection
|
||||
PsiTestUtil.addLibrary(getModule(), "javafx", PluginPathManager.getPluginHomePath("javaFX") + "/testData", "jfxrt.jar");
|
||||
}
|
||||
|
||||
@@ -52,7 +68,7 @@ public class JavaFXHighlightingTest extends DaemonAnalyzerTestCase {
|
||||
public void testEnumValues() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
|
||||
public void testDefaultTagProperties() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
@@ -78,7 +94,7 @@ public class JavaFXHighlightingTest extends DaemonAnalyzerTestCase {
|
||||
configureByFiles(null, getTestName(true) + ".fxml", getTestName(false) + ".java");
|
||||
doDoTest(false, false);
|
||||
}
|
||||
|
||||
|
||||
private void doTestIdController() throws Exception {
|
||||
final String controllerClassName = getTestName(false) + "Controller";
|
||||
configureByFiles(null, getTestName(true) + ".fxml", controllerClassName + ".java");
|
||||
@@ -168,7 +184,7 @@ public class JavaFXHighlightingTest extends DaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testFQNtagNames() throws Exception {
|
||||
public void testFqnTagNames() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user