1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 03:32:36 +00:00
elsid 7d1cd11ba9
Split openmw_test_suite into openmw and components tests
To avoid duplicated compilation for openmw translation units. Link openmw-lib to
openmw-tests instead.
2024-06-10 23:12:14 +02:00

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);
}
}