equal
deleted
inserted
replaced
229 fail("Got unexpected exception: " + e.toString()); |
229 fail("Got unexpected exception: " + e.toString()); |
230 } |
230 } |
231 } |
231 } |
232 |
232 |
233 public static void TestNamePrepConformance() throws Exception { |
233 public static void TestNamePrepConformance() throws Exception { |
234 InputStream stream = StringPrep.class.getResourceAsStream("uidna.spp"); |
234 InputStream stream = StringPrep.class.getModule() |
|
235 .getResourceAsStream("sun/net/idn/uidna.spp"); |
235 StringPrep namePrep = new StringPrep(stream); |
236 StringPrep namePrep = new StringPrep(stream); |
236 stream.close(); |
237 stream.close(); |
237 int i; |
238 int i; |
238 for(i=0; i<TestData.conformanceTestCases.length;i++){ |
239 for(i=0; i<TestData.conformanceTestCases.length;i++){ |
239 TestData.ConformanceTestCase testCase = TestData.conformanceTestCases[i]; |
240 TestData.ConformanceTestCase testCase = TestData.conformanceTestCases[i]; |