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

Side by Side Diff: content/browser/gpu/compositor_util_browsertest.cc

Issue 807423003: Remove CompositorUtilTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/gpu/compositor_util.h"
6 #include "content/public/test/content_browser_test.h"
7
8 #if defined(OS_MACOSX)
9 #include "base/mac/mac_util.h"
10 #elif defined(OS_WIN)
11 #include "base/win/windows_version.h"
12 #endif
13
14 namespace content {
15
16 typedef ContentBrowserTest CompositorUtilTest;
17
18 // Test that compositing is in the expected mode on the bots for all platforms.
19 IN_PROC_BROWSER_TEST_F(CompositorUtilTest, CompositingModeAsExpected) {
20 enum CompositingMode {
21 DIRECT,
22 DELEGATED,
23 } expected_mode = DIRECT;
24 #if defined(USE_AURA) || defined(OS_ANDROID)
25 expected_mode = DELEGATED;
26 #elif defined(OS_MACOSX)
27 expected_mode = DELEGATED;
28 #endif
29
30 EXPECT_EQ(expected_mode == DELEGATED, IsDelegatedRendererEnabled());
31 }
32
33 }
OLDNEW
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698