Home | History | Annotate | Download | only in tests

Lines Matching refs:testState

310 struct TestState {
342 TestState fState;
343 void (*fTestFun)(TestState*);
349 TestRunnableDir(void (*testFun)(TestState*), int dirNo, TestRunner* runner) {
358 TestRunnableFile(void (*testFun)(TestState*), int dirNo, const char* name, TestRunner* runner) {
367 TestRunnableEncode(void (*testFun)(TestState*), int dirNo, const char* name, TestRunner* runner)
505 static bool addError(TestState* data, const TestResult& testResult) {
770 static bool doOneDir(TestState* state, bool threaded) {
842 static void testSkpClipEncode(TestState* data) {
849 static void encodeFound(skiatest::Reporter* reporter, TestState& state) {
907 TestState state;
921 static void testSkpClipMain(TestState* data) {
937 TestState state;
940 TestState& testState = testRunner.fRunnables[dirNo - 1]->fState;
941 SkASSERT(testState.fResult.fDirNo == dirNo);
942 for (int inner = 0; inner < testState.fPixelWorst.count(); ++inner) {
943 addError(&state, testState.fPixelWorst[inner]);
945 for (int inner = 0; inner < testState.fSlowest.count(); ++inner) {
946 addError(&state, testState.fSlowest[inner]);
952 static void testSkpClipUber(TestState* data) {
1090 TestState state;