public void parseTest2()
 {
     InternalComponent target = new InternalComponent(new StubEnv());
     target.parse("vsCE events.Type.item(1)");
 }
 public void parseTest3()
 {
     InternalComponent target = new InternalComponent(new StubEnv());
     target.parse("[vsCE NoExist.Type]");
 }
 public void stEventsParseTest2()
 {
     InternalComponent target = new InternalComponent(new StubEnv());
     target.parse("[vsCE events.Type.item(1).test]");
 }
        public void startUpProjectTest3()
        {
            IEnvironment env    = new StubEnv();
            var target          = new InternalComponent(env);
            string defProject   = env.StartupProjectString;

            Assert.AreEqual(String.Empty, target.parse("[Core StartUpProject = project1]"));
            Assert.AreEqual("project1", env.StartupProjectString);
            Assert.AreEqual(env.StartupProjectString, target.parse("[Core StartUpProject]"));

            Assert.AreEqual(String.Empty, target.parse("[Core StartUpProject =]"));
            Assert.AreEqual(defProject, env.StartupProjectString);
            Assert.AreEqual(env.StartupProjectString, target.parse("[Core StartUpProject]"));
        }
 public void startUpProjectTest1()
 {
     var target = new InternalComponent(new StubEnv());
     target.parse("[Core StartUpProject: test]");
 }
 public void parseTest()
 {
     InternalComponent target = new InternalComponent();
     target.parse("#[vsCE events.Type.item(1)]");
 }
 public void stEventsParseTest1()
 {
     InternalComponent target = new InternalComponent();
     target.parse("[vsCE events.Type.item(name)]");
 }