Ejemplo n.º 1
0
 public void TestIsDesktopFalse()
 {
     using (var e = new MockA11yElement())
     {
         Assert.IsFalse(IsDesktop.Matches(e));
     } // using
 }
Ejemplo n.º 2
0
 public void TestIsDesktopTrue()
 {
     using (var e = new MockA11yElement())
     {
         var property = new A11yProperty(PropertyType.UIA_RuntimeIdPropertyId, new int[] { 0x2A, 0x10010 });
         e.Properties.Add(property.Id, property);
         Assert.IsTrue(IsDesktop.Matches(e));
     } // using
 }