Beispiel #1
0
        public void CopyFrom_IsEmpty()
        {
            TestTableStyle c = new TestTableStyle();
            TableStyle     s = new TableStyle();


            s.BorderWidth = Unit.Empty;
            c.CopyFrom(s);
            Assert.IsTrue(c.Empty, "A1");

            s.GridLines = GridLines.Both;
            c.CopyFrom(s);
            Assert.IsFalse(c.Empty, "A2");
        }
Beispiel #2
0
        public void CopyFrom_Empty()
        {
            TestTableStyle ts = new TestTableStyle();

            ts.CopyFrom(new TableStyle());
            DefaultProperties(ts);
        }
Beispiel #3
0
		public void CopyFrom_IsEmpty ()
		{
			TestTableStyle c = new TestTableStyle ();
			TableStyle s = new TableStyle ();

			
			s.BorderWidth = Unit.Empty;
			c.CopyFrom (s);
			Assert.IsTrue (c.Empty, "A1");
			
			s.GridLines = GridLines.Both;
			c.CopyFrom (s);
			Assert.IsFalse (c.Empty, "A2");
		}
Beispiel #4
0
		public void CopyFrom_Empty ()
		{
			TestTableStyle ts = new TestTableStyle ();
			ts.CopyFrom (new TableStyle ());
			DefaultProperties (ts);
		}