12 lines
286 B
Rust
12 lines
286 B
Rust
|
use crate::ctx::Context;
|
||
|
use crate::dbs::executor::Executor;
|
||
|
use crate::dbs::Options;
|
||
|
use crate::dbs::Runtime;
|
||
|
|
||
|
pub fn mock<'a>() -> (Runtime, Options<'a>, Executor) {
|
||
|
let ctx = Context::default().freeze();
|
||
|
let opt = Options::default();
|
||
|
let exe = Executor::new();
|
||
|
(ctx, opt, exe)
|
||
|
}
|