mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
javafx: test for fx:define doesn't support attributes
This commit is contained in:
+4
@@ -303,6 +303,10 @@ public class JavaFXHighlightingTest extends AbstractJavaFXTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testAbsenceOfDefineAttributes() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIncludedForm() throws Exception {
|
||||
myFixture.addFileToProject("sample.fxml", "<?import javafx.scene.layout.GridPane?>\n" +
|
||||
"<fx:root type=\"javafx.scene.layout.GridPane\" xmlns:fx=\"http://javafx.com/fxml\"/>\n");
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<fx:root type="javafx.scene.layout.GridPane" xmlns:fx="http://javafx.com/fxml">
|
||||
<fx:define <error descr="Attribute source is not allowed here">source</error>=""/>
|
||||
</fx:root>
|
||||
Reference in New Issue
Block a user