Commit 0f173a8 1 parent b47bc49 commit 0f173a8 Copy full SHA for 0f173a8
File tree 2 files changed +15
-95
lines changed
kit/src/test/java/com/oracle/javafx/scenebuilder/kit/fxom
2 files changed +15
-95
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -110,16 +110,24 @@ public void that_wildcard_imports_are_built_on_demand() throws Exception {
110
110
boolean withWildCardImports = true ;
111
111
112
112
String generatedFxmlText = classUnderTest .getFxmlText (withWildCardImports );
113
- String expectedFxmlText = "<?xml version=\" 1.0\" encoding=\" UTF-8\" ?>\n " + "\n "
114
- + "<?import javafx.scene.effect.*?>\n " + "<?import javafx.scene.layout.*?>\n "
115
- + "<?import javafx.scene.text.*?>\n " + "\n "
113
+ String expectedFxmlText =
114
+ "<?xml version=\" 1.0\" encoding=\" UTF-8\" ?>\n \n "
115
+ + "<?import javafx.scene.effect.*?>\n "
116
+ + "<?import javafx.scene.layout.*?>\n "
117
+ + "<?import javafx.scene.text.*?>\n \n "
116
118
+ "<StackPane xmlns=\" http://javafx.com/javafx/null\" xmlns:fx=\" http://javafx.com/fxml/1\" >\n "
117
- + " <children>\n " + " <Text stroke=\" BLACK\" text=\" Some simple text\" >\n "
119
+ + " <children>\n "
120
+ + " <Text stroke=\" BLACK\" text=\" Some simple text\" >\n "
118
121
+ " <effect>\n "
119
122
+ " <Lighting diffuseConstant=\" 2.0\" specularConstant=\" 0.9\" specularExponent=\" 10.5\" surfaceScale=\" 9.3\" >\n "
120
- + " <light>\n " + " <Light.Distant />\n " + " </light>\n "
121
- + " </Lighting>\n " + " </effect>\n " + " </Text>\n " + " </children>\n "
122
- + "</StackPane>\n " + "" ;
123
+ + " <light>\n "
124
+ + " <Light.Distant />\n "
125
+ + " </light>\n "
126
+ + " </Lighting>\n "
127
+ + " </effect>\n "
128
+ + " </Text>\n "
129
+ + " </children>\n "
130
+ + "</StackPane>\n " ;
123
131
assertEquals (expectedFxmlText , generatedFxmlText );
124
132
}
125
133
You can’t perform that action at this time.
0 commit comments