Home | History | Annotate | Download | only in tests

Lines Matching full:testresult

170 struct TestResult {
224 class SortByPixel : public TestResult {
231 class SortByTime : public TestResult {
238 class SortByName : public TestResult {
252 TestResult fResult;
363 static bool addError(TestState* data, const TestResult& testResult) {
364 if (testResult.fPixelError <= 0 && testResult.fTime <= 0) {
368 int pixelError = testResult.fPixelError;
372 data->fPixelWorst[index] = *(SortByPixel*) &testResult;
378 int time = testResult.fTime;
382 data->fSlowest[index] = *(SortByTime*) &testResult;
388 *data->fPixelWorst.append() = *(SortByPixel*) &testResult;
392 *data->fSlowest.append() = *(SortByTime*) &testResult;
442 void TestResult::testOne() {
627 SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) {
635 TestResult test;
656 SkTDArray<TestResult>& testSet = tests[dirNo - firstDirNo];
709 SkTDArray<TestResult> tests[1];
734 TestResult test;
774 const TestResult& result = *worst[index];
786 const TestResult& result = *slowest[index];
794 const TestResult& result = state.fPixelWorst[index];
840 SkTArray<TestResult, true> errors;
888 static bool buildTests(SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) {
905 SkAutoTDeleteArray<SkTDArray<TestResult> > tests(new SkTDArray<TestResult>[dirCount]);
944 SkAutoTDeleteArray<SkTDArray<TestResult> > results(new SkTDArray<TestResult>[dirCount]);
948 SkTDArray<TestResult> allResults;
950 SkTDArray<TestResult>& array = results.get()[dirNo - firstDirNo];
989 TestResult state;
1009 TestResult state;