상속: BasePattern
예제 #1
0
        /// -------------------------------------------------------------------
        /// <summary></summary>
        /// -------------------------------------------------------------------
        protected TogglePatternWrapper(AutomationElement element, string testSuite, TestPriorities priority, TypeOfControl typeOfControl, TypeOfPattern typeOfPattern, string dirResults, bool testEvents, IApplicationCommands commands)
            :
            base(element, testSuite, priority, typeOfControl, typeOfPattern, dirResults, testEvents, commands)
        {
            _pattern = (TogglePattern)element.GetCurrentPattern(TogglePattern.Pattern);

            if (_pattern == null)
                throw new Exception("TogglePattern: " + Helpers.PatternNotSupported);
        }
예제 #2
0
 internal TogglePatternInformation(TogglePattern pattern, bool cache)
 {
     this.pattern = pattern;
     this.cache   = cache;
 }
예제 #3
0
			internal TogglePatternInformation (TogglePattern pattern, bool cache)
			{
				this.pattern = pattern;
				this.cache = cache;
			}