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

            Assert.Equal(UITypeEditorEditStyle.None, editor.GetEditStyle(context));
        }