diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-10 16:31:47 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-10 16:31:47 +0000 |
| commit | 5f3c8b7085f6652fdde4443983df0aad561e3c67 (patch) | |
| tree | 7ce2bfda0ab5bd3871112f0e9bb396928a7652e6 /tests/sync/mod.rs | |
| parent | bb9abe353024878e6bf1884cf3fb5a115e75bd03 (diff) | |
Phase 8: Create catchup sync stub test
Diffstat (limited to 'tests/sync/mod.rs')
| -rw-r--r-- | tests/sync/mod.rs | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/tests/sync/mod.rs b/tests/sync/mod.rs index a3d7bb5..b0da8b8 100644 --- a/tests/sync/mod.rs +++ b/tests/sync/mod.rs | |||
| @@ -9,13 +9,13 @@ | |||
| 9 | //! - Tag variations (testing different Layer 2/3 tag types: a/A/q, e/E/q) | 9 | //! - Tag variations (testing different Layer 2/3 tag types: a/A/q, e/E/q) |
| 10 | //! - Catchup sync (events from disconnected period sync on reconnect) | 10 | //! - Catchup sync (events from disconnected period sync on reconnect) |
| 11 | //! | 11 | //! |
| 12 | //! # Test Files (to be added in subsequent phases) | 12 | //! # Test Files |
| 13 | //! | 13 | //! |
| 14 | //! - `bootstrap.rs` - Tests 1, 4: sync from bootstrap relay | 14 | //! - `bootstrap.rs` - Tests 1, 4: sync from bootstrap relay |
| 15 | //! - `discovery.rs` - Tests 2, 3: relay discovery from announcements | 15 | //! - `discovery.rs` - Tests 2, 3: relay discovery from announcements |
| 16 | //! - `live_sync.rs` - Tests 5, 6, 7: real-time sync after connection | 16 | //! - `live_sync.rs` - Tests 5, 6, 7: real-time sync after connection |
| 17 | //! - `tag_variations.rs` - Tests 8, 9: Layer 2/3 tag type coverage | 17 | //! - `tag_variations.rs` - Tests 8, 9: Layer 2/3 tag type coverage |
| 18 | //! - `catchup.rs` - Test 0: catchup after disconnect (stub) | 18 | //! - `catchup.rs` - Test 0: catchup after disconnect (stub, `#[ignore]`) |
| 19 | //! | 19 | //! |
| 20 | //! # Shared Imports | 20 | //! # Shared Imports |
| 21 | //! | 21 | //! |
| @@ -23,13 +23,10 @@ | |||
| 23 | //! - `TestClient` - Client with retry logic | 23 | //! - `TestClient` - Client with retry logic |
| 24 | //! - Event builders for Layer 2/3 events | 24 | //! - Event builders for Layer 2/3 events |
| 25 | //! - `wait_for_event_on_relay()` - Non-panicking assertion helper | 25 | //! - `wait_for_event_on_relay()` - Non-panicking assertion helper |
| 26 | //! | ||
| 27 | //! See `work/proactive-sync-test-implementation-plan.md` for full design. | ||
| 28 | |||
| 29 | // Re-export sync helpers for convenient access in test files | ||
| 30 | // Tests in this module can use: | ||
| 31 | // use super::*; | ||
| 32 | // to get access to these helpers. | ||
| 33 | 26 | ||
| 34 | // Note: The actual test file modules will be added in Phase 5+ | 27 | // Test modules |
| 35 | // For now, this module serves as the organizational root. \ No newline at end of file | 28 | pub mod bootstrap; |
| 29 | pub mod catchup; | ||
| 30 | pub mod discovery; | ||
| 31 | pub mod live_sync; | ||
| 32 | pub mod tag_variations; \ No newline at end of file | ||