Ejemplo n.º 1
0
 public void FontNameEditor_Getters()
 {
     Assert.Equal(UITypeEditorEditStyle.None, _fontNameEditor.GetEditStyle(_typeDescriptorContext));
     Assert.True(_fontNameEditor.GetPaintValueSupported(_typeDescriptorContext));
 }
Ejemplo n.º 2
0
        public void FontNameEditor_GetPaintValueSupported_Invoke_ReturnsTrue(ITypeDescriptorContext context)
        {
            var editor = new FontNameEditor();

            Assert.True(editor.GetPaintValueSupported(context));
        }