Inheritance: CustomProviderBase
 public CustomInvokeProvider(CustomProviderFragment provider)
 {
     if (provider == null)
     {
         throw new ArgumentNullException("provider");
     }
     this.provider = provider;
 }
 public virtual void FixtureSetUp()
 {
     simpleProvider     = new CustomProviderSimple();
     simpleProvider2    = new CustomProviderSimple(FakeHandle);
     childProvider      = new CustomProviderFragment(null);
     rootProvider       = new CustomProviderRoot(childProvider);
     childProvider.Root = rootProvider;
     simple             = AutomationElement.FromLocalProvider(simpleProvider);
     simple2            = AutomationElement.FromLocalProvider(simpleProvider2);
     child = AutomationElement.FromLocalProvider(childProvider);
     root  = AutomationElement.FromLocalProvider(rootProvider);
 }
Exemple #3
0
		public virtual void FixtureSetUp ()
		{
			simpleProvider = new CustomProviderSimple ();
			simpleProvider2 = new CustomProviderSimple (FakeHandle);
			childProvider = new CustomProviderFragment (null);
			rootProvider = new CustomProviderRoot (childProvider);
			childProvider.Root = rootProvider;
			simple = AutomationElement.FromLocalProvider (simpleProvider);
			simple2 = AutomationElement.FromLocalProvider (simpleProvider2);
			child = AutomationElement.FromLocalProvider(childProvider);
			root = AutomationElement.FromLocalProvider(rootProvider);
		}
Exemple #4
0
		public CustomInvokeProvider (CustomProviderFragment provider)
		{
			if (provider == null)
				throw new ArgumentNullException ("provider");
			this.provider = provider;
		}