mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
16 lines
325 B
C++
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);
|
|
}
|
|
}
|