public void dtePreparedTest() { DTEOperation target = new DTEOperation((IEnvironment)null, SolutionEventType.General); string line = "File.OpenProject(\"c:\\path\\app.sln\")"; DTEOperation.DTEPrepared actual = target.parse(line); Assert.AreEqual("File.OpenProject", actual.name); Assert.AreEqual("\"c:\\path\\app.sln\"", actual.args); }
public void dtePreparedTest2() { DTEOperation target = new DTEOperation((IEnvironment)null, SolutionEventType.General); string line = "Debug.StartWithoutDebugging"; DTEOperation.DTEPrepared actual = target.parse(line); Assert.AreEqual("Debug.StartWithoutDebugging", actual.name); Assert.AreEqual("", actual.args); }
public void dtePreparedTest4() { DTEOperation target = new DTEOperation((IEnvironment)null, SolutionEventType.General); string line = ""; DTEOperation.DTEPrepared actual = target.parse(line); }
public void dtePreparedTest5() { DTEOperation target = new DTEOperation((IEnvironment)null, SolutionEventType.General); string line = " OpenProject(arg) "; DTEOperation.DTEPrepared actual = target.parse(line); Assert.AreEqual("OpenProject", actual.name); Assert.AreEqual("arg", actual.args); }