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

Unified Diff: ui/ozone/platform/dri/dri_surface_factory_unittest.cc

Issue 399953003: ozone: Remove InitializeHardware / ShutdownHardware (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests more Created 6 years, 5 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
« no previous file with comments | « ui/ozone/platform/dri/dri_surface_factory.cc ('k') | ui/ozone/platform/dri/ozone_platform_dri.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_surface_factory_unittest.cc
diff --git a/ui/ozone/platform/dri/dri_surface_factory_unittest.cc b/ui/ozone/platform/dri/dri_surface_factory_unittest.cc
index 925452dce53a615806839322336a7be05ccfd899..8288c323921ecd47cbba4443b9cb2755da3977ad 100644
--- a/ui/ozone/platform/dri/dri_surface_factory_unittest.cc
+++ b/ui/ozone/platform/dri/dri_surface_factory_unittest.cc
@@ -80,16 +80,16 @@ void DriSurfaceFactoryTest::TearDown() {
TEST_F(DriSurfaceFactoryTest, FailInitialization) {
dri_->fail_init();
- EXPECT_EQ(ui::SurfaceFactoryOzone::FAILED, factory_->InitializeHardware());
+ EXPECT_EQ(ui::DriSurfaceFactory::FAILED, factory_->InitializeHardware());
}
TEST_F(DriSurfaceFactoryTest, SuccessfulInitialization) {
- EXPECT_EQ(ui::SurfaceFactoryOzone::INITIALIZED,
+ EXPECT_EQ(ui::DriSurfaceFactory::INITIALIZED,
factory_->InitializeHardware());
}
TEST_F(DriSurfaceFactoryTest, SuccessfulWidgetRealization) {
- EXPECT_EQ(ui::SurfaceFactoryOzone::INITIALIZED,
+ EXPECT_EQ(ui::DriSurfaceFactory::INITIALIZED,
factory_->InitializeHardware());
gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget();
@@ -99,7 +99,7 @@ TEST_F(DriSurfaceFactoryTest, SuccessfulWidgetRealization) {
}
TEST_F(DriSurfaceFactoryTest, SetCursorImage) {
- EXPECT_EQ(ui::SurfaceFactoryOzone::INITIALIZED,
+ EXPECT_EQ(ui::DriSurfaceFactory::INITIALIZED,
factory_->InitializeHardware());
gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget();
« no previous file with comments | « ui/ozone/platform/dri/dri_surface_factory.cc ('k') | ui/ozone/platform/dri/ozone_platform_dri.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698