public void TextIsSetFromIconName() { IconFontRegistry.Reset(); IconFontRegistry.Register(new IconFont("TestFontFamily", "test", typeof(MockFontA))); var span = new IconSpan { GlyphName = "test-foo" }; Assert.Single(span.Text); Assert.Equal(MockFontA.Foo, span.Text); }
private void RegisterTestIcons() { IconFontRegistry.Reset(); IconFontRegistry.Register(new IconFont("TestFontFamily", "test", typeof(MockFontA))); }