/// ------------------------------------------------------------------- /// <summary></summary> /// ------------------------------------------------------------------- public DockTests(AutomationElement element, TestPriorities priority, string dirResults, bool testEvents, TypeOfControl typeOfControl, IApplicationCommands commands) : base(element, TestSuite, priority, typeOfControl, TypeOfPattern.Dock, dirResults, testEvents, commands) { m_pattern = (DockPattern)element.GetCurrentPattern(DockPattern.Pattern); if (m_pattern == null) throw new Exception(Helpers.PatternNotSupported); }
internal DockPatternInformation (DockPattern pattern, bool cache) { this.pattern = pattern; this.cache = cache; }
internal DockPatternInformation(DockPattern pattern, bool cache) { this.pattern = pattern; this.cache = cache; }
private void VerifyDockPosition (DockPattern pattern, DockPosition dockPosition) { Assert.AreEqual (dockPosition, pattern.Current.DockPosition, "DockPosition " + dockPosition); Assert.AreEqual (dockPosition, splitter1Element.GetCurrentPropertyValue (DockPattern.DockPositionProperty), "DockPositionProperty " + dockPosition); }