blob: f31b023643c9c6c0dee31a145d48e9870931b921 [file] [log] [blame]
#include <memory>
#include "flutter/shell/platform/android/android_context_gl.h"
#include "flutter/shell/platform/android/android_environment_gl.h"
#include "gtest/gtest.h"
TEST(AndroidContextGl, Create) {
auto environment = fml::MakeRefCounted<flutter::AndroidEnvironmentGL>();
auto context = std::make_unique<flutter::AndroidContextGL>(
flutter::AndroidRenderingAPI::kOpenGLES, environment);
EXPECT_NE(context.get(), nullptr);
}