comparison UnitTestsSources/SQLite.cpp @ 803:4689e400e0fa

directory to store the results of the unit tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 May 2014 09:29:11 +0200
parents 96a2d2da0fee
children 3d6f9b7d0add
comparison
equal deleted inserted replaced
802:82b07ab959f4 803:4689e400e0fa
16 } 16 }
17 17
18 18
19 TEST(SQLite, Connection) 19 TEST(SQLite, Connection)
20 { 20 {
21 Toolbox::RemoveFile("coucou"); 21 Toolbox::RemoveFile("UnitTestsResults/coucou");
22 SQLite::Connection c; 22 SQLite::Connection c;
23 c.Open("coucou"); 23 c.Open("UnitTestsResults/coucou");
24 c.Execute("CREATE TABLE c(k INTEGER PRIMARY KEY AUTOINCREMENT, v INTEGER)"); 24 c.Execute("CREATE TABLE c(k INTEGER PRIMARY KEY AUTOINCREMENT, v INTEGER)");
25 c.Execute("INSERT INTO c VALUES(NULL, 42);"); 25 c.Execute("INSERT INTO c VALUES(NULL, 42);");
26 } 26 }
27 27
28 28