public void SaveAsPLTTest() { string source = @"D:\JawiExport\abd karim bin ishak.svg"; Inkscape target = new Inkscape(); target.SaveAsPLT(source,source.Replace(".svg",".plt")); target.Dispose(); }
public void BreakApartTest() { Inkscape target = new Inkscape(); target.OpenFile(@"G:\works\Output\abu bakar bin mohd hassan.svg");//mat saad bin jusoh.svg"); target.BreakApart(@"D:\Export\abu bakar bin mohd hassan.svg");//mat saad bin jusoh.svg"); target.Dispose(); }
public void LaunchApplicationTest() { Inkscape target = new Inkscape(); Process[] result = Process.GetProcessesByName("Inkscape"); int notExpected = 0; int actual = result.Length; System.Diagnostics.Debug.WriteLine("Found in TaskManager: "+actual); Assert.AreNotEqual(notExpected,actual); target.Dispose(); }
public void ExportToPLTTest() { string from = @"G:\works\Output\mat saad bin jusoh.svg.svg"; string to = @"D:\Export\mat saad bin jusoh.svg.svg"; Inkscape target = new Inkscape(); target.OpenFile(from); target.BreakApart(to); target.SaveAsPLT(to,to.Replace(".svg",".plt")); target.Dispose(); }
public void SaveAsFileTest() { Inkscape target = new Inkscape(); target.SaveAsFile(@"G:\works\words\talib.hpgl"); }
public void OpenFileTest() { Inkscape target = new Inkscape(); //target.OpenFile(@"G:\works\words\talib.svg");//.ToUpper()); target.OpenFile(@"G:\works\Output\mat saad bin jusoh.svg"); }
public void OpenMenuTest() { Inkscape target = new Inkscape(); target.OpenMenu(InkscapeMenu.File); target.ExecuteMenuByName("Open"); }