Home | History | Annotate | Download | only in tests

Lines Matching refs:testState

245 struct TestState {
268 TestState fState;
269 void (*fTestFun)(TestState*);
275 TestRunnableDir(void (*testFun)(TestState*), int dirNo, TestRunner* runner) {
284 TestRunnableFile(void (*testFun)(TestState*), int dirNo, const char* name, TestRunner* runner) {
293 TestRunnableEncode(void (*testFun)(TestState*), int dirNo, const char* name, TestRunner* runner)
363 static bool addError(TestState* data, const TestResult& testResult) {
671 static void testSkpClip(TestState* data) {
703 static bool doOneDir(TestState* state, bool threaded) {
758 static void testSkpClipEncode(TestState* data) {
765 static void encodeFound(TestState& state) {
841 TestState state;
857 static void testSkpClipMain(TestState* data) {
872 TestState state;
876 TestState& testState = testRunner.fRunnables[dirNo - 1]->fState;
877 SkASSERT(testState.fResult.fDirNo == dirNo);
878 for (int inner = 0; inner < testState.fPixelWorst.count(); ++inner) {
879 addError(&state, testState.fPixelWorst[inner]);
881 for (int inner = 0; inner < testState.fSlowest.count(); ++inner) {
882 addError(&state, testState.fSlowest[inner]);
960 TestState state;