# Copyright (c) 2022 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")

#################################group#########################################
group("unittest") {
  testonly = true
  deps = []

  if (!use_libfuzzer) {
    deps += [
      "cpp_test:FullImeInfoManagerTest",
      "cpp_test:IdentityCheckerTest",
      "cpp_test:ImaTextEditTest",
      "cpp_test:ImeControllerCpaiTest",
      "cpp_test:ImeEnabledInfoManagerTest",
      "cpp_test:ImeEventListenerManagerTest",
      "cpp_test:ImeFreezeManagerTest",
      "cpp_test:ImeMirrorDemo",
      "cpp_test:ImeMirrorTest",
      "cpp_test:ImeProxyAgentImeTest",
      "cpp_test:ImeProxyDemo",
      "cpp_test:ImeProxyTest",
      "cpp_test:ImeSystemChannelTest",
      "cpp_test:ImfExtMockTest",
      "cpp_test:ImfHisysEventReporterTest",
      "cpp_test:InputMethodAbilityTest",
      "cpp_test:InputMethodAttachTest",
      "cpp_test:InputMethodControllerTest",
      "cpp_test:InputMethodDfxTest",
      "cpp_test:InputMethodEditorTest",
      "cpp_test:InputMethodManagerCommandTest",
      "cpp_test:InputMethodMessageHandlerTest",
      "cpp_test:InputMethodPanelAdjustTest",
      "cpp_test:InputMethodPanelTest",
      "cpp_test:InputMethodPrivateMemberTest",
      "cpp_test:InputMethodSeccompTest",
      "cpp_test:InputMethodServiceTest",
      "cpp_test:InputMethodSwitchTest",
      "cpp_test:JsonOperateTest",
      "cpp_test:NewImeSwitchTest",
      "cpp_test:NumKeyAppsManagerTest",
      "cpp_test:OnDemandStartStopSaTest",
      "cpp_test:ResSchedAdapterTest",
      "cpp_test:StringUtilsTest",
      "cpp_test:TaskManagerTest",
      "cpp_test:TextListenerInnerApiTest",
      "cpp_test:VirtualListenerTest",
      "cpp_test:WindowAdapterTest",
      "cpp_test:InputMethodDisplayAttributeListenerTest",
      "cpp_test/common:inputmethod_tdd_util",
      "cpp_test:NotifyServiceImplTest",
      "cpp_test:InputMethodToolsTest",
      "napi_test/src:GetInputMethodJsTest",
      "resource/bundle_dependencies/editorBox:editorBox",
      "resource/bundle_dependencies/extImfBundle:extImf",
      "resource/bundle_dependencies/newTestIme:newTestIme",
      "resource/ohos_test:copy_ohos_test",
      "cpp_test:SamgrAdapterTest",
      "cpp_test:OsAccountListenerTest",
      "cpp_test:DisplayAdapterTest",
      "cpp_test:ImeMultiUserTest",
      "cpp_test:ImeInfoInquirerTest",
      "cpp_test:InputMethodExtensionContextTest",
      "cpp_test:InputMethodExtensionTest",
      "cpp_test:InputMethodExtensionModuleLoaderTest",
      "cpp_test:WmsConnectionMonitorTest",
      "cpp_test:KeyboardEventTest",
      "cpp_test:InputEventCallbackTest",
      "cpp_test:EnableUpgradeManagerTest",
      "cpp_test:PerUserSessionTest",
      "cpp_test:SystemCmdChannelServiceImplTest",
    ]
  }
}
###############################################################################