public override void GetPattern () { ScrollViewerAutomationPeerConcrete svapp = new ScrollViewerAutomationPeerConcrete (new ScrollViewer ()); Assert.IsNull (svapp.GetPattern (PatternInterface.Dock), "Dock"); Assert.IsNull (svapp.GetPattern (PatternInterface.ExpandCollapse), "ExpandCollapse"); Assert.IsNull (svapp.GetPattern (PatternInterface.Grid), "Grid"); Assert.IsNull (svapp.GetPattern (PatternInterface.GridItem), "GridItem"); Assert.IsNull (svapp.GetPattern (PatternInterface.Invoke), "Invoke"); Assert.IsNull (svapp.GetPattern (PatternInterface.MultipleView), "MultipleView"); Assert.IsNull (svapp.GetPattern (PatternInterface.RangeValue), "RangeValue"); Assert.IsNull (svapp.GetPattern (PatternInterface.ScrollItem), "ScrollItem"); Assert.IsNull (svapp.GetPattern (PatternInterface.Selection), "Selection"); Assert.IsNull (svapp.GetPattern (PatternInterface.SelectionItem), "SelectionItem"); Assert.IsNull (svapp.GetPattern (PatternInterface.Table), "Table"); Assert.IsNull (svapp.GetPattern (PatternInterface.TableItem), "TableItem"); Assert.IsNull (svapp.GetPattern (PatternInterface.Toggle), "Toggle"); Assert.IsNull (svapp.GetPattern (PatternInterface.Transform), "Transform"); Assert.IsNull (svapp.GetPattern (PatternInterface.Value), "Value"); Assert.IsNull (svapp.GetPattern (PatternInterface.Window), "Window"); Assert.IsNotNull (svapp.GetPattern (PatternInterface.Scroll), "Scroll"); }
public override void IsControlElement () { ScrollViewerAutomationPeerConcrete svapp = new ScrollViewerAutomationPeerConcrete (new ScrollViewer ()); Assert.IsTrue (svapp.IsControlElement (), "IsControlElement"); Assert.IsTrue (svapp.IsControlElementCore_ (), "IsControlElementCore"); }
public override void GetClassName () { ScrollViewerAutomationPeerConcrete svapp = new ScrollViewerAutomationPeerConcrete (new ScrollViewer ()); Assert.AreEqual ("ScrollViewer", svapp.GetClassName (), "GetClassNameCore"); Assert.AreEqual ("ScrollViewer", svapp.GetClassNameCore_ (), "GetClassNameCoreCore"); }
public override void GetAutomationControlType () { ScrollViewerAutomationPeerConcrete svapp = new ScrollViewerAutomationPeerConcrete (new ScrollViewer ()); Assert.AreEqual (AutomationControlType.Pane, svapp.GetAutomationControlType (), "GetAutomationControlType"); Assert.AreEqual (AutomationControlType.Pane, svapp.GetAutomationControlTypeCore_ (), "GetAutomationControlTypeCore"); }