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

Side by Side Diff: chrome/browser/gpu_uitest.cc

Issue 7541001: Move more files from chrome/test to chrome/test/base, part #3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gpu_pixel_browsertest.cc ('k') | chrome/browser/media_uitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <string> 5 #include <string>
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 #include "chrome/test/test_launcher_utils.h" 9 #include "chrome/test/base/test_launcher_utils.h"
10 #include "chrome/test/ui/ui_test.h" 10 #include "chrome/test/ui/ui_test.h"
11 #include "net/base/net_util.h" 11 #include "net/base/net_util.h"
12 #include "ui/gfx/gl/gl_implementation.h" 12 #include "ui/gfx/gl/gl_implementation.h"
13 13
14 class GPUUITest : public UITest { 14 class GPUUITest : public UITest {
15 protected: 15 protected:
16 GPUUITest() { 16 GPUUITest() {
17 } 17 }
18 18
19 virtual void SetUp() { 19 virtual void SetUp() {
(...skipping 19 matching lines...) Expand all
39 #define UITestCanLaunchWithOSMesa DISABLED_UITestCanLaunchWithOSMesa 39 #define UITestCanLaunchWithOSMesa DISABLED_UITestCanLaunchWithOSMesa
40 // http://crbug.com/76217 40 // http://crbug.com/76217
41 #endif 41 #endif
42 TEST_F(GPUUITest, UITestCanLaunchWithOSMesa) { 42 TEST_F(GPUUITest, UITestCanLaunchWithOSMesa) {
43 // Check the webgl test reports success and that the renderer was OSMesa. 43 // Check the webgl test reports success and that the renderer was OSMesa.
44 NavigateToURL( 44 NavigateToURL(
45 net::FilePathToFileURL(gpu_test_dir_.AppendASCII("webgl.html"))); 45 net::FilePathToFileURL(gpu_test_dir_.AppendASCII("webgl.html")));
46 46
47 EXPECT_EQ(std::wstring(L"SUCCESS: Mesa OffScreen"), GetActiveTabTitle()); 47 EXPECT_EQ(std::wstring(L"SUCCESS: Mesa OffScreen"), GetActiveTabTitle());
48 } 48 }
OLDNEW
« no previous file with comments | « chrome/browser/gpu_pixel_browsertest.cc ('k') | chrome/browser/media_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698