示例#1
0
        public void WhenOptionFalse_ShouldAddClass()
        {
            VisualElement listElement = new VisualElement();

            Handler.SetRemoveButtonVisibility(listElement, false);
            Assert.IsTrue(listElement.ClassListContains(UxmlClassNames.HideRemoveButtons));
        }
示例#2
0
 public void WhenElementIsNull_ShouldFailSilently()
 {
     Handler.SetRemoveButtonVisibility(null, false);
 }