Ejemplo n.º 1
0
        public void TestWhere()
        {
            string[]    numeCol1    = { "col11", "col12", "col13" };
            ColumnNames columnName1 = new ColumnNames(numeCol1);

            Table testTable = new Table("testTable", columnName1);

            Table.TableException dex = Assert.Throws <Table.TableException>(delegate { testTable.Where(null); });
            Assert.Greater(dex.Message.Length, 0);
        }
Ejemplo n.º 2
0
 public void TestTableCheck()
 {
     Table.TableException dex = Assert.Throws <Table.TableException>(delegate { Table.check(false, "DoneTesting"); });
     Assert.That(dex.Message, NUnit.Framework.Is.EqualTo("DoneTesting"));
 }
Ejemplo n.º 3
0
 public void TableExceptionTest1()
 {
     Table.TableException dex = Assert.Throws <Table.TableException>(delegate { throw new Table.TableException("Done"); });
     Assert.That(dex.Message, NUnit.Framework.Is.EqualTo("Done"));
 }