1 #define BOOST_TEST_MODULE (writesqlitedb test) 3 #include "boost/test/unit_test.hpp" 9 BOOST_AUTO_TEST_SUITE(write_sqlitedb_test)
15 int rc = sqlite3_open_v2(
16 "test.db", &db, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,
nullptr);
18 BOOST_TEST(rc == SQLITE_OK);
20 rc = sqlite3_close(db);
21 BOOST_TEST(rc == SQLITE_OK);
24 BOOST_AUTO_TEST_SUITE_END()
void parse_file_and_fill_db(std::string const &filename, sqlite3 *db)
BOOST_AUTO_TEST_CASE(write_sqlite)