# HG changeset patch # User xiaofeya # Date 1519979580 28800 # Node ID 216c1a039335d83731091518906077da364afba5 # Parent dbbbf6d7cf6e819fd70c68f86e5025036549a5dc 8198821: fix test methods access for test java/text/Normalizer/NormalizerAPITest.java Reviewed-by: naoto diff -r dbbbf6d7cf6e -r 216c1a039335 test/jdk/java/text/Normalizer/NormalizerAPITest.java --- a/test/jdk/java/text/Normalizer/NormalizerAPITest.java Thu Mar 01 21:23:35 2018 -0800 +++ b/test/jdk/java/text/Normalizer/NormalizerAPITest.java Fri Mar 02 00:33:00 2018 -0800 @@ -78,7 +78,7 @@ /* * Check if normalize(null) throws NullPointerException as expected. */ - void Test_NullPointerException_java_normalize() { + public void Test_NullPointerException_java_normalize() { boolean error = false; /* Check null as String to be normalized */ @@ -107,7 +107,7 @@ /* * Check if normalize(null) throws NullPointerException as expected. */ - void Test_NullPointerException_sun_normalize() { + public void Test_NullPointerException_sun_normalize() { boolean error = false; for (int j = 0; j < options.length; j++) { @@ -138,7 +138,7 @@ /* * Check if isNormalized(null) throws NullPointerException as expected. */ - void Test_NullPointerException_java_isNormalized() { + public void Test_NullPointerException_java_isNormalized() { boolean error = false; for (int i = 0; i < forms.length; i++) { @@ -167,7 +167,7 @@ /* * Check if isNormalized(null) throws NullPointerException as expected. */ - void Test_NullPointerException_sun_isNormalized() { + public void Test_NullPointerException_sun_isNormalized() { boolean error = false; for (int j = 0; j < options.length; j++) { @@ -199,7 +199,7 @@ * Check if isNormalized("") doesn't throw NullPointerException and returns * "" as expected. */ - void Test_No_NullPointerException_java_normalize() { + public void Test_No_NullPointerException_java_normalize() { boolean error = false; for (int i = 0; i < forms.length; i++) { @@ -223,7 +223,7 @@ * Check if isNormalized("") doesn't throw NullPointerException and returns * "" as expected. */ - void Test_No_NullPointerException_sun_normalize() { + public void Test_No_NullPointerException_sun_normalize() { boolean error = false; for (int j = 0; j < options.length; j++) { @@ -248,7 +248,7 @@ * Check if isNormalized("") doesn't throw NullPointerException and returns * "" as expected. */ - void Test_No_NullPointerException_java_isNormalized() { + public void Test_No_NullPointerException_java_isNormalized() { boolean error = false; for (int i = 0; i < forms.length; i++) { @@ -271,7 +271,7 @@ * Check if isNormalized("") doesn't throw NullPointerException and returns * "" as expected. */ - void Test_No_NullPointerException_sun_isNormalized() { + public void Test_No_NullPointerException_sun_isNormalized() { boolean error = false; for (int j = 0; j < options.length; j++) { @@ -296,7 +296,7 @@ * Check if normalize() and isNormalized() work as expected for every * known class which implement CharSequence Interface. */ - void Test_CharSequence() { + public void Test_CharSequence() { check_CharSequence(String.valueOf(inputData), String.valueOf(outputData));