File tree 17 files changed +8
-37
lines changed
user_directed_commissioning/tests
17 files changed +8
-37
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import("//build_overrides/build.gni")
16
16
import (" //build_overrides/chip.gni" )
17
17
import (" //build_overrides/mbedtls.gni" )
18
18
import (" //build_overrides/nlassert.gni" )
19
- import (" //build_overrides/nlio.gni" )
20
19
import (" //build_overrides/nlunit_test.gni" )
21
20
import (" //build_overrides/pigweed.gni" )
22
21
@@ -136,7 +135,6 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
136
135
" ${ chip_root } /src/system" ,
137
136
" ${ chip_root } /src/transport" ,
138
137
" ${ nlassert_root } :nlassert" ,
139
- " ${ nlio_root } :nlio" ,
140
138
" ${ nlunit_test_root } :nlunit-test" ,
141
139
]
142
140
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import("//build_overrides/build.gni")
16
16
import (" //build_overrides/chip.gni" )
17
17
import (" //build_overrides/nlassert.gni" )
18
18
import (" //build_overrides/nlfaultinjection.gni" )
19
- import (" //build_overrides/nlio.gni" )
20
19
21
20
import (" ${ chip_root } /build/chip/buildconfig_header.gni" )
22
21
import (" ${ chip_root } /build/chip/tests.gni" )
@@ -104,7 +103,6 @@ static_library("inet") {
104
103
" ${ chip_root } /src/lib/support" ,
105
104
" ${ chip_root } /src/platform:platform_config_header" ,
106
105
" ${ chip_root } /src/system" ,
107
- " ${ nlio_root } :nlio" ,
108
106
]
109
107
110
108
if (chip_system_config_use_lwip ) {
Original file line number Diff line number Diff line change @@ -104,6 +104,11 @@ source_set("error") {
104
104
]
105
105
}
106
106
107
+ source_set (" encoding" ) {
108
+ sources = [ " CHIPEncoding.h" ]
109
+ public_deps = [ " ${ nlio_root } :nlio" ]
110
+ }
111
+
107
112
source_set (" types" ) {
108
113
sources = [
109
114
" CHIPSafeCasts.h" ,
@@ -128,7 +133,6 @@ static_library("core") {
128
133
" CASEAuthTag.h" ,
129
134
" CHIPCallback.h" ,
130
135
" CHIPCore.h" ,
131
- " CHIPEncoding.h" ,
132
136
" CHIPKeyIds.cpp" ,
133
137
" CHIPKeyIds.h" ,
134
138
" CHIPPersistentStorageDelegate.h" ,
@@ -172,7 +176,6 @@ static_library("core") {
172
176
" ${ chip_root } /src/inet" ,
173
177
" ${ chip_root } /src/lib/support" ,
174
178
" ${ chip_root } /src/system" ,
175
- " ${ nlio_root } :nlio" ,
176
179
]
177
180
178
181
allow_circular_includes_from = [
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import("//build_overrides/build.gni")
16
16
import (" //build_overrides/chip.gni" )
17
17
import (" //build_overrides/nlassert.gni" )
18
18
import (" //build_overrides/nlfaultinjection.gni" )
19
- import (" //build_overrides/nlio.gni" )
20
19
import (" //build_overrides/nlunit_test.gni" )
21
20
import (" //build_overrides/pigweed.gni" )
22
21
@@ -256,12 +255,12 @@ static_library("support") {
256
255
" :verifymacros" ,
257
256
" :verifymacros_no_logging" ,
258
257
" ${ chip_root } /src/lib/core:chip_config_header" ,
258
+ " ${ chip_root } /src/lib/core:encoding" ,
259
259
" ${ chip_root } /src/lib/core:error" ,
260
260
" ${ chip_root } /src/lib/core:types" ,
261
261
" ${ chip_root } /src/platform:platform_config_header" ,
262
262
" ${ chip_root } /src/system:system_config_header" ,
263
263
" ${ nlassert_root } :nlassert" ,
264
- " ${ nlio_root } :nlio" ,
265
264
]
266
265
267
266
# These are needed because we include CHIPCore.h, which uses config
Original file line number Diff line number Diff line change 14
14
15
15
import (" //build_overrides/build.gni" )
16
16
import (" //build_overrides/chip.gni" )
17
- import (" //build_overrides/nlio.gni" )
18
17
import (" //build_overrides/nlunit_test.gni" )
19
18
20
19
import (" ${ chip_root } /build/chip/chip_test_suite.gni" )
@@ -37,7 +36,6 @@ static_library("helpers") {
37
36
" ${ chip_root } /src/protocols" ,
38
37
" ${ chip_root } /src/transport" ,
39
38
" ${ chip_root } /src/transport/tests:helpers" ,
40
- " ${ nlio_root } :nlio" ,
41
39
]
42
40
}
43
41
@@ -78,7 +76,6 @@ chip_test_suite_using_nltest("tests") {
78
76
" ${ chip_root } /src/protocols" ,
79
77
" ${ chip_root } /src/transport" ,
80
78
" ${ chip_root } /src/transport/raw/tests:helpers" ,
81
- " ${ nlio_root } :nlio" ,
82
79
" ${ nlunit_test_root } :nlunit-test" ,
83
80
]
84
81
Original file line number Diff line number Diff line change 14
14
15
15
import (" //build_overrides/build.gni" )
16
16
import (" //build_overrides/chip.gni" )
17
- import (" //build_overrides/nlio.gni" )
18
17
import (" //build_overrides/pigweed.gni" )
19
18
20
19
import (" ${ build_root } /config/linux/pkg_config.gni" )
Original file line number Diff line number Diff line change 28
28
29
29
#include < app-common/zap-generated/ids/Attributes.h>
30
30
31
- #include < nlbyteorder.hpp>
32
- #include < nlio-byteorder.hpp>
33
- #include < nlio.hpp>
34
-
35
31
using namespace ::chip::app;
36
32
using namespace ::chip::app::Clusters;
37
33
using namespace chip ::DeviceLayer::NetworkCommissioning;
Original file line number Diff line number Diff line change 27
27
28
28
#include < app-common/zap-generated/ids/Attributes.h>
29
29
30
- #include < nlbyteorder.hpp>
31
- #include < nlio-byteorder.hpp>
32
- #include < nlio.hpp>
33
-
34
30
using namespace ::chip::app;
35
31
using namespace ::chip::app::Clusters;
36
32
using namespace chip ::DeviceLayer::NetworkCommissioning;
Original file line number Diff line number Diff line change 14
14
15
15
import (" //build_overrides/build.gni" )
16
16
import (" //build_overrides/chip.gni" )
17
- import (" //build_overrides/nlio.gni" )
18
17
import (" //build_overrides/nlunit_test.gni" )
19
18
20
19
import (" ${ chip_root } /build/chip/chip_test_suite.gni" )
@@ -33,7 +32,6 @@ chip_test_suite_using_nltest("tests") {
33
32
" ${ chip_root } /src/lib/support" ,
34
33
" ${ chip_root } /src/lib/support:testing_nlunit" ,
35
34
" ${ chip_root } /src/protocols/bdx" ,
36
- " ${ nlio_root } :nlio" ,
37
35
" ${ nlunit_test_root } :nlunit-test" ,
38
36
]
39
37
Original file line number Diff line number Diff line change 1
1
import (" //build_overrides/build.gni" )
2
2
import (" //build_overrides/chip.gni" )
3
- import (" //build_overrides/nlio.gni" )
4
3
import (" //build_overrides/nlunit_test.gni" )
5
4
import (" ${ chip_root } /build/chip/chip_test_suite.gni" )
6
5
import (" ${ chip_root } /src/app/icd/icd.gni" )
@@ -35,7 +34,6 @@ chip_test_suite_using_nltest("tests") {
35
34
" ${ chip_root } /src/protocols" ,
36
35
" ${ chip_root } /src/protocols/secure_channel" ,
37
36
" ${ chip_root } /src/transport/raw/tests:helpers" ,
38
- " ${ nlio_root } :nlio" ,
39
37
" ${ nlunit_test_root } :nlunit-test" ,
40
38
]
41
39
Original file line number Diff line number Diff line change 12
12
13
13
import (" //build_overrides/build.gni" )
14
14
import (" //build_overrides/chip.gni" )
15
- import (" //build_overrides/nlio.gni" )
16
15
import (" //build_overrides/nlunit_test.gni" )
17
16
18
17
import (" ${ chip_root } /build/chip/chip_test_suite.gni" )
@@ -27,7 +26,6 @@ chip_test_suite_using_nltest("tests") {
27
26
" ${ chip_root } /src/lib/support" ,
28
27
" ${ chip_root } /src/lib/support:testing_nlunit" ,
29
28
" ${ chip_root } /src/protocols" ,
30
- " ${ nlio_root } :nlio" ,
31
29
" ${ nlunit_test_root } :nlunit-test" ,
32
30
]
33
31
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
import (" //build_overrides/chip.gni" )
16
- import (" //build_overrides/nlio.gni" )
17
16
import (" //build_overrides/pigweed.gni" )
18
17
import (" ${ chip_root } /src/ble/ble.gni" )
19
18
import (" ${ chip_root } /src/lib/core/core.gni" )
@@ -68,7 +67,6 @@ static_library("transport") {
68
67
" ${ chip_root } /src/tracing" ,
69
68
" ${ chip_root } /src/tracing:macros" ,
70
69
" ${ chip_root } /src/transport/raw" ,
71
- " ${ nlio_root } :nlio" ,
72
70
]
73
71
74
72
if (chip_enable_transport_trace ) {
Original file line number Diff line number Diff line change 14
14
15
15
import (" //build_overrides/build.gni" )
16
16
import (" //build_overrides/chip.gni" )
17
- import (" //build_overrides/nlio.gni" )
18
17
import (" //build_overrides/nlunit_test.gni" )
19
18
20
19
import (" ${ chip_root } /build/chip/chip_test_suite.gni" )
@@ -43,6 +42,7 @@ chip_test_suite_using_nltest("tests") {
43
42
" TestMessageHeader.cpp" ,
44
43
" TestPeerAddress.cpp" ,
45
44
" TestTCP.cpp" ,
45
+ " TestUDP.cpp" ,
46
46
]
47
47
48
48
public_deps = [
@@ -54,7 +54,6 @@ chip_test_suite_using_nltest("tests") {
54
54
" ${ chip_root } /src/lib/support:testing_nlunit" ,
55
55
" ${ chip_root } /src/transport" ,
56
56
" ${ chip_root } /src/transport/raw" ,
57
- " ${ nlio_root } :nlio" ,
58
57
" ${ nlunit_test_root } :nlunit-test" ,
59
58
]
60
59
Original file line number Diff line number Diff line change 34
34
#include < transport/TransportMgr.h>
35
35
#include < transport/raw/TCP.h>
36
36
37
- #include < nlbyteorder.h>
38
37
#include < nlunit-test.h>
39
38
40
39
#include < errno.h>
Original file line number Diff line number Diff line change 30
30
#include < transport/TransportMgr.h>
31
31
#include < transport/raw/UDP.h>
32
32
33
- #include < nlbyteorder.h>
34
33
#include < nlunit-test.h>
35
34
36
35
#include < errno.h>
@@ -196,7 +195,7 @@ static nlTestSuite sSuite =
196
195
*/
197
196
static int Initialize (void * aContext)
198
197
{
199
- CHIP_ERROR err = reinterpret_cast <TestContext *>(aContext)->Init (& sSuite );
198
+ CHIP_ERROR err = reinterpret_cast <TestContext *>(aContext)->Init ();
200
199
return (err == CHIP_NO_ERROR) ? SUCCESS : FAILURE;
201
200
}
202
201
Original file line number Diff line number Diff line change 14
14
15
15
import (" //build_overrides/build.gni" )
16
16
import (" //build_overrides/chip.gni" )
17
- import (" //build_overrides/nlio.gni" )
18
17
import (" //build_overrides/nlunit_test.gni" )
19
18
20
19
import (" ${ chip_root } /build/chip/chip_test_suite.gni" )
@@ -32,7 +31,6 @@ chip_test_suite_using_nltest("tests") {
32
31
public_deps = [
33
32
" ${ chip_root } /src/lib/support:testing_nlunit" ,
34
33
" ${ chip_root } /src/transport/retransmit" ,
35
- " ${ nlio_root } :nlio" ,
36
34
" ${ nlunit_test_root } :nlunit-test" ,
37
35
]
38
36
Original file line number Diff line number Diff line change 14
14
15
15
import (" //build_overrides/build.gni" )
16
16
import (" //build_overrides/chip.gni" )
17
- import (" //build_overrides/nlio.gni" )
18
17
import (" //build_overrides/nlunit_test.gni" )
19
18
20
19
import (" ${ chip_root } /build/chip/chip_test_suite.gni" )
@@ -59,7 +58,6 @@ chip_test_suite_using_nltest("tests") {
59
58
" ${ chip_root } /src/protocols" ,
60
59
" ${ chip_root } /src/transport" ,
61
60
" ${ chip_root } /src/transport/tests:helpers" ,
62
- " ${ nlio_root } :nlio" ,
63
61
" ${ nlunit_test_root } :nlunit-test" ,
64
62
]
65
63
}
You can’t perform that action at this time.
0 commit comments