Skip to content

Commit

Permalink
8245183: Two fxml unit tests log warnings about deprecated escape seq…
Browse files Browse the repository at this point in the history
…uences

Reviewed-by: kcr, arapte
  • Loading branch information
aghaisas committed May 22, 2020
1 parent a13a642 commit 6e0b45a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -310,6 +310,8 @@ public void testMarkup() throws IOException {

@Test
public void testEscapeSequences() throws IOException {
System.err.println("Below warning about - deprecated escape sequence - is expected from this test.");

FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("expression_escapechars.fxml"));
fxmlLoader.load();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -49,6 +49,7 @@ public void testListAndArrayWithResources() throws IOException {

@Test
public void testListAndArrayWithEscapes() throws IOException {
System.err.println("Below warnings about - deprecated escape sequence - are expected from this test.");
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("rt_27529_2.fxml"),
ResourceBundle.getBundle("test/javafx/fxml/rt_27529"));
fxmlLoader.load();
Expand Down

0 comments on commit 6e0b45a

Please sign in to comment.