blob: 1b39f08f0eca25b31255e6eb3fb60a742001ba5c [file] [log] [blame]
Michael Spangefa630b2020-07-08 22:23:08 -04001# Copyright (c) 2020 Project CHIP Authors
2#
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
Ɓukasz Duda4e1faf22021-01-27 17:47:25 +010015import("//build_overrides/build.gni")
Michael Spangefa630b2020-07-08 22:23:08 -040016import("//build_overrides/chip.gni")
17import("//build_overrides/nlunit_test.gni")
18
Michael Spang09611bf2021-03-02 16:31:57 -050019import("${chip_root}/build/chip/chip_test_suite.gni")
Michael Spangefa630b2020-07-08 22:23:08 -040020
21chip_test_suite("tests") {
22 output_name = "libSetupPayloadTests"
23
Andrei Litvin9a777772020-12-04 18:32:50 -050024 test_sources = [
hnnajhdddd5d12021-09-16 19:19:04 -070025 "TestAdditionalDataPayload.cpp",
Michael Spangefa630b2020-07-08 22:23:08 -040026 "TestManualCode.cpp",
Michael Spangefa630b2020-07-08 22:23:08 -040027 "TestQRCode.cpp",
Michael Spangefa630b2020-07-08 22:23:08 -040028 "TestQRCodeTLV.cpp",
Michael Spangefa630b2020-07-08 22:23:08 -040029 ]
30
Andrei Litvin9a777772020-12-04 18:32:50 -050031 sources = [ "TestHelpers.h" ]
32
Boris Zbarskycb216942020-12-01 19:39:23 -050033 cflags = [ "-Wconversion" ]
34
Michael Spangefa630b2020-07-08 22:23:08 -040035 public_deps = [
Andrei Litvindacfe1b2022-06-27 11:40:37 -040036 "${chip_root}/src/lib/support:testing",
Vivien Nicolas8a126952023-03-08 16:24:00 +010037 "${chip_root}/src/platform",
Michael Spangefa630b2020-07-08 22:23:08 -040038 "${chip_root}/src/setup_payload",
39 "${nlunit_test_root}:nlunit-test",
40 ]
Michael Spangefa630b2020-07-08 22:23:08 -040041}