v30.3-roots.1 · Commit 3: [PATCH 03/68] feat(policy): preserve Roots relay and network controls on Core 30.3
src/test/netbase_tests.cpp
Before: src/test/netbase_tests.cpp · After: src/test/netbase_tests.cpp
File metadata
index a088bf9df7bbeb4b921f77b7d1d8974e5ea6fc39..210cddf6d5ee2ac951477036533997b79af3a4bf 100644
Download original patch · Release notes
Diff rows 1–9 of 9. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/test/netbase_tests.cpp
CHANGED
|
@@ -466,7 +466,8 @@ BOOST_AUTO_TEST_CASE(netpermissions_test)
|
|
| 466 |
BOOST_CHECK_EQUAL(connection_direction, ConnectionDirection::Both);
|
| 467 |
|
| 468 |
const auto strings = NetPermissions::ToStrings(NetPermissionFlags::All);
|
| 469 |
-
BOOST_CHECK_EQUAL(strings.size(), 7U);
|
|
|
|
| 470 |
BOOST_CHECK(std::find(strings.begin(), strings.end(), "bloomfilter") != strings.end());
|
| 471 |
BOOST_CHECK(std::find(strings.begin(), strings.end(), "forcerelay") != strings.end());
|
| 472 |
BOOST_CHECK(std::find(strings.begin(), strings.end(), "relay") != strings.end());
|
|
|
|
| 466 |
BOOST_CHECK_EQUAL(connection_direction, ConnectionDirection::Both);
|
| 467 |
|
| 468 |
const auto strings = NetPermissions::ToStrings(NetPermissionFlags::All);
|
| 469 |
+
BOOST_CHECK_EQUAL(strings.size(), 8U);
|
| 470 |
+
BOOST_CHECK(std::find(strings.begin(), strings.end(), "blockfilters") != strings.end());
|
| 471 |
BOOST_CHECK(std::find(strings.begin(), strings.end(), "bloomfilter") != strings.end());
|
| 472 |
BOOST_CHECK(std::find(strings.begin(), strings.end(), "forcerelay") != strings.end());
|
| 473 |
BOOST_CHECK(std::find(strings.begin(), strings.end(), "relay") != strings.end());
|