mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 00:40:57 -06:00
refactor(mcp): move tests_*.rs to tests/<topic>.rs
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user