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

Side by Side Diff: services/log/log_impl_unittest.cc

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased Created 4 years, 6 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 #include <string> 5 #include <string>
6 #include <utility> 6 #include <utility>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/test/test_timeouts.h" 10 #include "base/test/test_timeouts.h"
11 #include "mojo/public/c/environment/logger.h" 11 #include "mojo/public/c/environment/logger.h"
12 #include "mojo/public/cpp/application/application_impl.h"
13 #include "mojo/public/cpp/application/application_test_base.h" 12 #include "mojo/public/cpp/application/application_test_base.h"
14 #include "mojo/public/cpp/application/connection_context.h" 13 #include "mojo/public/cpp/application/connection_context.h"
15 #include "mojo/public/cpp/system/time.h" 14 #include "mojo/public/cpp/system/time.h"
16 #include "mojo/services/log/interfaces/entry.mojom.h" 15 #include "mojo/services/log/interfaces/entry.mojom.h"
17 #include "mojo/services/log/interfaces/log.mojom.h" 16 #include "mojo/services/log/interfaces/log.mojom.h"
18 #include "services/log/log_impl.h" 17 #include "services/log/log_impl.h"
19 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
20 19
21 namespace mojo { 20 namespace mojo {
22 namespace log { 21 namespace log {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 "<mojo:log_impl_unittest> [INFO] file.ext:1: 1234567890", 66 "<mojo:log_impl_unittest> [INFO] file.ext:1: 1234567890",
68 "<mojo:log_impl_unittest> [INFO] 1234567890", 67 "<mojo:log_impl_unittest> [INFO] 1234567890",
69 "<mojo:log_impl_unittest> [INFO] <no message>", 68 "<mojo:log_impl_unittest> [INFO] <no message>",
70 }; 69 };
71 EXPECT_EQ(kExpectedMessages, messages); 70 EXPECT_EQ(kExpectedMessages, messages);
72 } 71 }
73 72
74 } // namespace 73 } // namespace
75 } // namespace log 74 } // namespace log
76 } // namespace mojo 75 } // namespace mojo
OLDNEW
« no previous file with comments | « services/js/test/js_application_test_base.h ('k') | services/media/factory_service/audio_track_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698