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

Side by Side Diff: mojo/ui/gl_renderer_apptest.cc

Issue 1775273002: Mozart: Rename ui:unittests to ui:apptests since that's what it is. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « mojo/ui/BUILD.gn ('k') | mojo/ui/gl_renderer_unittest.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 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 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/message_loop/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "mojo/gpu/gl_context.h" 7 #include "mojo/gpu/gl_context.h"
8 #include "mojo/gpu/gl_texture.h" 8 #include "mojo/gpu/gl_texture.h"
9 #include "mojo/public/cpp/application/application_impl.h" 9 #include "mojo/public/cpp/application/application_impl.h"
10 #include "mojo/public/cpp/application/application_test_base.h" 10 #include "mojo/public/cpp/application/application_test_base.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 ->OnMailboxTextureReleased(); 209 ->OnMailboxTextureReleased();
210 210
211 KickMessageLoop(); 211 KickMessageLoop();
212 212
213 // Get a texture of the same size, should be null due to the released context. 213 // Get a texture of the same size, should be null due to the released context.
214 std::unique_ptr<mojo::GLTexture> texture2 = renderer.GetTexture(size); 214 std::unique_ptr<mojo::GLTexture> texture2 = renderer.GetTexture(size);
215 EXPECT_EQ(texture2.get(), nullptr); 215 EXPECT_EQ(texture2.get(), nullptr);
216 } 216 }
217 217
218 } // namespace 218 } // namespace
OLDNEW
« no previous file with comments | « mojo/ui/BUILD.gn ('k') | mojo/ui/gl_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698