Ejemplo n.º 1
0
        public virtual void MergeTextDecorationSecondNullTest()
        {
            String firstValue  = "underline";
            String secondValue = null;
            String expected    = "underline";
            String actual      = CssPropertyMerger.MergeTextDecoration(firstValue, secondValue);

            NUnit.Framework.Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
        public virtual void MergeTextDecorationBothInputsNoneTest()
        {
            String firstValue  = "underline none";
            String secondValue = "strikethrough none";
            String expected    = "none";
            String actual      = CssPropertyMerger.MergeTextDecoration(firstValue, secondValue);

            NUnit.Framework.Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 3
0
        public virtual void MergeTextDecorationFirstNullTest()
        {
            String firstValue  = null;
            String secondValue = "strikethrough bold";
            String expected    = "strikethrough bold";
            String actual      = CssPropertyMerger.MergeTextDecoration(firstValue, secondValue);

            NUnit.Framework.Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 4
0
        public virtual void MergeTextDecorationEmpyInputsTest()
        {
            String firstValue  = "";
            String secondValue = "";
            String expected    = "none";
            String actual      = CssPropertyMerger.MergeTextDecoration(firstValue, secondValue);

            NUnit.Framework.Assert.AreEqual(expected, actual);
        }