public void ExecuteInsertTableTaskMemoTest() { string dbfile = "taskaludb14.sqlite"; string path = Path.GetTempPath() + "\\" + dbfile; TouchTestDB(dbfile); Debug.Assert(SQLiteClass.ExecuteInsertTableTaskMemo(path, 1, "memo")); }
public void ExecuteMoreSelectTableTaskMemoTest() { string dbfile = "taskaludb16.sqlite"; string path = Path.GetTempPath() + "\\" + dbfile; TouchTestDB(dbfile); InsertTableTaskList(dbfile, "hoge", 0); // tasklist id = 1 SQLiteClass.TaskMemoMoreSize = 10; for (int i = 1; i <= 21; i++) { SQLiteClass.ExecuteInsertTableTaskMemo(path, 1, "memo"); } Debug.Assert(SQLiteClass.ExecuteFirstSelectTableTaskMemo(path, 1)); }