Lines Matching refs:pattern
22 import java.util.regex.Pattern;
30 * pattern .*should get token \[, but get -1.*
35 * pattern .*cannot find symbol.*
40 /** The pattern to use when no expected output is specified */
41 public static final Pattern MATCH_ALL_PATTERN
42 = Pattern.compile(".*", Pattern.MULTILINE | Pattern.DOTALL);
54 /** The pattern the expected output will match. */
55 private final Pattern pattern;
66 public Expectation(Result result, Pattern pattern, Set<String> tags, String description, long bug) {
67 if (result == null || description == null || pattern == null) {
69 "result=" + result + " description=" + description + " pattern=" + pattern);
74 this.pattern = pattern;
111 return pattern.matcher(outcome.getOutput()).matches();
115 return "Expectation[description=" + description + " pattern=" + pattern.pattern() + "]";