Beispiel #1
0
 public void DesignerContstructorTest()
 {
     TestPageView target = new TestPageView();
     Assert.IsNotNull(target);
     PropertyPageBase_PageViewAccessor accessor = new PropertyPageBase_PageViewAccessor(target);
     Assert.IsNull(accessor.m_propertyControlMap);
 }
Beispiel #2
0
        public void PropertyControlTableTest()
        {
            TestIPageViewSite testPageViewSite = new TestIPageViewSite();

            TestPageView pageView = new TestPageView(testPageViewSite);
            PropertyPageBase_PageViewAccessor pageViewAccessor = new PropertyPageBase_PageViewAccessor(pageView);
            PropertyPageBase_PropertyControlMapAccessor mapAccessor = new PropertyPageBase_PropertyControlMapAccessor(pageViewAccessor.m_propertyControlMap);
            Assert.AreEqual(pageView.Table, mapAccessor.m_propertyControlTable);
        }
Beispiel #3
0
        public void m_propertyControlMapTest()
        {
            TestIPageViewSite testPageViewSite = new TestIPageViewSite();

            TestPageView target = new TestPageView(testPageViewSite);
            PropertyPageBase_PageViewAccessor accessor = new PropertyPageBase_PageViewAccessor(target);
            Assert.IsNotNull(accessor.m_propertyControlMap);
        }