public void NotExistTableTest() { Assert.Throws <AggregateException>( () => SQLiteCommandAsync .ExecuteDataTableAsync(DefaultSQLiteDb, "SELECT * FROM XXXXXXX") .Wait()); }
public void InvalidQueryStringTest() { // DB 마다 다 다르네... Assert.Throws <NotSupportedException>( () => SQLiteCommandAsync .ExecuteDataTableAsync(DefaultSQLiteDb, "SEL * FRO Customers") .Wait()); }