aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TestTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TestTest.cpp')
-rw-r--r--tests/TestTest.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/TestTest.cpp b/tests/TestTest.cpp
index fbec68340a..ee691f4a63 100644
--- a/tests/TestTest.cpp
+++ b/tests/TestTest.cpp
@@ -7,11 +7,8 @@
#include "Test.h"
-#if SK_SUPPORT_GPU
#include "GrContext.h"
#include "gl/GLTestContext.h"
-#endif
-
// This is an example of a normal test.
DEF_TEST(TestNormal, reporter) {
@@ -19,35 +16,27 @@ DEF_TEST(TestNormal, reporter) {
}
// This is an example of a GPU test that uses GrContextOptions to do the test.
-#if SK_SUPPORT_GPU
DEF_GPUTEST(TestGpuFactory, reporter, factory) {
REPORTER_ASSERT(reporter, reporter);
}
-#endif
// This is an example of a GPU test that tests a property that should work for all GPU contexts.
// Note: Some of the contexts might not produce a rendering output.
-#if SK_SUPPORT_GPU
DEF_GPUTEST_FOR_ALL_CONTEXTS(TestGpuAllContexts, reporter, ctxInfo) {
REPORTER_ASSERT(reporter, reporter);
REPORTER_ASSERT(reporter, ctxInfo.grContext());
}
-#endif
// This is an example of a GPU test that tests a property that should work for all GPU contexts that
// produce a rendering output.
-#if SK_SUPPORT_GPU
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, ctxInfo) {
REPORTER_ASSERT(reporter, reporter);
REPORTER_ASSERT(reporter, ctxInfo.grContext());
}
-#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
DEF_GPUTEST_FOR_NULLGL_CONTEXT(TestGpuNullContext, reporter, ctxInfo) {
REPORTER_ASSERT(reporter, reporter);
REPORTER_ASSERT(reporter, ctxInfo.grContext());
}
-#endif