Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Unified Diff: gpu/command_buffer/tests/egl_test.cc

Issue 1680743007: Revert of command_buffer_gles2: Add test command_buffer_gles2_test for command_buffer_gles2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/tests/egl_test.cc
diff --git a/gpu/command_buffer/tests/egl_test.cc b/gpu/command_buffer/tests/egl_test.cc
deleted file mode 100644
index bf7e30e5f81610aafbdf6fa9072756a2f277ea3a..0000000000000000000000000000000000000000
--- a/gpu/command_buffer/tests/egl_test.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "testing/gmock/include/gmock/gmock.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-#include <EGL/egl.h>
-
-// This file tests EGL basic interface for command_buffer_gles2, the mode of
-// command buffer where the code is compiled as a standalone dynamic library and
-// exposed through EGL API.
-namespace gpu {
-
-using testing::Test;
-
-TEST_F(Test, BasicEGLInitialization) {
- EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
- ASSERT_NE(display, EGL_NO_DISPLAY);
-
- // Test for no crash even though passing nullptrs for major, minor.
- EGLBoolean success = eglInitialize(display, nullptr, nullptr);
- ASSERT_TRUE(success);
-
- EGLint major = 0;
- EGLint minor = 0;
- success = eglInitialize(display, &major, &minor);
- ASSERT_TRUE(success);
- ASSERT_EQ(major, 1);
- ASSERT_EQ(minor, 4);
-
- success = eglTerminate(display);
- ASSERT_TRUE(success);
-}
-
-} // namespace gpu
« no previous file with comments | « gpu/command_buffer/tests/command_buffer_gles2_tests_main.cc ('k') | gpu/command_buffer_gles2_tests_apk.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698