# Copyright (C) 2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/test.gni") ohos_unittest("multi_user_manager_service_test") { module_out_path = "filemanagement/storage_service/storage_manager" sources = [ "//foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/storage_daemon_proxy.cpp", "//foundation/filemanagement/storage_service/services/storage_manager/storage_daemon_communication/src/storage_daemon_communication.cpp", "//foundation/filemanagement/storage_service/services/storage_manager/user/src/multi_user_manager_service.cpp", "multi_user_manager_service_test.cpp", ] include_dirs = [ "//foundation/filemanagement/storage_service/services/common/include", "//foundation/filemanagement/storage_service/services/storage_manager/include", "//foundation/filemanagement/storage_service/services/storage_daemon/include", "//foundation/filemanagement/storage_service/utils/include", "include", "//utils/system/safwk/native/include", "//commonlibrary/c_utils/base/include", ] defines = [ "STORAGE_LOG_TAG = \"StorageManager\"", "LOG_DOMAIN = 0xD004300", ] deps = [ "//third_party/googletest:gtest_main" ] external_deps = [ "c_utils:utils", "hiviewdfx_hilog_native:libhilog", "init:libbegetutil", "ipc:ipc_core", "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } group("storage_manager_user_test") { testonly = true deps = [ ":multi_user_manager_service_test" ] }