| import("//build_overrides/build.gni") |
| import("//build_overrides/chip.gni") |
| import("//build_overrides/nlunit_test.gni") |
| import("${chip_root}/build/chip/chip_test_suite.gni") |
| import("${chip_root}/src/app/icd/icd.gni") |
| |
| chip_test_suite_using_nltest("tests") { |
| output_name = "libSecureChannelTests" |
| |
| test_sources = [ |
| "TestCASESession.cpp", |
| "TestCheckinMsg.cpp", |
| "TestDefaultSessionResumptionStorage.cpp", |
| "TestPASESession.cpp", |
| "TestPairingSession.cpp", |
| "TestSimpleSessionResumptionStorage.cpp", |
| "TestStatusReport.cpp", |
| |
| # TODO - Fix Message Counter Sync to use group key |
| # "TestMessageCounterManager.cpp", |
| ] |
| |
| sources = [ "CheckIn_Message_test_vectors.h" ] |
| |
| public_deps = [ |
| "${chip_root}/src/app/icd/server:icd-server-config", |
| "${chip_root}/src/credentials/tests:cert_test_vectors", |
| "${chip_root}/src/crypto/tests:tests.lib", |
| "${chip_root}/src/lib/core", |
| "${chip_root}/src/lib/support", |
| "${chip_root}/src/lib/support:test_utils", |
| "${chip_root}/src/lib/support:testing", |
| "${chip_root}/src/lib/support:testing_nlunit", |
| "${chip_root}/src/messaging/tests:helpers", |
| "${chip_root}/src/protocols", |
| "${chip_root}/src/protocols/secure_channel", |
| "${chip_root}/src/transport/raw/tests:helpers", |
| "${nlunit_test_root}:nlunit-test", |
| ] |
| |
| cflags = [ "-Wconversion" ] |
| |
| if (chip_enable_icd_server) { |
| public_deps += [ "${chip_root}/src/app/icd/server:configuration-data" ] |
| } |
| } |