Beispiel #1
0
        public void FontEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context)
        {
            var editor = new FontEditor();

            Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
        }
Beispiel #2
0
        public void GetEditStyle_Invoke_ReturnsModal()
        {
            var editor = new FontEditor();

            Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(null));
        }