aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TestTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-04-05 10:57:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-05 10:57:14 -0700
commitf3261afed2b2a7853a3f94a7e5b0c11683c09579 (patch)
tree6f9690047c64c4b987cd0a3353aebeab9944c5eb /tests/TestTest.cpp
parentfea7de6c1459cb26c9e0a0c72033e9ccaea56530 (diff)
Remove 'native' context unit test macro.
The only test ran long is GLPrograms. I halved its iteration count to preserve the runtime on devices that support GL and GLES. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1855993002 Review URL: https://codereview.chromium.org/1855993002
Diffstat (limited to 'tests/TestTest.cpp')
-rw-r--r--tests/TestTest.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/TestTest.cpp b/tests/TestTest.cpp
index d72e02d5c1..66c9b2df5c 100644
--- a/tests/TestTest.cpp
+++ b/tests/TestTest.cpp
@@ -44,16 +44,6 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, context)
}
#endif
-// This is an example of a GPU test that tests a property that should work at least for the native
-// GPU context. If the test takes a long time to run, it may be appropriate to test only the native
-// context.
-#if SK_SUPPORT_GPU
-DEF_GPUTEST_FOR_NATIVE_CONTEXT(TestGpuNativeContext, reporter, context) {
- REPORTER_ASSERT(reporter, reporter);
- REPORTER_ASSERT(reporter, context);
-}
-#endif
-
// This is an example of a GPU test that tests a property that uses the null GPU context. It should
// be used if the test tests some behavior that is mocked with the null context.
#if SK_SUPPORT_GPU