Beispiel #1
0
        public void WidgetValidationFailsIfParentExists()
        {
            var tag = new SampleWidgetTag("MyTags.Grid");

            Assert.False(tag.ValidateParentFullKey("MyTags.Chart.Label"));
        }
Beispiel #2
0
        public void WidgetValidationSucceedsIfNoParent()
        {
            var tag = new SampleWidgetTag("MyTags.Grid");

            Assert.True(tag.ValidateParentFullKey(null));
        }