HomeSort by relevance Sort by last modified time
    Searched refs:outcome (Results 1 - 25 of 45) sorted by null

1 2

  /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...]
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();
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...]
JarSuggestions.java 40 public void addSuggestionsFromOutcome(Outcome outcome, ClassFileIndex classFileIndex,
42 Result result = outcome.getResult();
46 Set<File> suggestedJars = classFileIndex.suggestClasspaths(outcome.getOutput());
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,
206 public synchronized void addEarlyResult(Outcome earlyFailure) {
219 public synchronized void recordOutcome(Outcome outcome) {
220 outcomes.put(outcome.getName(), outcome); local
    [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...]
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...]
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()) {
  /cts/libs/vogar-expect/src/vogar/
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();
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...]
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 42 * <li>Outcome expectations name an outcome (or its prefix, such as
46 * outcome. These expectations are useful for hiding failures caused by
50 * <p>If an outcome matches both an outcome expectation and a failure
51 * expectation, the outcome expectation will be returned.
71 * Finds the expected result for the specified action or outcome name. This
80 * Finds the expected result for the specified outcome after it has
82 * outcome's output.
88 public Expectation get(Outcome outcome)
    [all...]
  /external/vogar/src/vogar/tasks/
RunActionTask.java 23 import vogar.Outcome;
74 * 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.
181 // TODO add to Outcome knowledge about what class was used to run it
200 run.console.outcome(outcomeName);
204 @Override public void finish(Outcome outcome) {
209 lastFinishedOutcome = toQualifiedOutcomeName(outcome.getName())
    [all...]
  /external/v8/tools/testrunner/local/
statusfile.py 108 for outcome in item[1:]:
109 assert type(outcome) == str
110 _AddOutcome(result, outcome)
progress.py 124 outcome = 'CRASH'
126 outcome = 'FAIL'
128 outcome = 'pass'
129 print 'Done running %s: %s' % (test.GetLabel(), outcome)
testsuite.py 208 outcome = self.GetOutcome(testcase)
209 return not outcome in (testcase.outcomes or [statusfile.PASS])
  /external/valgrind/memcheck/tests/x86/
pushfpopf_s.S 28 # resulting flag definedness depends on outcome of sub above
  /libcore/luni/src/main/java/java/util/concurrent/
FutureTask.java 52 * transient values of COMPLETING (while outcome is being set) or
76 private Object outcome; // non-volatile, protected by state reads/writes field in class:FutureTask
89 Object x = outcome;
203 outcome = v;
221 outcome = t;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
filecmp.py 51 outcome = _cache.get((f1, f2, s1, s2))
52 if outcome is None:
53 outcome = _do_cmp(f1, f2)
56 _cache[f1, f2, s1, s2] = outcome
57 return outcome
doctest.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
filecmp.py 51 outcome = _cache.get((f1, f2, s1, s2))
52 if outcome is None:
53 outcome = _do_cmp(f1, f2)
56 _cache[f1, f2, s1, s2] = outcome
57 return outcome
  /external/v8/test/webkit/
try-catch-try-try-catch-try-finally-return-catch-finally.js 25 "Tests what would happen if you a throwing operation at the beginning of a finally blow that gets inlined inside a complicated catch/finally stack. The correct outcome is for this test to not crash during exception throwing."
try-try-return-finally-finally.js 25 "Tests what would happen if you have nested try-finally's with interesting control statements nested within them. The correct outcome is for this test to not crash during bytecompilation."
  /external/crcalc/src/com/hp/creals/
UnaryCRFunction.java 486 int outcome; local
497 outcome = sloppy_compare(f_guess, arg_appr);
498 if (outcome != 0) break;
544 if (outcome > 0) {
  /external/vogar/src/vogar/monitor/
HostMonitor.java 30 import vogar.Outcome;
102 * {"outcome"="java.util.FormatterMain"}
104 * {"outcome"="java.util.FormatterTest#testBar" runner="vogar.target.junit.JUnitRunner"}
125 if (jsonObject.get("outcome") != null) {
126 currentOutcome = jsonObject.get("outcome").getAsString();
133 handler.finish(new Outcome(currentOutcome, currentResult, output.toString()));
160 * Receive a completed outcome.
162 void finish(Outcome outcome);

Completed in 826 milliseconds

1 2