aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrContextFactoryTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GrContextFactoryTest.cpp')
-rw-r--r--tests/GrContextFactoryTest.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/tests/GrContextFactoryTest.cpp b/tests/GrContextFactoryTest.cpp
index 787f16c983..79209c719f 100644
--- a/tests/GrContextFactoryTest.cpp
+++ b/tests/GrContextFactoryTest.cpp
@@ -12,23 +12,6 @@
#include "GrContextFactory.h"
#include "Test.h"
-DEF_GPUTEST(GrContextFactory, reporter, factory) {
- // Reset in case some other test has been using it first.
- factory->destroyContexts();
-
- // Before we ask for a context, we expect the GL context to not be there.
- REPORTER_ASSERT(reporter,
- nullptr == factory->getGLContext(GrContextFactory::kNull_GLContextType));
-
- // After we ask for a context, we expect that the GL context to be there.
- factory->get(GrContextFactory::kNull_GLContextType);
- REPORTER_ASSERT(reporter,
- factory->getGLContext(GrContextFactory::kNull_GLContextType) != nullptr);
-
- // If we did not ask for a context with the particular GL context, we would
- // expect the particular GL context to not be there.
- REPORTER_ASSERT(reporter,
- nullptr == factory->getGLContext(GrContextFactory::kDebug_GLContextType));
-}
+// TODO: test GrContextFactory.
#endif