Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ impl Deref for S2Basin {
}
}

impl S2Basin {
pub fn basin_name(&self) -> &BasinName {
&self.basin_name
}
}

impl AsyncTestContext for S2Basin {
async fn setup() -> Self {
let config = default_s2_config().expect("valid S2 config");
Expand Down Expand Up @@ -114,6 +120,16 @@ impl Deref for S2Stream {
}
}

impl S2Stream {
pub fn basin_name(&self) -> &BasinName {
self.basin.basin_name()
}

pub fn stream_name(&self) -> &StreamName {
&self.stream_name
}
}

impl AsyncTestContext for S2Stream {
async fn setup() -> Self {
let basin = SharedS2Basin::setup().await;
Expand Down
Loading