Inheritance: AutomationEventArgs
 public void AsyncContentLoadedStateTest ()
 {
     AsyncContentLoadedEventArgs args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Beginning, 0.0);
     Assert.AreEqual (AsyncContentLoadedState.Beginning, args.AsyncContentLoadedState, "Beginning");
     args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Progress, 0.0);
     Assert.AreEqual (AsyncContentLoadedState.Progress, args.AsyncContentLoadedState, "Progress");
     args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Completed, 0.0);
     Assert.AreEqual (AsyncContentLoadedState.Completed, args.AsyncContentLoadedState, "Completed");
 }
 public void PercentCompleteTest ()
 {
     AsyncContentLoadedEventArgs args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Beginning, 0.0);
     Assert.AreEqual (0.0, args.PercentComplete, "0.0");
     args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Beginning, 50.0);
     Assert.AreEqual (50.0, args.PercentComplete, "50.0");
     args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Beginning, 100.0);
     Assert.AreEqual (100.0, args.PercentComplete, "100.0");
     args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Beginning, 101.0);
     Assert.AreEqual (101.0, args.PercentComplete, "101.0");
     args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Beginning, -1.0);
     Assert.AreEqual (-1.0, args.PercentComplete, "-1.0");
 }
 public void EventIdTest ()
 {
     AsyncContentLoadedEventArgs args = new AsyncContentLoadedEventArgs (AsyncContentLoadedState.Progress, 0.0);
     Assert.AreEqual (AutomationElementIdentifiers.AsyncContentLoadedEvent, args.EventId, "EventId");
 }