Home | History | Annotate | Download | only in tests

Lines Matching refs:TestState

243 struct TestState {
266 TestState fState;
267 void (*fTestFun)(TestState*);
273 TestRunnableDir(void (*testFun)(TestState*), int dirNo, TestRunner* runner) {
282 TestRunnableFile(void (*testFun)(TestState*), int dirNo, const char* name, TestRunner* runner) {
291 TestRunnableEncode(void (*testFun)(TestState*), int dirNo, const char* name, TestRunner* runner)
360 static bool addError(TestState* data, const TestResult& testResult) {
668 static void testSkpClip(TestState* data) {
700 static bool doOneDir(TestState* state, bool threaded) {
755 static void testSkpClipEncode(TestState* data) {
762 static void encodeFound(TestState& state) {
837 TestState state;
853 static void testSkpClipMain(TestState* data) {
867 TestState state;
871 TestState& testState = testRunner.fRunnables[dirNo - 1]->fState;
872 SkASSERT(testState.fResult.fDirNo == dirNo);
873 for (int inner = 0; inner < testState.fPixelWorst.count(); ++inner) {
874 addError(&state, testState.fPixelWorst[inner]);
876 for (int inner = 0; inner < testState.fSlowest.count(); ++inner) {
877 addError(&state, testState.fSlowest[inner]);
955 TestState state;