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); }
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); }