public void stLogParseTest3()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            Assert.AreEqual(Value.Empty, target.parse("[OWP log.Message]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP log.Level]"));
        }
        public void stItemActivateParseTest2()
        {
            OWPComponent target = new OWPComponent(Env);

            Assert.AreEqual(Value.from(false), target.parse("[OWP item(\"name\").activate = false]"));
            Assert.AreEqual(Value.from(true), target.parse("[OWP item(\"name\").activate = true]"));
        }
        public void stOutParseTest4()
        {
            var target = new OWPComponent((IEnvironment)null);

            try {
                target.parse("[OWP out.All.NotRealProperty]");
                Assert.Fail("1");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotSupportedOperationException), ex.GetType().ToString()); }

            try {
                target.parse("[OWP out.Warnings.NotRealProperty]");
                Assert.Fail("2");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotSupportedOperationException), ex.GetType().ToString()); }

            try {
                target.parse("[OWP out.Warnings.Codes.NotRealProperty]");
                Assert.Fail("3");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotSupportedOperationException), ex.GetType().ToString()); }

            try {
                target.parse("[OWP out.NotRealProperty]");
                Assert.Fail("4");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(IncorrectNodeException), ex.GetType().ToString()); }

            try {
                target.parse("[OWP out.Warnings.Count = 12]");
                Assert.Fail("5");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotSupportedOperationException), ex.GetType().ToString()); }
        }
        public void stItemWriteParseTest3()
        {
            OWPComponent target = new OWPComponent(Env);

            Assert.AreEqual(Value.Empty, target.parse("[OWP item(\"name\").write(false): multi\nline\" \n 'data'.]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP item(\"name\").write(true): multi\nline\" \n 'data'.]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP item(\"name\").writeLine(false): multi\nline\" \n 'data'.]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP item(\"name\").writeLine(true): multi\nline\" \n 'data'.]"));
        }
        public void stOutParseTest1()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            Assert.AreEqual(Value.Empty, target.parse("[OWP out.All]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP out]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP out.Warnings.Raw]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP out.Warnings]"));
            Assert.AreEqual("0", target.parse("[OWP out.Warnings.Count]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP out.Warnings.Codes]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP out.Errors.Raw]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP out.Errors]"));
            Assert.AreEqual("0", target.parse("[OWP out.Errors.Count]"));
            Assert.AreEqual(Value.Empty, target.parse("[OWP out.Errors.Codes]"));
        }
        public void stOutParseTest5()
        {
            var target = new OWPComponent((IEnvironment)null);

            try {
                target.parse("[OWP out(\"NotAvailableName\").Warnings.Raw]");
                Assert.Fail("1");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotFoundException), ex.GetType().ToString()); }

            try {
                target.parse("[OWP out(\"814F1F57-BF57-4944-8100-CA5514BB4194\", true).All]");
                Assert.Fail("2");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(NotFoundException), ex.GetType().ToString()); }
        }
        public void stOutParseTest3()
        {
            var target = new OWPComponent((IEnvironment)null);

            try {
                target.parse("[OWP out()]");
                Assert.Fail("1");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(InvalidArgumentException), ex.GetType().ToString()); }

            try {
                target.parse("[OWP out().All]");
                Assert.Fail("2");
            }
            catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(InvalidArgumentException), ex.GetType().ToString()); }
        }
        public void stItemActivateParseTest1()
        {
            OWPComponent target = new OWPComponent(Env);

            Assert.AreEqual(Value.Empty, target.parse("[OWP item(\"name\").activate]"));
        }
        public void stItemWriteParseTest1()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("[OWP item(\"name\").write(\"false\"): ]");
        }
        public void stItemParseTest4()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("[OWP item(name).write(false): ]");
        }
        public void stItemParseTest2()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("[OWP item(\"name\").NotSupportedTest]");
        }
        public void stOutParseTest2()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("[OWP out.NotRealPropertyTest]");
        }
        public void stLogParseTest2()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("[OWP log.NotSupportedTest]");
        }
        public void stLogParseTest1()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("[OWP log]");
        }
        public void parseTest2()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("OWP out.Warnings.Count");
        }
        public void parseTest3()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("[OWP NotFound.Test]");
        }
        public void stItemParseTest1()
        {
            OWPComponent target = new OWPComponent((IEnvironment)null);

            target.parse("[OWP item(\"name\")]");
        }