83 references to AssertSuccess
System.Windows.Forms.Interop.Tests (83)
AccessibleObjectTests.cs (82)
19
AssertSuccess
(Test_IAccessibleExConvertReturnedElement(o));
26
AssertSuccess
(Test_IAccessibleExGetIAccessiblePair(o));
35
AssertSuccess
(Test_IAccessibleExGetRuntimeId(o, null));
47
AssertSuccess
(Test_IAccessibleExGetObjectForChild(o, idChild));
54
AssertSuccess
(Test_IServiceProviderQueryService(o));
61
AssertSuccess
(Test_IRawElementProviderSimpleHostRawElementProvider(o, false));
68
AssertSuccess
(Test_IRawElementProviderSimpleProviderOptions(o, ProviderOptions.ProviderOptions_ServerSideProvider | ProviderOptions.ProviderOptions_UseComThreading));
84
AssertSuccess
(Test_IRawElementProviderSimpleGetPatternProvider(o, (UIA_PATTERN_ID)patternId, (BOOL)expected));
101
AssertSuccess
(Test_IRawElementProviderSimpleGetPropertyValue(o, (UIA_PROPERTY_ID)propertyId, &variant));
116
AssertSuccess
(Test_IRangeValueProviderGetIsReadOnly(o, false));
123
AssertSuccess
(Test_IRangeValueProviderGetLargeChange(o, double.NaN));
130
AssertSuccess
(Test_IRangeValueProviderGetMaximum(o, double.NaN));
137
AssertSuccess
(Test_IRangeValueProviderGetMinimum(o, double.NaN));
144
AssertSuccess
(Test_IRangeValueProviderGetSmallChange(o, double.NaN));
151
AssertSuccess
(Test_IRangeValueProviderGetValue(o, double.NaN));
164
AssertSuccess
(Test_IRangeValueProviderSetValue(o, value, expected));
171
AssertSuccess
(Test_IRawElementProviderFragmentGetBoundingRectangle(o, default));
178
AssertSuccess
(Test_IRawElementProviderFragmentGetFragmentRoot(o));
185
AssertSuccess
(Test_IRawElementProviderFragmentGetEmbeddedFragmentRoots(o));
194
AssertSuccess
(Test_IRawElementProviderFragmentGetRuntimeId(o, null));
209
AssertSuccess
(Test_IRawElementProviderFragmentNavigate(o, (NavigateDirection)direction));
216
AssertSuccess
(Test_IRawElementProviderFragmentSetFocus(o));
227
AssertSuccess
(Test_IRawElementProviderFragmentRootElementProviderFromPoint(o, x, y));
234
AssertSuccess
(Test_IRawElementProviderFragmentRootGetFocus(o));
241
AssertSuccess
(Test_IInvokeProviderInvoke(o));
248
AssertSuccess
(Test_IValueProviderGetIsReadOnly(o, false));
255
AssertSuccess
(Test_IValueProviderGetValue(o, string.Empty));
268
AssertSuccess
(Test_IValueProviderSetValue(o, value, expected));
275
AssertSuccess
(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.ExpandCollapseState_Collapsed));
282
AssertSuccess
(Test_IExpandCollapseProviderExpand(o, ExpandCollapseState.ExpandCollapseState_Collapsed));
283
AssertSuccess
(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.ExpandCollapseState_Collapsed));
290
AssertSuccess
(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.ExpandCollapseState_Collapsed));
297
AssertSuccess
(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.ExpandCollapseState_Collapsed));
298
AssertSuccess
(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.ExpandCollapseState_Collapsed));
305
AssertSuccess
(Test_IExpandCollapseProviderGetExpandCollapseState(o, ExpandCollapseState.ExpandCollapseState_Collapsed));
312
AssertSuccess
(Test_IToggleProviderGetToggleState(o, ToggleState.ToggleState_Indeterminate));
319
AssertSuccess
(Test_IToggleProviderToggle(o, ToggleState.ToggleState_Indeterminate));
326
AssertSuccess
(Test_ITableProviderGetRowOrColumnMajor(o, RowOrColumnMajor.RowOrColumnMajor_RowMajor));
333
AssertSuccess
(Test_ITableProviderGetColumnHeaders(o));
340
AssertSuccess
(Test_ITableProviderGetRowHeaders(o));
347
AssertSuccess
(Test_ITableItemProviderGetColumnHeaderItems(o));
354
AssertSuccess
(Test_ITableItemProviderGetRowHeaderItems(o));
361
AssertSuccess
(Test_IGridProviderGetColumnCount(o, -1));
368
AssertSuccess
(Test_IGridProviderGetRowCount(o, -1));
382
AssertSuccess
(Test_IGridProviderGetItem(o, row, column));
389
AssertSuccess
(Test_IGridItemProviderGetColumn(o, -1));
396
AssertSuccess
(Test_IGridItemProviderGetColumnSpan(o, 1));
403
AssertSuccess
(Test_IGridItemProviderGetContainingGrid(o));
410
AssertSuccess
(Test_IGridItemProviderGetRow(o, -1));
417
AssertSuccess
(Test_IGridItemProviderGetRowSpan(o, 1));
424
AssertSuccess
(Test_IEnumVARIANTClone(o));
431
AssertSuccess
(Test_IEnumVARIANTNextReset(o));
438
AssertSuccess
(Test_IEnumVARIANTSkip(o));
470
AssertSuccess
(Test_IOleWindowContextSensitiveHelp(o, (BOOL)fEnterMode, HRESULT.S_OK));
482
AssertSuccess
(Test_IOleWindowContextSensitiveHelp(o, (BOOL)fEnterMode, HRESULT.S_OK));
495
AssertSuccess
(Test_IOleWindowContextSensitiveHelp(o, (BOOL)fEnterMode, HRESULT.S_OK));
502
AssertSuccess
(Test_IOleWindowGetWindow(o, IntPtr.Zero, HRESULT.E_FAIL));
512
AssertSuccess
(Test_IOleWindowGetWindow(o, IntPtr.Zero, HRESULT.E_FAIL));
533
AssertSuccess
(Test_ILegacyIAccessibleProviderGetChildId(o, 0));
540
AssertSuccess
(Test_ILegacyIAccessibleProviderGetDefaultAction(o, null));
547
AssertSuccess
(Test_ILegacyIAccessibleProviderGetDescription(o, null));
554
AssertSuccess
(Test_ILegacyIAccessibleProviderGetHelp(o, null));
561
AssertSuccess
(Test_ILegacyIAccessibleProviderGetKeyboardShortcut(o, null));
568
AssertSuccess
(Test_ILegacyIAccessibleProviderGetName(o, null));
575
AssertSuccess
(Test_ILegacyIAccessibleProviderGetRole(o, 0));
582
AssertSuccess
(Test_ILegacyIAccessibleProviderGetState(o, 0));
589
AssertSuccess
(Test_ILegacyIAccessibleProviderGetValue(o, string.Empty));
596
AssertSuccess
(Test_ILegacyIAccessibleProviderDoDefaultAction(o));
603
AssertSuccess
(Test_ILegacyIAccessibleProviderGetIAccessible(o));
610
AssertSuccess
(Test_ILegacyIAccessibleProviderGetSelection(o, false));
623
AssertSuccess
(Test_ILegacyIAccessibleProviderSetValue(o, value, expected));
638
AssertSuccess
(Test_ILegacyIAccessibleProviderSelect(o, flagsSelect));
645
AssertSuccess
(Test_ISelectionProviderGetCanSelectMultiple(o, false));
652
AssertSuccess
(Test_ISelectionProviderGetIsSelectionRequired(o, false));
659
AssertSuccess
(Test_ISelectionProviderGetSelection(o, false));
666
AssertSuccess
(Test_ISelectionItemProviderGetIsSelected(o, false));
673
AssertSuccess
(Test_ISelectionItemProviderGetSelectionContainer(o, false));
680
AssertSuccess
(Test_ISelectionItemProviderAddToSelection(o));
687
AssertSuccess
(Test_ISelectionItemProviderRemoveFromSelection(o));
694
AssertSuccess
(Test_ISelectionItemProviderSelect(o));
701
AssertSuccess
(Test_IRawElementProviderHwndOverrideGetOverrideProviderForHwnd(o));
710
AssertSuccess
(Test_IScrollItemProviderScrollIntoView(o));
WebBrowserSiteBaseInteropTests.cs (1)
15
AssertSuccess
(Test_WebBrowserSiteBase(site));