Searched refs:testPattern (Results 1 – 4 of 4) sorted by relevance
63 String testPattern = "(abb)"; in test_resetLjava_lang_String() local66 Pattern pat = Pattern.compile(testPattern); in test_resetLjava_lang_String()112 String testPattern = "(abb)"; in test_reset() local114 Pattern pat = Pattern.compile(testPattern); in test_reset()123 String testPattern = "abb"; in test_hasAnchoringBounds() local125 Pattern pat = Pattern.compile(testPattern); in test_hasAnchoringBounds()141 String testPattern = "abb"; in test_hasTransparentBounds() local143 Pattern pat = Pattern.compile(testPattern); in test_hasTransparentBounds()159 String testPattern = "(((abb)a)(bb))"; in test_startI() local161 Pattern pat = Pattern.compile(testPattern); in test_startI()[all …]
966 final String testPattern = "The system as we know it is broken"; in testStringConstructors() local977 s = (String) mh.invokeExact(testPattern); in testStringConstructors()978 assertEquals(testPattern, s); in testStringConstructors()984 s = (String) mh.invokeExact(testPattern.toCharArray()); in testStringConstructors()985 assertEquals(testPattern, s); in testStringConstructors()994 StringBuffer sb = new StringBuffer(testPattern); in testStringConstructors()1002 assertEquals(testPattern, s); in testStringConstructors()1005 byte [] ascii = testPattern.getBytes(StandardCharsets.US_ASCII); in testStringConstructors()1009 assertEquals(testPattern, s); in testStringConstructors()1016 assertEquals(testPattern.substring(0, 5), s); in testStringConstructors()[all …]
164 public void testPattern() { in testPattern() method in MatcherTest385 String testPattern = "(abb)"; in testFind() local387 Pattern pat = Pattern.compile(testPattern); in testFind()399 testPattern = "(\\d{1,3})"; in testFind()402 Pattern pat2 = Pattern.compile(testPattern); in testFind()
249 public void testPattern() { in testPattern() method in PatternTest