Beispiel #1
0
        public void ShadowLightSlottedEmpty()
        {
            var component = new MyDummyComponent();
            var div       = Element.Create("div");
            var x         = component.GetShadow();

            x.AppendChild(div);
            Assert.Empty(x.GetLightSlotted());
        }
Beispiel #2
0
        public void ShadowNotPrintable()
        {
            var div       = Element.Create("div");
            var component = new MyDummyComponent();
            var x         = component.GetShadow();

            Assert.False(x.IsPrintable);
            Assert.True(div.IsPrintable);
            Assert.False(component.IsPrintable);
        }