/cts/libs/vogar-expect/src/vogar/ |
AnnotatedOutcome.java | 26 * Contains an outcome for a test, along with some metadata pertaining to the history of this test, 27 * including a list of previous outcomes, an outcome corresponding to the tag Vogar is being run 39 private final Outcome outcome; field in class:AnnotatedOutcome 41 private final SortedMap<Long, Outcome> previousOutcomes; 44 private final Outcome tagOutcome; 47 AnnotatedOutcome(Outcome outcome, Expectation expectation, 48 SortedMap<Long, Outcome> previousOutcomes, String tagName, Outcome tagOutcome [all...] |
Expectation.java | 95 * Returns true if {@code outcome} matches this expectation. 97 public boolean matches(Outcome outcome) { 98 return patternMatches(outcome) && (bugIsOpen || result == outcome.getResult()); 101 private boolean patternMatches(Outcome outcome) { 102 return pattern.matcher(outcome.getOutput()).matches();
|
Outcome.java | 28 * An outcome of an action. Some actions may have multiple outcomes. For 29 * example, JUnit tests have one outcome for each test method. 31 public final class Outcome { 38 public Outcome(String outcomeName, Result result, List<String> outputLines) { 45 public Outcome(String outcomeName, Result result, String outputLine, Date date) { 52 public Outcome(String outcomeName, Result result, String outputLine) { 59 public Outcome(String outcomeName, Result result, Throwable throwable) { 128 * Returns whether the result indicates that the contents of the Outcome are important. 144 * Returns a filesystem db path for this outcome. For example, a path for an outcome with nam 153 Outcome outcome = (Outcome) o; local [all...] |
ExpectationStore.java | 43 * <li>Outcome expectations name an outcome (or its prefix, such as 47 * outcome. These expectations are useful for hiding failures caused by 51 * <p>If an outcome matches both an outcome expectation and a failure 52 * expectation, the outcome expectation will be returned. 72 * Finds the expected result for the specified action or outcome name. This 81 * Finds the expected result for the specified outcome after it has 83 * outcome's output. 89 public Expectation get(Outcome outcome) [all...] |
/external/vogar/src/vogar/ |
AnnotatedOutcome.java | 27 * Contains an outcome for a test, along with some metadata pertaining to the history of this test, 28 * including a list of previous outcomes, an outcome corresponding to the tag Vogar is being run 40 private final Outcome outcome; field in class:AnnotatedOutcome 42 private final SortedMap<Long, Outcome> previousOutcomes = new TreeMap<Long, Outcome>(); 44 AnnotatedOutcome(Outcome outcome, Expectation expectation) { 46 this.outcome = outcome; [all...] |
XmlReportPrinter.java | 75 public int generateReports(Collection<Outcome> results) { 88 private Map<String, Suite> testsToSuites(Collection<Outcome> outcomes) { 90 for (Outcome outcome : outcomes) { 91 if (outcome.getResult() == Result.UNSUPPORTED) { 95 String suiteName = outcome.getSuiteName(); 102 suite.outcomes.add(outcome); 104 Expectation expectation = expectationStore.get(outcome); 105 if (!expectation.matches(outcome)) { 106 if (outcome.getResult() == Result.EXEC_FAILED) [all...] |
Outcome.java | 28 * An outcome of an action. Some actions may have multiple outcomes. For 29 * example, JUnit tests have one outcome for each test method. 31 public final class Outcome { 38 public Outcome(String outcomeName, Result result, List<String> outputLines) { 45 public Outcome(String outcomeName, Result result, String outputLine, Date date) { 52 public Outcome(String outcomeName, Result result, String outputLine) { 59 public Outcome(String outcomeName, Result result, Throwable throwable) { 128 * Returns whether the result indicates that the contents of the Outcome are important. 151 * Returns a filesystem db path for this outcome. For example, a path for an outcome with nam 160 Outcome outcome = (Outcome) o; local [all...] |
Driver.java | 55 private final Map<String, Outcome> outcomes = Collections.synchronizedMap( 56 new LinkedHashMap<String, Outcome>()); 89 Outcome outcome = outcomes.get(action.getName()); local 90 if (outcome != null) { 91 addEarlyResult(outcome); 93 addEarlyResult(new Outcome(action.getName(), Result.UNSUPPORTED, 213 public synchronized void addEarlyResult(Outcome earlyFailure) { 226 public synchronized void recordOutcome(Outcome outcome) { 227 outcomes.put(outcome.getName(), outcome); local [all...] |
Expectation.java | 117 * Returns true if {@code outcome} matches this expectation. 119 public boolean matches(Outcome outcome) { 120 return patternMatches(outcome) && (bugIsOpen || result == outcome.getResult()); 123 private boolean patternMatches(Outcome outcome) { 124 return pattern.matcher(outcome.getOutput()).matches();
|
JarSuggestions.java | 40 public void addSuggestionsFromOutcome(Outcome outcome, ClassFileIndex classFileIndex, 42 Result result = outcome.getResult(); 46 Set<File> suggestedJars = classFileIndex.suggestClasspaths(outcome.getOutput());
|
ExpectationStore.java | 37 * <li>Outcome expectations name an outcome (or its prefix, such as 41 * outcome. These expectations are useful for hiding failures caused by 45 * <p>If an outcome matches both an outcome expectation and a failure 46 * expectation, the outcome expectation will be returned. 60 * Finds the expected result for the specified action or outcome name. This 69 * Finds the expected result for the specified outcome after it has 71 * outcome's output. 77 public Expectation get(Outcome outcome) [all...] |
XmlReportReader.java | 44 public Collection<Outcome> readSuiteReport(File xmlReport) { 69 private Collection<Outcome> readTestSuite(KXmlParser parser) 71 Collection<Outcome> outcomes = new ArrayList<Outcome>(); 106 // create outcome! 116 outcomes.add(new Outcome(classname + "#" + name, result, resultOutput, date));
|
OutcomeStore.java | 68 public Map<String, AnnotatedOutcome> read(Map<String, Outcome> outcomes) { 70 for (Map.Entry<String, Outcome> entry : outcomes.entrySet()) { 71 Outcome outcome = entry.getValue(); local 72 Expectation expectation = expectationStore.get(outcome); 73 result.put(entry.getKey(), new AnnotatedOutcome(outcome, expectation)); 117 annotatedOutcome.add(fileDate, new Outcome(outcomeName, result, 124 public void write(Map<String, Outcome> outcomes) { 136 for (Map.Entry<String, Outcome> entry : outcomes.entrySet()) {
|
ActionFinder.java | 29 private final Map<String, Outcome> outcomes; 31 public ActionFinder(Log log, Map<String, Action> actions, Map<String, Outcome> outcomes) { 65 outcomes.put(actionName, new Outcome(actionName, Result.UNSUPPORTED, e));
|
Console.java | 137 * Begins streaming output for the named outcome. 139 public void outcome(String name) {} method in class:Console 144 * printed only if the outcome is unsuccessful. 154 * Writes the action's outcome. 197 // figure out whether each outcome is noteworthy, and add a message to the appropriate list 400 * The line contains the name of an action or outcome. The outcome's 453 * Prints the beginning of the named outcome. 455 @Override public synchronized void outcome(String name) { method in class:Console.StreamingConsole 456 // if the outcome and action names are the same, omit the outcome nam [all...] |
/external/vogar/src/vogar/tasks/ |
RunActionTask.java | 23 import vogar.Outcome; 77 * outcome that wasn't completed. 112 run.driver.addEarlyResult(new Outcome(earlyResultOutcome, Result.ERROR, 124 run.driver.addEarlyResult(new Outcome(actionName, Result.ERROR, e)); 136 * @param skipPast the last outcome to skip, or null to run all outcomes. 211 run.console.outcome(outcomeName); 215 @Override public void finish(Outcome outcome) { 220 lastFinishedOutcome = toQualifiedOutcomeName(outcome.getName()); 222 run.driver.recordOutcome(new Outcome(lastFinishedOutcome, outcome.getResult() [all...] |
/external/vogar/src/vogar/monitor/ |
HostMonitor.java | 29 import vogar.Outcome; 101 * {"outcome"="java.util.FormatterMain"} 103 * {"outcome"="java.util.FormatterTest#testBar" runner="vogar.target.junit.JUnitRunner"} 124 if (jsonObject.get("outcome") != null) { 125 currentOutcome = jsonObject.get("outcome").getAsString(); 130 handler.finish(new Outcome(currentOutcome, currentResult, output.toString())); 151 * Receive notification that an outcome is pending. 156 * Receive a completed outcome. 158 void finish(Outcome outcome); [all...] |
/external/brotli/go/cbrotli/internal/ |
encoder.go | 125 var outcome Status 127 outcome = Error 129 outcome = Ok 131 outcome = Done 133 return int(result.bytes_consumed), output, outcome
|
/prebuilts/go/darwin-x86/doc/codewalk/ |
pig.go | 26 // roll returns the (result, turnIsOver) outcome of simulating a die roll. 30 outcome := rand.Intn(6) + 1 // A random int in [1, 6] 31 if outcome == 1 { 34 return score{s.player, s.opponent, outcome + s.thisTurn}, false 37 // stay returns the (result, turnIsOver) outcome of staying.
|
/prebuilts/go/linux-x86/doc/codewalk/ |
pig.go | 26 // roll returns the (result, turnIsOver) outcome of simulating a die roll. 30 outcome := rand.Intn(6) + 1 // A random int in [1, 6] 31 if outcome == 1 { 34 return score{s.player, s.opponent, outcome + s.thisTurn}, false 37 // stay returns the (result, turnIsOver) outcome of staying.
|
/external/vogar/test/vogar/target/ |
AbstractTestRunnerTest.java | 139 String output = outcome(testClassName, methodName, message, Result.EXEC_FAILED); 144 String output = outcome(testClassName, methodName, null, Result.SUCCESS); 149 String output = outcome(testClassName, methodName, message, Result.SUCCESS); 155 String output = outcome( 165 String output = outcome(testClassName, null, message, Result.UNSUPPORTED); 179 private static String outcome( method in class:AbstractTestRunnerTest.ExpectedResults 183 return String.format("//00xx{\"outcome\":\"%s\"}\n"
|
/external/mesa3d/src/compiler/glsl/tests/ |
warnings-test | 3 # Execute several shaders, and check that the InfoLog outcome is the expected.
|
/external/vogar/src/vogar/target/ |
TargetRunner.java | 28 * known outcome.
|
/external/r8/tools/ |
utils.py | 100 def __init__(self, test_name, outcome): 102 self.outcome = outcome 122 outcome = m.groups()[0] 123 assert outcome in ['fail', 'pass'] 124 yield CtsTest(m.groups()[1], outcome == 'pass')
|
/external/swiftshader/third_party/LLVM/test/lib/ |
llvm.exp | 2 proc execOneLine { test PRS outcome lineno line } {
144 set outcome PASS
191 set outcome XFAIL
195 set outcome XFAIL
206 set outcome PASS
209 set outcome PASS
225 set resultmsg [execOneLine $test $PRNUMS $outcome $i $theLine ]
227 if { $outcome == "XFAIL" } {
242 if { $outcome == "XFAIL" } {
|