1
1
import (" //build_overrides/build.gni" )
2
2
import (" //build_overrides/chip.gni" )
3
- import (" //build_overrides/nlunit_test.gni" )
4
3
import (" ${ chip_root } /build/chip/chip_test_suite.gni" )
5
4
import (" ${ chip_root } /src/app/icd/icd.gni" )
6
5
7
6
chip_test_suite (" tests" ) {
8
7
output_name = " libSecureChannelTests"
9
8
10
9
test_sources = [
10
+ " TestCASESession.cpp" ,
11
11
" TestCheckInCounter.cpp" ,
12
12
" TestCheckinMsg.cpp" ,
13
- ]
14
-
15
- sources = [ " CheckIn_Message_test_vectors.h" ]
16
-
17
- cflags = [ " -Wconversion" ]
18
- public_deps = [
19
- " ${ chip_root } /src/app/icd/server:icd-server-config" ,
20
- " ${ chip_root } /src/credentials/tests:cert_test_vectors" ,
21
- " ${ chip_root } /src/lib/core" ,
22
- " ${ chip_root } /src/lib/support" ,
23
- " ${ chip_root } /src/lib/support:test_utils" ,
24
- " ${ chip_root } /src/lib/support:testing" ,
25
- " ${ chip_root } /src/protocols/secure_channel" ,
26
- " ${ chip_root } /src/protocols/secure_channel:check-in-counter" ,
27
- " ${ dir_pw_unit_test } " ,
28
- ]
29
- }
30
-
31
- chip_test_suite_using_nltest (" tests_nltest" ) {
32
- # Renamed ouput during the transition away from nltest
33
- output_name = " libSecureChannelTestsNL"
34
-
35
- test_sources = [
36
- " TestCASESession.cpp" ,
37
13
" TestDefaultSessionResumptionStorage.cpp" ,
38
14
" TestPASESession.cpp" ,
39
15
" TestPairingSession.cpp" ,
@@ -44,22 +20,26 @@ chip_test_suite_using_nltest("tests_nltest") {
44
20
# "TestMessageCounterManager.cpp",
45
21
]
46
22
23
+ sources = [ " CheckIn_Message_test_vectors.h" ]
24
+
25
+ cflags = [ " -Wconversion" ]
47
26
public_deps = [
27
+ " ${ chip_root } /src/app/icd/server:icd-server-config" ,
28
+ " ${ chip_root } /src/credentials/tests:cert_test_vectors" ,
48
29
" ${ chip_root } /src/crypto/tests:tests.lib" ,
49
30
" ${ chip_root } /src/lib/core" ,
50
31
" ${ chip_root } /src/lib/support" ,
51
32
" ${ chip_root } /src/lib/support:test_utils" ,
52
33
" ${ chip_root } /src/lib/support:testing" ,
53
- " ${ chip_root } /src/lib/support:testing_nlunit " ,
34
+ " ${ chip_root } /src/lib/support/tests:pw-test-macros " ,
54
35
" ${ chip_root } /src/messaging/tests:helpers" ,
55
36
" ${ chip_root } /src/protocols" ,
56
37
" ${ chip_root } /src/protocols/secure_channel" ,
38
+ " ${ chip_root } /src/protocols/secure_channel:check-in-counter" ,
57
39
" ${ chip_root } /src/transport/raw/tests:helpers" ,
58
- " ${ nlunit_test_root } :nlunit-test " ,
40
+ " ${ dir_pw_unit_test } " ,
59
41
]
60
42
61
- cflags = [ " -Wconversion" ]
62
-
63
43
if (chip_enable_icd_server ) {
64
44
public_deps += [ " ${ chip_root } /src/app/icd/server:configuration-data" ]
65
45
}
0 commit comments