diff --git a/crates/app/src/host/install_processors_fixture.rs b/crates/app/src/host/install_processors_fixture.rs index 30a03b8..3f96509 100644 --- a/crates/app/src/host/install_processors_fixture.rs +++ b/crates/app/src/host/install_processors_fixture.rs @@ -29,6 +29,9 @@ use crate::host::meter::Meter; static SEQ: AtomicUsize = AtomicUsize::new(0); +/// 一步的计划视图(序号 / 坐标 / 参数 / classpath 条数)。 +pub(super) type StepView = (usize, String, Vec, usize); + /// 一段 cases 的公共环境:临时数据根 + 引擎 + 进度通道。 pub(super) struct Harness { dir: PathBuf, @@ -104,7 +107,7 @@ pub(super) struct Fake { pub(super) java: Option, pub(super) run_error: Option, calls: RefCell>, - steps: RefCell, usize)>>, + steps: RefCell>, } impl Fake { @@ -123,7 +126,7 @@ impl Fake { } /// 被组出来的每步(序号 / 坐标 / 参数 / classpath 条数)。 - pub(super) fn steps(&self) -> Vec<(usize, String, Vec, usize)> { + pub(super) fn steps(&self) -> Vec { self.steps.borrow().clone() } }