コード例 #1
0
 public void IsDialog_NotSet_False()
 {
     using (var e = new MockA11yElement())
     {
         Assert.IsFalse(IsDialog.Matches(e));
     } // using
 }
コード例 #2
0
 public void IsDialog_False()
 {
     using (var e = new MockA11yElement())
     {
         var a11yProperty = new A11yProperty(PropertyType.UIA_IsDialogPropertyId, false);
         e.Properties.Add(PropertyType.UIA_IsDialogPropertyId, a11yProperty);
         Assert.IsFalse(IsDialog.Matches(e));
     } // using
 }