public DTECheckFrm(IEnvironment env) { _dteo = new DTEOperation(env, vsSBE.Events.SolutionEventType.General); InitializeComponent(); Icon = Resource.Package_32; }
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); }
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 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); }
/// <param name="env">Used environment</param> public DTEComponent(IEnvironment env) : base(env) { dteo = new DTEOperation(env, Events.SolutionEventType.General); attachCommandEvents(); }