The Battle for Wesnoth
1.15.8+dev
modules
mariadbpp
test
TruncationTest.h
Go to the documentation of this file.
1
//
2
// M A R I A D B + +
3
//
4
// Copyright The ViaDuck Project 2016 - 2018.
5
// Distributed under the Boost Software License, Version 1.0.
6
// (See accompanying file LICENSE or copy at
7
// http://www.boost.org/LICENSE_1_0.txt)
8
9
#ifndef MARIADBCLIENTPP_TRUNCATIONTEST_H
10
#define MARIADBCLIENTPP_TRUNCATIONTEST_H
11
12
#include "
SkeletonTest.h
"
13
14
class
TruncationTest
:
public
SkeletonTest
{
15
protected
:
16
void
CreateTestTable
()
override
{
17
m_con
->execute(
"CREATE TABLE "
+
m_table_name
+
" (id INT UNSIGNED);"
);
18
}
19
};
20
21
#endif // MARIADBCLIENTPP_TRUNCATIONTEST_H
SkeletonTest::m_con
connection_ref m_con
Definition:
SkeletonTest.h:56
TruncationTest
Definition:
TruncationTest.h:14
SkeletonTest
Definition:
SkeletonTest.h:19
SkeletonTest.h
TruncationTest::CreateTestTable
void CreateTestTable() override
Definition:
TruncationTest.h:16
SkeletonTest::m_table_name
std::string m_table_name
Definition:
SkeletonTest.h:54
Generated by
1.8.13