Beispiel #1
0
        public void Color_Initialization()
        {
            var colors = new Office2003ColorStub();

            colors.InitColor(XPThemeType.Homestead);
            colors.InitColor(XPThemeType.Metallic);
            colors.InitColor(XPThemeType.NormalColor);
        }
Beispiel #2
0
 public void Initialize_Standard_Colors()
 {
     var colors = new Office2003ColorStub();
     colors.InitStandard();
 }
Beispiel #3
0
        public void Color_Initialization_With_Unknown_Theme()
        {
            var colors = new Office2003ColorStub();

            Assert.Throws(typeof(IndexOutOfRangeException), () => colors.InitColor(XPThemeType.Unknown));
        }
Beispiel #4
0
 public void Can_Reinitialize_Colors()
 {
     var colors = new Office2003ColorStub();
     colors.ReinitializeColors();
 }