Lines Matching defs:test
38 // make defining the test expectations and order independence more cumbersome.
45 // TestCase test = TestCase::Build("example", deviceBounds)
146 // Finish and return the original test case builder
184 TestCase test(fName, fDeviceBounds, fExpectedState,
188 return test;
292 // test cases can be evaluated.
298 SkDEBUGFAIL("Shape type not handled by test case yet.");
331 SkDEBUGFAIL("Shape type not handled by test case yet.");
370 // shouldn't match multiple expected elements or it's a bad test case
406 static void run_test_case(skiatest::Reporter* r, const TestCase& test) {
407 int n = (int) test.initialElements().size();
421 test.run(order, policy, r);
425 // Heap's algorithm (non-recursive) to generate every permutation over the test case's elements
1076 // ClipStack so that we test heap allocation as well.
1914 SkASSERT(cs.clipState() == ClipStack::ClipState::kDeviceRect); // test precondition
1922 // atlases. This lets us define the test regularly instead of a GPU-only test.
1923 // - This is not exhaustive and is challenging to unit test, so apply() is predominantly tested by