Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit cdb00d8

Browse files
committed
Test method stop
1 parent 5e3ad01 commit cdb00d8

File tree

7 files changed

+11
-14
lines changed

7 files changed

+11
-14
lines changed

src/json/v17/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
//! - [ ] `getmemoryinfo ("mode")`
3838
//! - [ ] `help ( "command" )`
3939
//! - [ ] `logging ( <include> <exclude> )`
40-
//! - [ ] `stop`
40+
//! - [x] `stop`
4141
//! - [ ] `uptime`
4242
//!
4343
//! **== Generating ==**
@@ -195,7 +195,6 @@ pub use control::*;
195195
// getmemoryinfo ("mode")
196196
// help ( "command" )
197197
// logging ( <include> <exclude> )
198-
// stop
199198
// uptime
200199

201200
// == Generating ==

src/json/v18/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
//! - [ ] `getrpcinfo`
3737
//! - [ ] `help ( "command" )`
3838
//! - [ ] `logging ( ["include_category",...] ["exclude_category",...] )`
39-
//! - [ ] `stop`
39+
//! - [x] `stop`
4040
//! - [ ] `uptime`
4141
//!
4242
//! ** == Generating ==**
@@ -191,7 +191,6 @@ pub use crate::json::v17::GetTxOut;
191191
// getrpcinfo
192192
// help ( "command" )
193193
// logging ( ["include_category",...] ["exclude_category",...] )
194-
// stop
195194
// uptime
196195

197196
// == Generating ==

src/json/v22/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
//! - [ ] `getrpcinfo`
4040
//! - [ ] `help ( "command" )`
4141
//! - [ ] `logging ( ["include_category",...] ["exclude_category",...] )`
42-
//! - [ ] `stop`
42+
//! - [x] `stop`
4343
//! - [ ] `uptime`
4444
//!
4545
//! **== Generating ==**
@@ -213,7 +213,6 @@ pub use crate::json::v17::GetTxOut;
213213
// getrpcinfo
214214
// help ( "command" )
215215
// logging ( ["include_category",...] ["exclude_category",...] )
216-
// stop
217216
// uptime
218217

219218
// == Generating ==

tests/client/v17/control.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ macro_rules! impl_test_v17__stop {
1111
() => {
1212
#[test]
1313
fn stop() {
14-
let client = client();
15-
let _ = client.stop().expect("stop");
14+
let bitcoind = bitcoind_no_wallet();
15+
let _ = bitcoind.client.stop().expect("stop");
1616
}
1717
};
1818
}

tests/v17_api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ mod blockchain {
1818

1919
// == Control ==
2020
mod control {
21-
// use super::*;
21+
use super::*;
2222

23-
// crate::impl_test_v17__stop!();
23+
crate::impl_test_v17__stop!();
2424
}
2525

2626
// == Generating ==

tests/v18_api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ mod blockchain {
1717

1818
// == Control ==
1919
mod control {
20-
// use super::*;
20+
use super::*;
2121

22-
// crate::impl_test_v17__stop!();
22+
crate::impl_test_v17__stop!();
2323
}
2424

2525
// == Generating ==

tests/v22_api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ mod blockchain {
1818

1919
// == Control ==
2020
mod control {
21-
// use super::*;
21+
use super::*;
2222

23-
// crate::impl_test_v17__stop!();
23+
crate::impl_test_v17__stop!();
2424
}
2525

2626
// == Generating ==

0 commit comments

Comments
 (0)