1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//! Shared test fixtures for `v2/logical/` module tests.
//!
//! This module consolidates duplicated test helpers across registry, pools, and manager tests.
//! It uses internal types like `Block<T, Staged>` so it must be behind `#[cfg(test)]`.
//!
//! Note: `v2/testing/` uses only the public API and remains separate.
// when testing is enabled with out
pub use MeteredFrequencyTracker;
// ============================================================================
// Canonical test metadata types
// ============================================================================
/// Primary test metadata type used across all v2 tests.
/// Replaces: `TestMetadata` (registry), `TestData` (pools), `TestBlockData` (manager)
/// Multi-type registry test metadata A
;
/// Multi-type registry test metadata B
;
/// Multi-type registry test metadata C (unit struct)
;
// ============================================================================
// Constants
// ============================================================================
/// Standard salt value for test token blocks.
/// Standardizes mixed salt values (42 in pools/manager, 1337 in registry).
pub const TEST_SALT: SaltHash = 42;
// ============================================================================
// Re-exports from submodules
// ============================================================================
// pub items — usable by downstream crates via the testing feature
pub use ;
pub use BlockSequenceBuilder;
pub use ;
// pub(crate) items — internal helpers
pub use ;
pub use TestPoolSetupBuilder;