refactor(mcp): move tests_*.rs to tests/<topic>.rs

This commit is contained in:
aiongg
2026-10-26 18:26:57 +00:00
parent 83eec43b18
commit bb611d2081
19 changed files with 18 additions and 34 deletions
-34
View File
@@ -35,37 +35,3 @@ pub const DEFAULT_ADDR: &str = "127.0.0.1:7979";
#[cfg(test)]
mod tests;
#[cfg(test)]
mod tests_batchdraw;
#[cfg(test)]
mod tests_concurrency;
#[cfg(test)]
mod tests_conventions;
#[cfg(test)]
mod tests_distortkeys;
#[cfg(test)]
mod tests_drawopts;
#[cfg(test)]
mod tests_exportas;
#[cfg(test)]
mod tests_fileio;
#[cfg(test)]
mod tests_freeform;
#[cfg(test)]
mod tests_gradient;
#[cfg(test)]
mod tests_limits;
#[cfg(test)]
mod tests_links;
#[cfg(test)]
mod tests_liquify;
#[cfg(test)]
mod tests_pen;
#[cfg(test)]
mod tests_persp;
#[cfg(test)]
mod tests_place;
#[cfg(test)]
mod tests_protocol;
#[cfg(test)]
mod tests_svg;
+18
View File
@@ -4,6 +4,24 @@ use serde_json::{Value, json};
use crate::{Backend, Headless, PROTOCOL_VERSION, Remote, Server, tool_definitions};
mod batchdraw;
mod concurrency;
mod conventions;
mod distortkeys;
mod drawopts;
mod exportas;
mod fileio;
mod freeform;
mod gradient;
mod limits;
mod links;
mod liquify;
mod pen;
mod persp;
mod place;
mod protocol;
mod svg;
fn server() -> Server {
Server::new(Box::new(Headless::with_document()))
}