public virtual void QuoteIdentifier() { HsqlCommandBuilder testSubject = new HsqlCommandBuilder(); string unquotedIdentifier = "foo"; string expected = "\"foo\""; string actual = testSubject.QuoteIdentifier(unquotedIdentifier); Assert.AreEqual(expected, actual); }
public virtual void GetUpdateCommand() { HsqlCommandBuilder testSubject = new HsqlCommandBuilder(); testSubject.DataAdapter = new HsqlDataAdapter( "select * from information_schema.system_tables", "Protocol=Mem;Path=Test;User Id=SA;"); bool useColumnsForParameterNames = true; HsqlCommand command = testSubject.GetUpdateCommand(useColumnsForParameterNames); Assert.Fail("TODO"); }