Inheritance: BasePattern
Esempio n. 1
0
		/// -------------------------------------------------------------------
		/// <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);
        }
Esempio n. 2
0
			internal DockPatternInformation (DockPattern pattern, bool cache)
			{
				this.pattern = pattern;
				this.cache = cache;
			}
Esempio n. 3
0
 internal DockPatternInformation(DockPattern pattern, bool cache)
 {
     this.pattern = pattern;
     this.cache   = cache;
 }
Esempio n. 4
0
		private void VerifyDockPosition (DockPattern pattern, DockPosition dockPosition)
		{
			Assert.AreEqual (dockPosition,
				pattern.Current.DockPosition,
				"DockPosition " + dockPosition);
			Assert.AreEqual (dockPosition,
				splitter1Element.GetCurrentPropertyValue (DockPattern.DockPositionProperty),
				"DockPositionProperty " + dockPosition);
		}