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

Side by Side Diff: content/common/gpu/gpu_memory_buffer_factory_test_template.h

Issue 1784723003: Migrate gpu_memory_buffer_factory_test_template to content/common/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix includes Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines tests that implementations of GpuMemoryBufferFactory should 5 // This file defines tests that implementations of GpuMemoryBufferFactory should
6 // pass in order to be conformant. 6 // pass in order to be conformant.
7 7
8 #ifndef CONTENT_TEST_GPU_MEMORY_BUFFER_FACTORY_TEST_TEMPLATE_H_ 8 #ifndef CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_TEST_TEMPLATE_H_
9 #define CONTENT_TEST_GPU_MEMORY_BUFFER_FACTORY_TEST_TEMPLATE_H_ 9 #define CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_TEST_TEMPLATE_H_
10 10
11 #include "content/common/gpu/gpu_memory_buffer_factory.h" 11 #include "content/common/gpu/gpu_memory_buffer_factory.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/gfx/buffer_format_util.h" 13 #include "ui/gfx/buffer_format_util.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 template <typename GpuMemoryBufferFactoryType> 17 template <typename GpuMemoryBufferFactoryType>
18 class GpuMemoryBufferFactoryTest : public testing::Test { 18 class GpuMemoryBufferFactoryTest : public testing::Test {
19 protected: 19 protected:
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 } 89 }
90 90
91 // The GpuMemoryBufferFactoryImportTest test case verifies that the 91 // The GpuMemoryBufferFactoryImportTest test case verifies that the
92 // GpuMemoryBufferFactory implementation handles import of buffers correctly. 92 // GpuMemoryBufferFactory implementation handles import of buffers correctly.
93 REGISTER_TYPED_TEST_CASE_P(GpuMemoryBufferFactoryImportTest, 93 REGISTER_TYPED_TEST_CASE_P(GpuMemoryBufferFactoryImportTest,
94 CreateGpuMemoryBufferFromHandle); 94 CreateGpuMemoryBufferFromHandle);
95 95
96 } // namespace content 96 } // namespace content
97 97
98 #endif // CONTENT_TEST_GPU_MEMORY_BUFFER_FACTORY_TEST_TEMPLATE_H_ 98 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_TEST_TEMPLATE_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_surface_texture_unittest.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698