Home
last modified time | relevance | path

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

1234

/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()
226 public synchronized void recordOutcome(Outcome outcome) { in recordOutcome() argument
227 outcomes.put(outcome.getName(), outcome); in recordOutcome() local
228 Expectation expectation = run.expectationStore.get(outcome); in recordOutcome()
229 ResultValue resultValue = outcome.getResultValue(expectation); in recordOutcome()
241 Result result = outcome.getResult(); in recordOutcome()
242 run.console.outcome(outcome.getName()); in recordOutcome()
243 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/brotli/go/cbrotli/internal/
Dencoder.go125 var outcome Status
127 outcome = Error
129 outcome = Ok
131 outcome = Done
133 return int(result.bytes_consumed), output, outcome
/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 …]
Dlmstruct.h66 int outcome; /* Status indicator. Nonnegative values are used as index member
/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/r8/tools/
Dutils.py100 def __init__(self, test_name, outcome): argument
102 self.outcome = outcome
122 outcome = m.groups()[0]
123 assert outcome in ['fail', 'pass']
124 yield CtsTest(m.groups()[1], outcome == 'pass')
Dtest_android_cts.py113 outcome = testcase.setdefault(x.name, x.outcome)
114 if outcome is not None and outcome != x.outcome:
/external/vogar/src/vogar/tasks/
DRunActionTask.java211 run.console.outcome(outcomeName); in output()
215 @Override public void finish(Outcome outcome) { in finish() argument
220 lastFinishedOutcome = toQualifiedOutcomeName(outcome.getName()); in finish()
222 run.driver.recordOutcome(new Outcome(lastFinishedOutcome, outcome.getResult(), in finish()
223 outcome.getOutputLines())); in finish()
/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/local/
Dtestsuite.py190 for outcome in t.outcomes:
191 if outcome.startswith('Flags: '):
192 t.flags += outcome[7:].split()
300 outcome = self.GetOutcome(testcase)
301 return not outcome in (testcase.outcomes or [statusfile.PASS])
Dstatusfile.py167 for outcome in item[1:]:
168 assert type(outcome) == str
169 _AddOutcome(result, outcome)
Dprogress.py150 outcome = 'CRASH'
152 outcome = 'FAIL'
154 outcome = 'pass'
155 print 'Done running %s: %s' % (test.GetLabel(), outcome)
/external/python/cpython2/Objects/
Dclassobject.c965 long outcome; in instance_hash() local
1015 outcome = res->ob_type->tp_hash(res); in instance_hash()
1019 outcome = -1; in instance_hash()
1022 return outcome; in instance_hash()
1041 Py_ssize_t outcome; in instance_length() local
1056 outcome = PyInt_AsSsize_t(res); in instance_length()
1057 if (outcome == -1 && PyErr_Occurred()) { in instance_length()
1063 if (outcome != (int)outcome) { in instance_length()
1066 outcome = -1; in instance_length()
1070 if (outcome < 0) { in instance_length()
[all …]
/external/r8/src/test/java/com/android/tools/r8/
DJctfTestSpecifications.java4832 Outcome outcome = null; in getExpectedOutcome() local
4835 outcome = Outcome.FAILS_WITH_ART; in getExpectedOutcome()
4838 assert outcome == null; in getExpectedOutcome()
4839 outcome = Outcome.TIMEOUTS_WITH_ART; in getExpectedOutcome()
4842 assert outcome == null; in getExpectedOutcome()
4843 outcome = Outcome.FLAKY_WITH_ART; in getExpectedOutcome()
4845 return outcome == null ? Outcome.PASSES : outcome; in getExpectedOutcome()
/external/webrtc/webrtc/test/
Dfake_network_pipe.cc35 int outcome = rand() % 100; in UniformLoss() local
36 return outcome < loss_percent; in UniformLoss()
/external/v8/src/compiler/
Doperation-typer.cc993 ComparisonOutcome outcome) { in Invert() argument
995 if ((outcome & kComparisonUndefined) != 0) result |= kComparisonUndefined; in Invert()
996 if ((outcome & kComparisonTrue) != 0) result |= kComparisonFalse; in Invert()
997 if ((outcome & kComparisonFalse) != 0) result |= kComparisonTrue; in Invert()
1001 Type* OperationTyper::FalsifyUndefined(ComparisonOutcome outcome) { in FalsifyUndefined() argument
1002 if ((outcome & kComparisonFalse) != 0 || in FalsifyUndefined()
1003 (outcome & kComparisonUndefined) != 0) { in FalsifyUndefined()
1004 return (outcome & kComparisonTrue) != 0 ? Type::Boolean() in FalsifyUndefined()
1008 DCHECK((outcome & kComparisonTrue) != 0); in FalsifyUndefined()
/external/crcalc/src/com/hp/creals/
DUnaryCRFunction.java486 int outcome; in approximate() local
497 outcome = sloppy_compare(f_guess, arg_appr); in approximate()
498 if (outcome != 0) break; in approximate()
544 if (outcome > 0) { in approximate()

1234