OLD | NEW |
| (Empty) |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SERVICES_DEVICE_DEVICE_SERVICE_TEST_BASE_H_ | |
6 #define SERVICES_DEVICE_DEVICE_SERVICE_TEST_BASE_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "services/service_manager/public/cpp/service_test.h" | |
10 | |
11 namespace device { | |
12 | |
13 // Base class responsible to setup Device Service for test. | |
14 class DeviceServiceTestBase : public service_manager::test::ServiceTest { | |
15 public: | |
16 DeviceServiceTestBase(); | |
17 ~DeviceServiceTestBase() override; | |
18 | |
19 private: | |
20 // service_manager::test::ServiceTest: | |
21 std::unique_ptr<service_manager::Service> CreateService() override; | |
22 | |
23 DISALLOW_COPY_AND_ASSIGN(DeviceServiceTestBase); | |
24 }; | |
25 | |
26 } // namespace device | |
27 | |
28 #endif // SERVICES_DEVICE_DEVICE_SERVICE_TEST_BASE_H_ | |
OLD | NEW |