Ejemplo n.º 1
0
        public void IconSourceConventionTest()
        {
            var command = new IconConventionCommand();
            Assert.AreEqual("/ShellLight.Test;component/Icons/IconConvention.png",command.IconSource,"should return custom icon source");

            var command2 = new IconConventionDefaultImageCommand();
            Assert.AreEqual("/ShellLight;component/Images/default.png",command2.IconSource,"should return default icon source");
        }
Ejemplo n.º 2
0
 public void NameConventionTest()
 {
     var command = new IconConventionCommand();
     Assert.AreEqual("Icon Convention", command.Name, "should return conventional name");
 }