HomeSort by relevance Sort by last modified time
    Searched refs:Outcome (Results 1 - 20 of 20) sorted by null

  /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...]
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...]
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();
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...]
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...]
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();
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));
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...]
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));
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()) {
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...]
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...]
  /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...]
BuildActionTask.java 35 import vogar.Outcome;
72 driver.addEarlyResult(new Outcome(action.getName(), Result.COMPILE_FAILED,
76 driver.addEarlyResult(new Outcome(action.getName(), Result.ERROR, e));
  /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);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ktmw32.h 31 WINBOOL WINAPI GetTransactionInformation(HANDLE TransactionHandle,PDWORD Outcome,PDWORD IsolationLevel,PDWORD IsolationFlags,PDWORD Timeout,DWORD BufferLength,LPWSTR Description);
winnt.h     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
wdm.h     [all...]

Completed in 197 milliseconds