Home | History | Annotate | Download | only in tests

Lines Matching defs:TestResult

59 struct TestResult {
74 TestResult test;
127 TestResult fResult;
283 static bool addError(TestState* data, const TestResult& testResult) {
286 int pixelError = testResult.fPixelError;
289 strcpy(data->fFilesFound[dCount], testResult.fFilename);
290 data->fDirsFound[dCount] = testResult.fDirNo;
302 strcpy(data->fFilesFound[smallestIndex], testResult.fFilename);
303 data->fDirsFound[smallestIndex] = testResult.fDirNo;
363 void TestResult::testOne() {
466 bool fetch(SkFILEStream& reader, TestResult* result) {
512 bool match(const SkString& filename, SkFILEWStream* stream, TestResult* result) {
526 SkTArray<TestResult, true> fResults;
555 TestResult& result = state->fResult;
610 TestResult::Test(state.fDirsFound[index], state.fFilesFound[index], kEncodeFiles);
619 SkTArray<TestResult, true> errors;
654 TestResult& testResult = testState.fResult;
655 SkASSERT(testResult.fDirNo == dirNo);
656 testResult.fPixelError = testState.fError[inner];
657 strcpy(testResult.fFilename, testState.fFilesFound[inner]);
658 addError(&state, testResult);
672 TestResult state;