Home
last modified time | relevance | path

Searched refs:outcome (Results 1 – 25 of 151) sorted by relevance

1234567

/external/vogar/src/vogar/
DXmlReportPrinter.java90 for (Outcome outcome : outcomes) { in testsToSuites()
91 if (outcome.getResult() == Result.UNSUPPORTED) { in testsToSuites()
95 String suiteName = outcome.getSuiteName(); in testsToSuites()
102 suite.outcomes.add(outcome); in testsToSuites()
104 Expectation expectation = expectationStore.get(outcome); in testsToSuites()
105 if (!expectation.matches(outcome)) { in testsToSuites()
106 if (outcome.getResult() == Result.EXEC_FAILED) { in testsToSuites()
138 for (Outcome outcome : outcomes) { in print()
139 print(serializer, outcome); in print()
145 private void print(KXmlSerializer serializer, Outcome outcome) throws IOException { in print() argument
[all …]
DAnnotatedOutcome.java40 private final Outcome outcome; field in AnnotatedOutcome
44 AnnotatedOutcome(Outcome outcome, Expectation expectation) { in AnnotatedOutcome() argument
46 this.outcome = outcome; in AnnotatedOutcome()
49 public void add(long date, Outcome outcome) { in add() argument
50 previousOutcomes.put(date, outcome); in add()
54 return outcome; in getOutcome()
58 return outcome.getName(); in getName()
62 return outcome.getResultValue(expectation); in getResultValue()
DDriver.java89 Outcome outcome = outcomes.get(action.getName()); in buildAndRun() local
90 if (outcome != null) { in buildAndRun()
91 addEarlyResult(outcome); in buildAndRun()
222 public synchronized void recordOutcome(Outcome outcome) { in recordOutcome() argument
223 outcomes.put(outcome.getName(), outcome); in recordOutcome() local
224 Expectation expectation = run.expectationStore.get(outcome); in recordOutcome()
225 ResultValue resultValue = outcome.getResultValue(expectation); in recordOutcome()
237 Result result = outcome.getResult(); in recordOutcome()
238 run.console.outcome(outcome.getName()); in recordOutcome()
239 run.console.printResult(outcome.getName(), result, resultValue, expectation); in recordOutcome()
[all …]
DExpectation.java119 public boolean matches(Outcome outcome) { in matches() argument
120 return patternMatches(outcome) && (bugIsOpen || result == outcome.getResult()); in matches()
123 private boolean patternMatches(Outcome outcome) { in patternMatches() argument
124 return pattern.matcher(outcome.getOutput()).matches(); in patternMatches()
DJarSuggestions.java40 public void addSuggestionsFromOutcome(Outcome outcome, ClassFileIndex classFileIndex, in addSuggestionsFromOutcome() argument
42 Result result = outcome.getResult(); in addSuggestionsFromOutcome()
46 Set<File> suggestedJars = classFileIndex.suggestClasspaths(outcome.getOutput()); in addSuggestionsFromOutcome()
DOutcome.java160 Outcome outcome = (Outcome) o; in equals() local
161 return outcomeName.equals(outcome.outcomeName) in equals()
162 && result == outcome.result in equals()
163 && output.equals(outcome.output); in equals()
DExpectationStore.java77 public Expectation get(Outcome outcome) { in get() argument
78 Expectation exactNameMatch = outcomes.get(outcome.getName()); in get()
84 if (entry.getValue().matches(outcome)) { in get()
89 Expectation byName = getByNameOrPackage(outcome.getName()); in get()
DOutcomeStore.java71 Outcome outcome = entry.getValue(); in read() local
72 Expectation expectation = expectationStore.get(outcome); in read()
73 result.put(entry.getKey(), new AnnotatedOutcome(outcome, expectation)); in read()
/external/tensorflow/tensorflow/contrib/kinesis/kernels/
Dkinesis_dataset_ops.cc229 auto outcome = client_->GetRecords( in GetNextInternal() local
231 if (!outcome.IsSuccess()) { in GetNextInternal()
232 return errors::Unknown(outcome.GetError().GetExceptionName(), ": ", in GetNextInternal()
233 outcome.GetError().GetMessage()); in GetNextInternal()
235 if (outcome.GetResult().GetRecords().size() == 0) { in GetNextInternal()
246 if (outcome.GetResult().GetRecords().size() != 1) { in GetNextInternal()
248 outcome.GetResult().GetRecords().size(), in GetNextInternal()
252 iterator_ = outcome.GetResult().GetNextShardIterator(); in GetNextInternal()
254 const auto& data = outcome.GetResult().GetRecords()[0].GetData(); in GetNextInternal()
286 auto outcome = client_->DescribeStream( in SetupStreamsLocked() local
[all …]
/external/libevent/test/
Dtinytest.c76 enum outcome { SKIP=2, OK=1, FAIL=0 }; enum
77 static enum outcome cur_test_outcome = 0;
91 static enum outcome
95 int outcome; in testcase_run_bare_() local
106 outcome = cur_test_outcome; in testcase_run_bare_()
110 outcome = FAIL; in testcase_run_bare_()
113 return outcome; in testcase_run_bare_()
120 static enum outcome
226 enum outcome outcome; local
247 outcome = testcase_run_forked_(group, testcase);
[all …]
/external/lmfit/lib/
Dlmmin.c149 S->outcome = 0; /* status code */ in lmmin()
157 S->outcome = 10; in lmmin()
164 S->outcome = 10; in lmmin()
171 S->outcome = 10; in lmmin()
177 S->outcome = 10; in lmmin()
182 S->outcome = 10; in lmmin()
189 S->outcome = 10; in lmmin()
199 S->outcome = 9; in lmmin()
247 S->outcome = 12; /* nan */ in lmmin()
250 S->outcome = 0; /* sum of squares almost zero, nothing to do */ in lmmin()
[all …]
/external/swiftshader/third_party/LLVM/test/lib/
Dllvm.exp2 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" } {
/external/vogar/test/vogar/target/
DAbstractTestRunnerTest.java139 String output = outcome(testClassName, methodName, message, Result.EXEC_FAILED); in failure()
144 String output = outcome(testClassName, methodName, null, Result.SUCCESS); in success()
149 String output = outcome(testClassName, methodName, message, Result.SUCCESS); in success()
155 String output = outcome( in unsupported()
165 String output = outcome(testClassName, null, message, Result.UNSUPPORTED); in noRunner()
179 private static String outcome( in outcome() method in AbstractTestRunnerTest.ExpectedResults
/external/grpc-grpc/src/core/lib/gprpp/
Dthd_windows.cc136 bool outcome = false; in Thread() local
137 impl_ = grpc_core::New<ThreadInternalsWindows>(thd_body, arg, &outcome); in Thread()
138 if (outcome) { in Thread()
147 *success = outcome; in Thread()
Dthd_posix.cc140 bool outcome = false; in Thread() local
142 grpc_core::New<ThreadInternalsPosix>(thd_name, thd_body, arg, &outcome); in Thread()
143 if (outcome) { in Thread()
152 *success = outcome; in Thread()
/external/skia/tools/skqp/src/
Dskqp_main.cpp106 SkQP::RenderOutcome outcome; in main() local
109 std::tie(outcome, except) = skqp.evaluateGM(backend, gmFactory); in main()
113 } else if (outcome.fMaxError != 0) { in main()
114 out << "FAILED: " << testName << " (" << outcome.fMaxError << ")\n"; in main()
/external/skqp/tools/skqp/src/
Dskqp_main.cpp106 SkQP::RenderOutcome outcome; in main() local
109 std::tie(outcome, except) = skqp.evaluateGM(backend, gmFactory); in main()
113 } else if (outcome.fMaxError != 0) { in main()
114 out << "FAILED: " << testName << " (" << outcome.fMaxError << ")\n"; in main()
/external/vogar/src/vogar/tasks/
DRunActionTask.java210 run.console.outcome(outcomeName); in output()
214 @Override public void finish(Outcome outcome) { in finish() argument
219 lastFinishedOutcome = toQualifiedOutcomeName(outcome.getName()); in finish()
221 run.driver.recordOutcome(new Outcome(lastFinishedOutcome, outcome.getResult(), in finish()
222 outcome.getOutputLines())); in finish()
/external/python/cpython3/Lib/unittest/
Dcase.py606 outcome = _Outcome(result)
608 self._outcome = outcome
610 with outcome.testPartExecutor(self):
612 if outcome.success:
613 outcome.expecting_failure = expecting_failure
614 with outcome.testPartExecutor(self, isTest=True):
616 outcome.expecting_failure = False
617 with outcome.testPartExecutor(self):
621 for test, reason in outcome.skipped:
623 self._feedErrorsToResult(result, outcome.errors)
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_client_application.py172 outcome = _run_stream_stream(stub)
174 outcomes[index] = outcome
183 for outcome in outcomes:
184 if outcome.kind is not Outcome.Kind.SATISFACTORY:
/external/u-boot/tools/buildman/
Dbuilder.py779 outcome = self.GetBuildOutcome(commit_upto, board.target,
782 board_dict[board.target] = outcome
785 for line in outcome.err_lines:
809 if outcome.config:
810 for key, value in outcome.config[fname].iteritems():
815 if outcome.environment:
816 for key, value in outcome.environment.iteritems():
961 outcome = result['_outcome']
963 for fname in outcome.func_sizes:
966 outcome.func_sizes[fname])
[all …]
/external/python/cpython3/Lib/
Dfilecmp.py60 outcome = _cache.get((f1, f2, s1, s2))
61 if outcome is None:
62 outcome = _do_cmp(f1, f2)
65 _cache[f1, f2, s1, s2] = outcome
66 return outcome
/external/python/cpython2/Lib/
Dfilecmp.py51 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/tools/testrunner/objects/
Dtestcase.py88 def is_flag(outcome): argument
89 return outcome.startswith('--')
90 def not_flag(outcome): argument
91 return not is_flag(outcome)
/external/python/cpython3/Lib/test/test_email/
Dtest_message.py619 def subtype_as_make(self, method, subtype, outcome): argument
622 if outcome in ('', 'raises'):
637 def subtype_as_make_with_boundary(self, method, subtype, outcome): argument
640 if outcome in ('', 'raises'):
665 def subtype_as_add(self, method, subtype, outcome): argument
669 if outcome == 'raises':

1234567