Home | History | Annotate | Download | only in tests

Lines Matching defs:Test

43     { 6, "http___www_googleventures_com_.skp", true},  // addTCoincident SkASSERT(test->fT < 1);
58 {71, "http___www_1milyonkahraman_org_.skp", true}, // addTCoincident SkASSERT(test->fT < 1);
206 void test(int dirNo, const SkString& filename) {
522 "[~][^]substring[$] [...] of test name to run.\n"
524 "~ causes a matching test to always be skipped\n"
525 "^ requires the start of the test to match\n"
526 "$ requires the end of the test to match\n"
528 "If a test does not match any list entry,\n"
531 DEFINE_string2(skp, s, nullptr, "skp to test");
533 DEFINE_int32(testIndex, 0, "override local test index (PathOpsSkpClipOneOff only).");
632 TestResult test;
633 test.init(dirNo);
642 int success = sscanf(spaces, "%s %d %d skp", test.fFilename,
643 &test.fPixelError, &test.fTime);
648 *tests[dirNo - firstDirNo].append() = test;
731 TestResult test;
732 test.init(dirNo, filename);
733 state->fResult = test;
802 class Test {
804 Test() {}
805 virtual ~Test() {}
818 typedef SkTRegistry<Test*(*)(void*)> TestRegistry;
822 class name##Class : public Test { \
824 static Test* Factory(void*) { return new name##Class; } \
985 state.test(dirNo, filename);
1005 state.test(dirNo, filename);
1035 Test* next() {
1039 Test* test = fact(nullptr);
1040 return test;
1092 Test* test;
1093 while ((test = iter.next()) != nullptr) {
1094 SkAutoTDelete<Test> owned(test);
1095 if (!SkCommandLineFlags::ShouldSkip(FLAGS_match, test->getName())) {
1096 test->run();