blob: 685e19e34ec8731d2b5fdfe9006d56fbcf4c143b [file]
# Copyright (c) 2025 Project CHIP Authors
#
# 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_overrides/build.gni")
import("//build_overrides/chip.gni")
import("//build_overrides/pigweed.gni")
import("${chip_root}/build/chip/chip_test_suite.gni")
source_set("testing") {
sources = [
"AttributeTesting.cpp",
"AttributeTesting.h",
"ClusterTester.h",
"EmptyProvider.cpp",
"EmptyProvider.h",
"FabricTestFixture.h",
"MockCommandHandler.cpp",
"MockCommandHandler.h",
"TestAttributeChangeListener.h",
"TestEventGenerator.h",
"TestServerClusterContext.h",
"ValidateGlobalAttributes.h",
]
public_deps = [
"${chip_root}/src/app:command-handler",
"${chip_root}/src/app:interaction-model",
"${chip_root}/src/app:paths",
"${chip_root}/src/app/MessageDef:MessageDef",
"${chip_root}/src/app/data-model:data-model",
"${chip_root}/src/app/data-model-provider:core",
"${chip_root}/src/app/data-model-provider:data-model-provider",
"${chip_root}/src/app/data-model-provider:metadata",
"${chip_root}/src/app/data-model-provider:string-builder-adapters",
"${chip_root}/src/app/data-model-provider/tests:encode-decode",
"${chip_root}/src/app/persistence:default",
"${chip_root}/src/app/server:server",
"${chip_root}/src/app/server-cluster:server-cluster",
"${chip_root}/src/lib/core:string-builder-adapters",
"${chip_root}/src/lib/support",
"${chip_root}/src/lib/support:testing",
"${chip_root}/src/messaging:messaging",
"${chip_root}/src/protocols/interaction_model:interaction_model",
]
}