Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        public void dtePreparedTest4()
        {
            DTEOperation target = new DTEOperation((IEnvironment)null, SolutionEventType.General);

            string line = "";
            DTEOperation.DTEPrepared actual = target.parse(line);
        }
Exemplo n.º 4
0
        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);
        }