| import("//build_overrides/build.gni") |
| import("//build_overrides/chip.gni") |
| import("//build_overrides/nlio.gni") |
| import("//build_overrides/nlunit_test.gni") |
| |
| import("${chip_root}/build/chip/chip_test_suite.gni") |
| |
| chip_test_suite_using_nltest("tests") { |
| output_name = "libSecureChannelTests" |
| |
| test_sources = [ |
| "TestCASESession.cpp", |
| |
| # TODO - Fix Message Counter Sync to use group key |
| # "TestMessageCounterManager.cpp", |
| "TestCheckinMsg.cpp", |
| "TestDefaultSessionResumptionStorage.cpp", |
| "TestPASESession.cpp", |
| "TestPairingSession.cpp", |
| "TestSimpleSessionResumptionStorage.cpp", |
| "TestStatusReport.cpp", |
| ] |
| |
| public_deps = [ |
| "${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:testing", |
| "${chip_root}/src/messaging/tests:helpers", |
| "${chip_root}/src/protocols", |
| "${chip_root}/src/protocols/secure_channel", |
| "${chip_root}/src/transport/raw/tests:helpers", |
| "${nlio_root}:nlio", |
| "${nlunit_test_root}:nlunit-test", |
| ] |
| |
| cflags = [ "-Wconversion" ] |
| } |