Home | History | Annotate | Download | only in vogar

Lines Matching refs:Pattern

36 import java.util.regex.Pattern;
44 * "java.util"), its expected result, and an optional pattern to match
46 * <li>Failure expectations include a pattern that may match the output of any
56 /** The pattern to use when no expected output is specified */
57 private static final Pattern MATCH_ALL_PATTERN
58 = Pattern.compile(".*", Pattern.MULTILINE | Pattern.DOTALL);
64 private static final int PATTERN_FLAGS = Pattern.MULTILINE | Pattern.DOTALL;
192 Pattern pattern = MATCH_ALL_PATTERN;
217 } else if (name.equals("pattern")) {
218 pattern = Pattern.compile(reader.nextString(), PATTERN_FLAGS);
220 pattern = Pattern.compile(".*" + Pattern.quote(reader.nextString()) + ".*", PATTERN_FLAGS);
244 Expectation expectation = new Expectation(result, pattern, tags, description, buganizerBug);