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