Skip to content

Commit 1bb265c

Browse files
committed
test: add unit-tests for system resource detector
1 parent 8005ae2 commit 1bb265c

File tree

6 files changed

+165
-55
lines changed

6 files changed

+165
-55
lines changed

Cargo.lock

Lines changed: 73 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ reqwest = { version = "0.12.24", default-features = false, features = [
4242
"rustls-tls-native-roots",
4343
"socks",
4444
] }
45+
rstest = "0.26.1"
4546

4647
[profile.release]
4748
# remove debug symbols from the release binary

THIRD_PARTY_NOTICES.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,12 @@ Distributed under the following license(s):
313313
* MIT
314314
* Apache-2.0
315315

316+
## block2 <https://crates.io/crates/block2>
317+
318+
Distributed under the following license(s):
319+
320+
* MIT
321+
316322
## brotli <https://crates.io/crates/brotli>
317323

318324
Distributed under the following license(s):
@@ -642,10 +648,12 @@ Distributed under the following license(s):
642648
* MIT
643649
* Apache-2.0
644650

645-
## dispatch <https://crates.io/crates/dispatch>
651+
## dispatch2 <https://crates.io/crates/dispatch2>
646652

647653
Distributed under the following license(s):
648654

655+
* Zlib
656+
* Apache-2.0
649657
* MIT
650658

651659
## displaydoc <https://crates.io/crates/displaydoc>
@@ -1443,6 +1451,18 @@ Distributed under the following license(s):
14431451
* MIT
14441452
* Apache-2.0
14451453

1454+
## objc2 <https://crates.io/crates/objc2>
1455+
1456+
Distributed under the following license(s):
1457+
1458+
* MIT
1459+
1460+
## objc2-encode <https://crates.io/crates/objc2-encode>
1461+
1462+
Distributed under the following license(s):
1463+
1464+
* MIT
1465+
14461466
## oid-registry <https://crates.io/crates/oid-registry>
14471467

14481468
Distributed under the following license(s):

agent-control/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ httpmock = { version = "0.8.2", features = ["proxy"] }
9595
serial_test = "3.2.0"
9696
futures = "0.3.31"
9797
rcgen = { version = "0.14.5", features = ["crypto"] }
98-
rstest = "0.26.1"
98+
rstest = { workspace = true }
9999
tokio-stream = { version = "0.1.17", features = ["net"] }
100100

101101
[build-dependencies]

resource-detection/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ winreg = "0.55"
2626
assert_matches = { workspace = true }
2727
fs = { path = "../fs", features = ["mocks"] }
2828
mockall = { workspace = true }
29+
rstest = { workspace = true }

0 commit comments

Comments
 (0)