2022-01-13 17:36:41 +00:00
|
|
|
use crate::ctx::Context;
|
|
|
|
use crate::dbs::executor::Executor;
|
|
|
|
use crate::dbs::Options;
|
|
|
|
use crate::dbs::Runtime;
|
|
|
|
|
2022-01-25 21:30:32 +00:00
|
|
|
pub fn mock<'a>() -> (Runtime, Options<'a>, Executor<'a>) {
|
2022-01-13 17:36:41 +00:00
|
|
|
let ctx = Context::default().freeze();
|
|
|
|
let opt = Options::default();
|
|
|
|
let exe = Executor::new();
|
|
|
|
(ctx, opt, exe)
|
|
|
|
}
|