Searched refs:expectedRegex (Results 1 – 2 of 2) sorted by relevance
569 private static void assertContainsRegex(String expectedRegex, String actual) { in assertContainsRegex() argument570 Pattern pattern = Pattern.compile(expectedRegex); in assertContainsRegex()574 fail("expected to contain regex:<" + expectedRegex + "> but was:" in assertContainsRegex()
228 final String expectedRegex = ".*\\{" in testToStringLenient_complexFields() local233 assertTrue(toTest, toTest.matches(expectedRegex)); in testToStringLenient_complexFields()