|
1 |
| -#![cfg_attr(rustfmt, rustfmt_skip)] |
2 |
| - |
3 | 1 | // This file is Copyright its original authors, visible in version control
|
4 | 2 | // history.
|
5 | 3 | //
|
|
15 | 13 | #[macro_use]
|
16 | 14 | pub mod functional_test_utils;
|
17 | 15 |
|
18 |
| -pub mod onion_payment; |
19 |
| -pub mod channelmanager; |
| 16 | +pub mod chan_utils; |
20 | 17 | pub mod channel_keys;
|
21 | 18 | pub mod channel_state;
|
| 19 | +pub mod channelmanager; |
| 20 | +mod features; |
22 | 21 | pub mod inbound_payment;
|
23 | 22 | pub mod msgs;
|
| 23 | +pub mod onion_payment; |
24 | 24 | pub mod peer_handler;
|
25 |
| -pub mod chan_utils; |
26 |
| -mod features; |
27 | 25 | pub mod script;
|
28 | 26 | pub mod types;
|
29 | 27 |
|
@@ -59,64 +57,64 @@ pub use onion_utils::process_onion_failure;
|
59 | 57 | #[cfg(fuzzing)]
|
60 | 58 | pub use onion_utils::AttributionData;
|
61 | 59 |
|
| 60 | +#[cfg(all(test, async_payments))] |
| 61 | +#[allow(unused_mut)] |
| 62 | +mod async_payments_tests; |
62 | 63 | #[cfg(test)]
|
63 | 64 | #[allow(unused_mut)]
|
64 |
| -pub mod bolt11_payment_tests; |
| 65 | +mod async_signer_tests; |
65 | 66 | #[cfg(test)]
|
66 | 67 | #[allow(unused_mut)]
|
67 | 68 | mod blinded_payment_tests;
|
68 |
| -#[cfg(all(test, async_payments))] |
| 69 | +#[cfg(test)] |
69 | 70 | #[allow(unused_mut)]
|
70 |
| -mod async_payments_tests; |
| 71 | +pub mod bolt11_payment_tests; |
| 72 | +#[cfg(test)] |
| 73 | +#[allow(unused_mut)] |
| 74 | +mod chanmon_update_fail_tests; |
| 75 | +#[cfg(test)] |
| 76 | +#[allow(unused_mut)] |
| 77 | +mod dual_funding_tests; |
71 | 78 | #[cfg(any(test, feature = "_externalize_tests"))]
|
72 | 79 | #[allow(unused_mut)]
|
73 | 80 | pub mod functional_tests;
|
74 | 81 | #[cfg(any(test, feature = "_externalize_tests"))]
|
75 | 82 | #[allow(unused_mut)]
|
76 | 83 | pub mod htlc_reserve_unit_tests;
|
77 |
| -#[cfg(any(test, feature = "_externalize_tests"))] |
78 |
| -#[allow(unused_mut)] |
79 |
| -pub mod update_fee_tests; |
80 |
| -#[cfg(all(test, splicing))] |
81 |
| -#[allow(unused_mut)] |
82 |
| -mod splicing_tests; |
83 | 84 | #[cfg(test)]
|
84 | 85 | #[allow(unused_mut)]
|
85 | 86 | mod max_payment_path_len_tests;
|
86 | 87 | #[cfg(test)]
|
87 | 88 | #[allow(unused_mut)]
|
88 |
| -mod payment_tests; |
89 |
| -#[cfg(test)] |
90 |
| -#[allow(unused_mut)] |
91 |
| -mod priv_short_conf_tests; |
92 |
| -#[cfg(test)] |
93 |
| -#[allow(unused_mut)] |
94 |
| -mod chanmon_update_fail_tests; |
95 |
| -#[cfg(test)] |
96 |
| -#[allow(unused_mut)] |
97 |
| -mod reorg_tests; |
| 89 | +mod monitor_tests; |
98 | 90 | #[cfg(test)]
|
99 | 91 | #[allow(unused_mut)]
|
100 |
| -mod reload_tests; |
| 92 | +mod offers_tests; |
101 | 93 | #[cfg(test)]
|
102 | 94 | #[allow(unused_mut)]
|
103 | 95 | mod onion_route_tests;
|
104 | 96 | #[cfg(test)]
|
105 | 97 | #[allow(unused_mut)]
|
106 |
| -mod monitor_tests; |
| 98 | +mod payment_tests; |
107 | 99 | #[cfg(test)]
|
108 | 100 | #[allow(unused_mut)]
|
109 |
| -mod shutdown_tests; |
| 101 | +mod priv_short_conf_tests; |
110 | 102 | #[cfg(test)]
|
111 | 103 | mod quiescence_tests;
|
112 | 104 | #[cfg(test)]
|
113 | 105 | #[allow(unused_mut)]
|
114 |
| -mod async_signer_tests; |
| 106 | +mod reload_tests; |
115 | 107 | #[cfg(test)]
|
116 | 108 | #[allow(unused_mut)]
|
117 |
| -mod offers_tests; |
| 109 | +mod reorg_tests; |
118 | 110 | #[cfg(test)]
|
119 | 111 | #[allow(unused_mut)]
|
120 |
| -mod dual_funding_tests; |
| 112 | +mod shutdown_tests; |
| 113 | +#[cfg(all(test, splicing))] |
| 114 | +#[allow(unused_mut)] |
| 115 | +mod splicing_tests; |
| 116 | +#[cfg(any(test, feature = "_externalize_tests"))] |
| 117 | +#[allow(unused_mut)] |
| 118 | +pub mod update_fee_tests; |
121 | 119 |
|
122 | 120 | pub use self::peer_channel_encryptor::LN_MAX_MSG_LEN;
|
0 commit comments