jdk/test/java/util/regex/PatternStreamTest.java
changeset 28964 f4a570561f34
parent 20190 15c72885e3fd
child 29243 80ea8d3d39d0
equal deleted inserted replaced
28963:8498cdb7c54b 28964:f4a570561f34
   112         expected.add("\u9f9c\u672c7890");
   112         expected.add("\u9f9c\u672c7890");
   113 
   113 
   114         data.add(new Object[]{description, input, pattern, expected});
   114         data.add(new Object[]{description, input, pattern, expected});
   115 
   115 
   116 
   116 
       
   117         description = "Empty input";
   117         input = "";
   118         input = "";
   118         pattern = Pattern.compile("\u56da");
   119         pattern = Pattern.compile("\u56da");
   119         expected = new ArrayList<>();
   120         expected = new ArrayList<>();
       
   121         expected.add("");
       
   122 
       
   123         data.add(new Object[]{description, input, pattern, expected});
       
   124 
       
   125 
       
   126         description = "Empty input with empty pattern";
       
   127         input = "";
       
   128         pattern = Pattern.compile("");
       
   129         expected = new ArrayList<>();
       
   130         expected.add("");
   120 
   131 
   121         data.add(new Object[]{description, input, pattern, expected});
   132         data.add(new Object[]{description, input, pattern, expected});
   122 
   133 
   123 
   134 
   124         description = "Multiple separators";
   135         description = "Multiple separators";