Exemplo n.º 1
0
        // ----------------------------------------------------------------------------------------
        /// <!-- DeleteDatabase_Test -->
        /// <summary>
        ///      Tests whether the database tables delete properly
        /// </summary>
        ///[Test]

        public void DeleteKnowledgeDatabase_Test()
        {
            EndemeTableFactory_old.DropEndemeTables(_conn, Throws.Actions, "O");
            RichSqlCommand.DropSchema(EndemeAccess.EnSchema, _conn, Throws.Actions, "O");

            // check to see that there are no remaining Info.* objects in the database
        }
Exemplo n.º 2
0
 // ----------------------------------------------------------------------------------------
 /// <!-- BuildSchema_Test -->
 /// <summary>
 ///      Tests the RichDataTable.Add method
 /// </summary>
 ///[Test]
 public void BuildSchema_Test()
 {
     EndemeTableFactory_old.DropEndemeTables(_conn, Throws.Actions, "I");
     RichSqlCommand.BuildSchema(EndemeAccess.EnSchema, "generictestaccount", _conn, Throws.Actions, "O");
     RichSqlCommand.DropSchema(EndemeAccess.EnSchema, _conn, Throws.Actions, "O");
 }