summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'configstore/1.1/vts/functional/VtsHalConfigstoreV1_1TargetTest.cpp')
-rw-r--r--configstore/1.1/vts/functional/VtsHalConfigstoreV1_1TargetTest.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/configstore/1.1/vts/functional/VtsHalConfigstoreV1_1TargetTest.cpp b/configstore/1.1/vts/functional/VtsHalConfigstoreV1_1TargetTest.cpp
deleted file mode 100644
index bd3da4c4..00000000
--- a/configstore/1.1/vts/functional/VtsHalConfigstoreV1_1TargetTest.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
1/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#define LOG_TAG "ConfigstoreHidlHalTest"
18
19#include <VtsHalHidlTargetTestBase.h>
20#include <android-base/logging.h>
21#include <android/hardware/configstore/1.0/types.h>
22#include <android/hardware/configstore/1.1/ISurfaceFlingerConfigs.h>
23#include <unistd.h>
24
25using ::android::hardware::configstore::V1_1::ISurfaceFlingerConfigs;
26using ::android::sp;
27
28#define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk())
29#define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk())
30
31class ConfigstoreHidlTest : public ::testing::VtsHalHidlTargetTestBase {
32 public:
33 sp<ISurfaceFlingerConfigs> sfConfigs;
34
35 virtual void SetUp() override {
36 sfConfigs = ::testing::VtsHalHidlTargetTestBase::getService<ISurfaceFlingerConfigs>();
37 ASSERT_NE(sfConfigs, nullptr);
38 }
39
40 virtual void TearDown() override {}
41};
42
43/**
44 * Placeholder testcase.
45 */
46TEST_F(ConfigstoreHidlTest, Test) {
47 ASSERT_TRUE(true);
48}
49
50int main(int argc, char** argv) {
51 ::testing::InitGoogleTest(&argc, argv);
52 int status = RUN_ALL_TESTS();
53 LOG(INFO) << "Test result = " << status;
54 return status;
55}