Skip to content

Commit 8beab95

Browse files
committed
adjust parameterized test method name (junit 6)
1 parent 891293b commit 8beab95

13 files changed

+19
-13
lines changed

src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public static Collection<Arguments> data() throws Exception {
106106
* The default test.
107107
* @throws Exception if an error occurs
108108
*/
109-
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}")
109+
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}", quoteTextArguments = false)
110110
@MethodSource("data")
111111
@Alerts({"\"a\"", "\"\u00E4\"", "\"\u0623\u0647\u0644\u0627\u064B\"", "\"\u043C\u0438\u0440\"", "\"\u623F\u95F4\""})
112112
void charset(

src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static Collection<Arguments> data() throws Exception {
107107
* The default test.
108108
* @throws Exception if an error occurs
109109
*/
110-
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}")
110+
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}", quoteTextArguments = false)
111111
@MethodSource("data")
112112
@Alerts("a \u00E4 \u0623\u0647\u0644\u0627\u064B \u043C\u0438\u0440 \u623F\u95F4")
113113
void charset(

src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public static Collection<Arguments> data() throws Exception {
112112
* The default test.
113113
* @throws Exception if an error occurs
114114
*/
115-
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}_{5}")
115+
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}_{5}", quoteTextArguments = false)
116116
@MethodSource("data")
117117
@Alerts({"a", "ä", "أهلاً", "мир", "房间"})
118118
void charset(

src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsTextEncodingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static Collection<Arguments> data() throws Exception {
7171
* The default test.
7272
* @throws Exception if an error occurs
7373
*/
74-
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}")
74+
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}", quoteTextArguments = false)
7575
@MethodSource("data")
7676
void responseText(
7777
final String xmlEncodingHeader,

src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsXMLEncodingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static Collection<Arguments> data() throws Exception {
7171
* The default test.
7272
* @throws Exception if an error occurs
7373
*/
74-
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}")
74+
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}", quoteTextArguments = false)
7575
@MethodSource("data")
7676
void responseText(
7777
final String xmlEncodingHeader,

src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseTextEncodingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static Collection<Arguments> data() throws Exception {
7171
* The default test.
7272
* @throws Exception if an error occurs
7373
*/
74-
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}")
74+
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}", quoteTextArguments = false)
7575
@MethodSource("data")
7676
void responseText(
7777
final String xmlEncodingHeader,

src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseXMLEncodingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static Collection<Arguments> data() throws Exception {
7171
* The default test.
7272
* @throws Exception if an error occurs
7373
*/
74-
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}")
74+
@ParameterizedTest(name = "_{0}_{1}_{2}_{3}_{4}", quoteTextArguments = false)
7575
@MethodSource("data")
7676
void responseText(
7777
final String xmlEncodingHeader,

src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static Collection<Arguments> data() throws Exception {
6565
* The default test.
6666
* @throws Exception if an error occurs
6767
*/
68-
@ParameterizedTest(name = "_{0}")
68+
@ParameterizedTest(name = "_{0}", quoteTextArguments = false)
6969
@MethodSource("data")
7070
void test(final String host) throws Exception {
7171
test(host, getExpectedString(host));

src/test/java/org/htmlunit/general/HostConstructorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static Collection<Arguments> data() throws Exception {
5757
* The default test.
5858
* @throws Exception if an error occurs
5959
*/
60-
@ParameterizedTest(name = "_{0}")
60+
@ParameterizedTest(name = "_{0}", quoteTextArguments = false)
6161
@MethodSource("data")
6262
@Alerts("TypeError")
6363
void test(final String className) throws Exception {

src/test/java/org/htmlunit/general/huge/CtorPrototypeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static Collection<Arguments> data() throws Exception {
5858
* The default test.
5959
* @throws Exception if an error occurs
6060
*/
61-
@ParameterizedTest(name = "_{0}")
61+
@ParameterizedTest(name = "_{0}", quoteTextArguments = false)
6262
@MethodSource("data")
6363
@Alerts("true")
6464
void ctor(final String jsClassName) throws Exception {

0 commit comments

Comments
 (0)