• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef PERIPHERAL_GNSS_TEST_H
17 #define PERIPHERAL_GNSS_TEST_H
18 
19 #include <gtest/gtest.h>
20 #include <v2_0/ignss_interface.h>
21 #include "gnss_measurement_callback_test.h"
22 #include "location_vendor_interface.h"
23 #include "iremote_object.h"
24 #include "if_system_ability_manager.h"
25 #include "iservice_registry.h"
26 #include "system_ability_definition.h"
27 #include "location_vendor_interface.h"
28 #include "location_vendor_lib.h"
29 
30 using OHOS::HDI::Location::Gnss::V2_0::IGnssCallback;
31 using OHOS::HDI::Location::Gnss::V2_0::IGnssInterface;
32 namespace OHOS {
33 namespace HDI {
34 namespace Location {
35 namespace Gnss {
36 namespace V2_0 {
37 
38 class PeripheralGnssTest : public testing::Test {
39 public:
40     void SetUp();
41     void TearDown();
42     sptr<GnssInterfaceImpl> gnssInstance_;
43     sptr<IGnssMeasurementCallback> gnssMeasurementCallback_;
44     sptr<IGnssCallback> gnssCallback_;
45 };
46 } // V2_0
47 } // Gnss
48 } // Location
49 } // HDI
50 } // OHOS
51 #endif // PERIPHERAL_GNSS_TEST_H