| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_TEST_BASE_H_ | 5 #ifndef MOJO_SHELL_PUBLIC_CPP_APPLICATION_TEST_BASE_H_ |
| 6 #define MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_TEST_BASE_H_ | 6 #define MOJO_SHELL_PUBLIC_CPP_APPLICATION_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include "mojo/application/public/cpp/application_delegate.h" | |
| 9 #include "mojo/application/public/interfaces/application.mojom.h" | |
| 10 #include "mojo/public/cpp/bindings/array.h" | 8 #include "mojo/public/cpp/bindings/array.h" |
| 11 #include "mojo/public/cpp/bindings/string.h" | 9 #include "mojo/public/cpp/bindings/string.h" |
| 12 #include "mojo/public/cpp/system/macros.h" | 10 #include "mojo/public/cpp/system/macros.h" |
| 11 #include "mojo/shell/public/cpp/application_delegate.h" |
| 12 #include "mojo/shell/public/interfaces/application.mojom.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 14 |
| 15 namespace mojo { | 15 namespace mojo { |
| 16 | 16 |
| 17 class ApplicationImpl; | 17 class ApplicationImpl; |
| 18 | 18 |
| 19 namespace test { | 19 namespace test { |
| 20 | 20 |
| 21 // Run all application tests. This must be called after the environment is | 21 // Run all application tests. This must be called after the environment is |
| 22 // initialized, to support construction of a default run loop. | 22 // initialized, to support construction of a default run loop. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 49 // The application delegate used if GetApplicationDelegate is not overridden. | 49 // The application delegate used if GetApplicationDelegate is not overridden. |
| 50 ApplicationDelegate default_application_delegate_; | 50 ApplicationDelegate default_application_delegate_; |
| 51 | 51 |
| 52 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationTestBase); | 52 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationTestBase); |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace test | 55 } // namespace test |
| 56 | 56 |
| 57 } // namespace mojo | 57 } // namespace mojo |
| 58 | 58 |
| 59 #endif // MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_TEST_BASE_H_ | 59 #endif // MOJO_SHELL_PUBLIC_CPP_APPLICATION_TEST_BASE_H_ |
| OLD | NEW |