상속: BasePattern
예제 #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);
        }
예제 #2
0
파일: DockPattern.cs 프로젝트: mono/uia2atk
			internal DockPatternInformation (DockPattern pattern, bool cache)
			{
				this.pattern = pattern;
				this.cache = cache;
			}
예제 #3
0
 internal DockPatternInformation(DockPattern pattern, bool cache)
 {
     this.pattern = pattern;
     this.cache   = cache;
 }
예제 #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);
		}