示例#1
0
        public void InnerMarkupText()
        {
            GadgetMaster master = new GadgetMaster(ControlFactory.GetControlFactory(TEST_FACTORY_KEY));

            OsmlNav control = new OsmlNav(rawMarkup, master);

            Assert.AreEqual(content, control.InnerMarkup);
        }
示例#2
0
        public void TestConstructorRender()
        {
            //Assert.IsTrue(true);

            GadgetMaster master  = new GadgetMaster(ControlFactory.GetControlFactory(TEST_FACTORY_KEY));
            OsmlNav      control = new OsmlNav(rawMarkup, master);

            Assert.IsTrue(AssertRenderResultsEqual(control, expectedTag));
        }
示例#3
0
        public void TestLoadRawTagRender()
        {
            //Assert.IsTrue(true);

            GadgetMaster master  = new GadgetMaster(ControlFactory.GetControlFactory(TEST_FACTORY_KEY));
            OsmlNav      control = new OsmlNav();

            control.MyRootMaster = master;
            control.LoadTag(rawMarkup);

            Assert.IsTrue(AssertRenderResultsEqual(control, expectedTag));
        }