mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-30 12:47:13 -06:00
refactor(engine): move tests_*.rs to tests/<topic>.rs
This commit is contained in:
@@ -4,6 +4,175 @@ use super::*;
|
||||
use vectorcraft_geom::Point;
|
||||
use vectorcraft_tools::{PointerEvent, PointerKind, ToolKey};
|
||||
|
||||
pub(super) mod adjust;
|
||||
mod appearance;
|
||||
mod areafit;
|
||||
mod assets;
|
||||
mod attributes;
|
||||
mod bboxrotate;
|
||||
mod blendfidelity;
|
||||
mod blendopts;
|
||||
mod blendspine;
|
||||
mod brushlib;
|
||||
mod brushsym;
|
||||
mod build;
|
||||
mod cancel;
|
||||
mod charstroke;
|
||||
pub(super) mod clip;
|
||||
mod clipboard;
|
||||
mod clipflavours;
|
||||
mod clippaint;
|
||||
mod cmdsplit;
|
||||
mod cmykflatten;
|
||||
mod colorguide;
|
||||
mod colorguidelib;
|
||||
pub(super) mod colormgmt;
|
||||
mod colorthemes;
|
||||
mod colourfonts;
|
||||
mod compoundpaint;
|
||||
mod constrain_new;
|
||||
mod constrain_tools;
|
||||
mod containers;
|
||||
mod css;
|
||||
mod cut;
|
||||
mod dashalign;
|
||||
mod distort;
|
||||
mod docsetup;
|
||||
mod draw2;
|
||||
mod editcolors;
|
||||
mod effectedit;
|
||||
mod emptytype;
|
||||
mod envelope;
|
||||
mod envelope_distort;
|
||||
mod envelope_edit;
|
||||
pub(super) mod expand;
|
||||
mod eyedropper;
|
||||
mod file;
|
||||
mod fileinfo;
|
||||
mod flatpresets;
|
||||
mod flatpreview;
|
||||
mod flatten;
|
||||
mod focal;
|
||||
mod fontfiles;
|
||||
mod fontlist;
|
||||
mod freeform;
|
||||
mod globaledit;
|
||||
mod gradient;
|
||||
mod gradpanel;
|
||||
mod gradspan;
|
||||
mod halftone;
|
||||
mod history_mem;
|
||||
mod ids_without_selection;
|
||||
mod inline;
|
||||
mod interactivity;
|
||||
mod intertwine;
|
||||
mod journal;
|
||||
mod keyguide;
|
||||
mod knockout;
|
||||
mod labspots;
|
||||
pub(super) mod large_edits;
|
||||
mod layerclip;
|
||||
mod layers;
|
||||
mod legacy_ai;
|
||||
mod library;
|
||||
mod link_paths;
|
||||
mod linked_stops;
|
||||
mod linkfiles;
|
||||
pub(super) mod links;
|
||||
pub(super) mod linkspanel;
|
||||
mod linkwatch;
|
||||
mod liquify;
|
||||
mod live;
|
||||
mod livecorners;
|
||||
mod maskview;
|
||||
pub(super) mod menucmds;
|
||||
mod nativefile;
|
||||
mod newart;
|
||||
mod newdoc;
|
||||
mod objects_on_path;
|
||||
mod objexpand;
|
||||
mod opacitymask;
|
||||
mod outlineobject;
|
||||
pub(super) mod outlinestroke;
|
||||
mod overprint;
|
||||
mod package;
|
||||
mod paintproxy;
|
||||
mod panelcmds;
|
||||
mod paragraphs;
|
||||
mod params;
|
||||
mod pathops;
|
||||
mod pathtype;
|
||||
mod pattern;
|
||||
mod pdffidelity;
|
||||
mod pdfmarks;
|
||||
mod pdfpresets;
|
||||
mod pdfraster;
|
||||
mod persp_planes;
|
||||
pub(super) mod persp_select;
|
||||
mod persp_text;
|
||||
mod perspgrid;
|
||||
mod place;
|
||||
mod placed_document;
|
||||
mod plugins;
|
||||
mod prefs;
|
||||
mod previewbounds;
|
||||
mod print;
|
||||
mod printadvanced;
|
||||
mod printpresets;
|
||||
mod printpreview;
|
||||
mod printps;
|
||||
mod printtiling;
|
||||
mod proxyitems;
|
||||
mod puppetwarp;
|
||||
mod rasterfilters;
|
||||
mod rastersettings;
|
||||
mod recolor;
|
||||
mod recovery;
|
||||
mod reflecthit;
|
||||
mod registration;
|
||||
mod save;
|
||||
mod saveoptions;
|
||||
mod scalestrokes;
|
||||
mod scripts;
|
||||
mod select_ids_first;
|
||||
mod shaper;
|
||||
mod shortcutset;
|
||||
mod simplify_part;
|
||||
mod slices;
|
||||
mod smartguides;
|
||||
mod store;
|
||||
mod strokegeom;
|
||||
mod strokegradient;
|
||||
mod strokereach;
|
||||
mod strokeux;
|
||||
mod stylelib;
|
||||
mod stylepanel;
|
||||
mod styles;
|
||||
mod swatchcmds;
|
||||
mod swatches;
|
||||
mod swatchlib;
|
||||
mod symbolbounds;
|
||||
mod symbollib;
|
||||
mod targeting;
|
||||
mod textcombos;
|
||||
mod textedit;
|
||||
pub(super) mod textimport;
|
||||
mod tileedge;
|
||||
mod tints;
|
||||
mod toolsettings;
|
||||
mod transformfx;
|
||||
mod transparencygrid;
|
||||
mod trap;
|
||||
mod typearea;
|
||||
mod typescale;
|
||||
mod units;
|
||||
mod variables;
|
||||
mod webexport;
|
||||
mod widthpoints;
|
||||
mod widthprofiles;
|
||||
mod widthtool;
|
||||
mod xform;
|
||||
|
||||
fn session() -> Session {
|
||||
let mut s = Session::new();
|
||||
s.execute("file.new", &json!({"width": 800, "height": 600})).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user