< prev index next >
modules/fxml/src/test/java/test/javafx/fxml/RT_18218Test.java
Print this page
*** 23,32 ****
--- 23,33 ----
* questions.
*/
package test.javafx.fxml;
+ import com.sun.javafx.fxml.FXMLLoaderHelper;
import java.io.IOException;
import java.util.Map;
import javafx.fxml.FXMLLoader;
import javafx.fxml.LoadListener;
import org.junit.Test;
*** 36,46 ****
public class RT_18218Test {
@Test
@SuppressWarnings({"unchecked", "deprecation"})
public void testStaticScriptLoad() throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("rt_18218.fxml"));
! fxmlLoader.impl_setStaticLoad(true);
fxmlLoader.setLoadListener(new LoadListener() {
private String unknownStaticPropertyElementName = null;
@Override
public void readImportProcessingInstruction(String target) {
--- 37,47 ----
public class RT_18218Test {
@Test
@SuppressWarnings({"unchecked", "deprecation"})
public void testStaticScriptLoad() throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("rt_18218.fxml"));
! FXMLLoaderHelper.setStaticLoad(fxmlLoader, true);
fxmlLoader.setLoadListener(new LoadListener() {
private String unknownStaticPropertyElementName = null;
@Override
public void readImportProcessingInstruction(String target) {
< prev index next >