public void eventsItemRunTest1()
        {
            var target = new InternalComponentAccessor();

            try {
                target.Eval("[Core events.Pre.item(1).run]");
                Assert.Fail("1");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(IncorrectNodeException), ex.GetType().ToString()); }

            try {
                target.Eval("[Core events.Pre.item(1).run() = true]");
                Assert.Fail("2");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotSupportedOperationException), ex.GetType().ToString()); }

            try {
                target.Eval("[Core events.Pre.item(1).run(): true]");
                Assert.Fail("3");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotSupportedOperationException), ex.GetType().ToString()); }

            try {
                target.Eval("[Core events.Pre.item(1).run().m]");
                Assert.Fail("4");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotSupportedOperationException), ex.GetType().ToString()); }
        }
        public void pEnabledParseTest1()
        {
            InternalComponentAccessor target = new InternalComponentAccessor();

            Assert.AreEqual(Value.From(true), target.Eval("[vsSBE events.Pre.item(1).Enabled]"));
            Assert.AreEqual(Value.From(true), target.Eval("[vsSBE events.Pre.item(\"Name1\").Enabled]"));
            Assert.AreEqual(Value.From(false), target.Eval("[vsSBE events.Pre.item(2).Enabled]"));
            Assert.AreEqual(Value.From(false), target.Eval("[vsSBE events.Pre.item(\"Name2\").Enabled]"));
        }
        public void eventsItemRunTest2()
        {
            var target = new InternalComponentAccessor();

            Assert.AreEqual(Value.From(true), target.Eval("[Core events.Pre.item(1).run()]"));
            Assert.AreEqual(Value.From(true), target.Eval("[Core events.Pre.item(1).run(Common)]"));
            Assert.AreEqual(Value.From(false), target.Eval("[Core events.Pre.item(2).run()]"));
            Assert.AreEqual(Value.From(false), target.Eval("[Core events.Pre.item(3).run()]"));
            Assert.AreEqual(Value.From(false), target.Eval("[Core events.Pre.item(3).run(Common)]"));
            Assert.AreEqual(Value.From(true), target.Eval("[Core events.Pre.item(3).run(Rebuild)]"));
        }
        public void pStderrTest2()
        {
            var target = new InternalComponentAccessor();

            Assert.AreNotEqual(null, target.Eval("[Core events.Pre.item(1).stderr]"));
        }
        public void pStderrTest1()
        {
            var target = new InternalComponentAccessor();

            target.Eval("[Core events.Pre.item(1).stderr = true]");
        }
        public void pStatusParseTest3()
        {
            InternalComponentAccessor target = new InternalComponentAccessor();

            target.Eval("[vsSBE events.Pre.item(1).Status.NotExistProp]");
        }
        public void pStatusParseTest2()
        {
            InternalComponentAccessor target = new InternalComponentAccessor();

            Assert.AreEqual("false", target.Eval("[vsSBE events.Pre.item(1).Status.HasErrors]"));
        }
        public void pStatusParseTest1()
        {
            InternalComponentAccessor target = new InternalComponentAccessor();

            target.Eval("[vsSBE events.Pre.item(1).Status.Has Errors]");
        }
        public void pEnabledParseTest2()
        {
            InternalComponentAccessor target = new InternalComponentAccessor();

            target.Eval("[vsSBE events.Pre.item(1).Enabled = 1true]");
        }