Exemplo n.º 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");
        }
Exemplo n.º 2
0
        public void CopyFrom_Empty()
        {
            TestTableStyle ts = new TestTableStyle();

            ts.CopyFrom(new TableStyle());
            DefaultProperties(ts);
        }
Exemplo n.º 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");
		}
Exemplo n.º 4
0
		public void CopyFrom_Empty ()
		{
			TestTableStyle ts = new TestTableStyle ();
			ts.CopyFrom (new TableStyle ());
			DefaultProperties (ts);
		}