You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/apps/openmw_test_suite/sqlite3/db.cpp

16 lines
325 B
C++

#include <components/sqlite3/db.hpp>
#include <gtest/gtest.h>
namespace
{
using namespace testing;
using namespace Sqlite3;
TEST(Sqlite3DbTest, makeDbShouldCreateInMemoryDbWithSchema)
{
const auto db = makeDb(":memory:", "CREATE TABLE test ( id INTEGER )");
EXPECT_NE(db, nullptr);
}
}