1515
1616#include < lua.hpp>
1717
18- class test_framework
18+ class test_framework_t
1919{
2020public:
21- test_framework ()
21+ test_framework_t ()
2222 : m_lua_state(luaL_newstate(), [](lua_State *state) { lua_close (state); })
2323 {
2424 auto &c = database_capabilities_for_testing ();
@@ -46,7 +46,7 @@ class test_framework
4646
4747TEST_CASE (" check index with single column" , " [NoDB]" )
4848{
49- test_framework const tf;
49+ test_framework_t const tf;
5050
5151 flex_table_t table{" public" , " test_table" , 0 };
5252 table.add_column (" geom" , " geometry" , " " );
@@ -69,7 +69,7 @@ TEST_CASE("check index with single column", "[NoDB]")
6969
7070TEST_CASE (" check index with multiple columns" , " [NoDB]" )
7171{
72- test_framework const tf;
72+ test_framework_t const tf;
7373
7474 flex_table_t table{" public" , " test_table" , 0 };
7575 table.add_column (" a" , " int" , " " );
@@ -91,7 +91,7 @@ TEST_CASE("check index with multiple columns", "[NoDB]")
9191
9292TEST_CASE (" check unique index" , " [NoDB]" )
9393{
94- test_framework const tf;
94+ test_framework_t const tf;
9595
9696 flex_table_t table{" public" , " test_table" , 0 };
9797 table.add_column (" col" , " int" , " " );
@@ -113,7 +113,7 @@ TEST_CASE("check unique index", "[NoDB]")
113113
114114TEST_CASE (" check index with tablespace from table" , " [NoDB]" )
115115{
116- test_framework const tf;
116+ test_framework_t const tf;
117117
118118 flex_table_t table{" public" , " test_table" , 0 };
119119 table.set_index_tablespace (" foo" );
@@ -135,7 +135,7 @@ TEST_CASE("check index with tablespace from table", "[NoDB]")
135135
136136TEST_CASE (" check index with tablespace" , " [NoDB]" )
137137{
138- test_framework const tf;
138+ test_framework_t const tf;
139139
140140 flex_table_t table{" public" , " test_table" , 0 };
141141 table.add_column (" col" , " int" , " " );
@@ -157,7 +157,7 @@ TEST_CASE("check index with tablespace", "[NoDB]")
157157
158158TEST_CASE (" check index with expression and where clause" , " [NoDB]" )
159159{
160- test_framework const tf;
160+ test_framework_t const tf;
161161
162162 flex_table_t table{" public" , " test_table" , 0 };
163163 table.add_column (" col" , " text" , " " );
@@ -179,7 +179,7 @@ TEST_CASE("check index with expression and where clause", "[NoDB]")
179179
180180TEST_CASE (" check index with include" , " [NoDB]" )
181181{
182- test_framework const tf;
182+ test_framework_t const tf;
183183
184184 flex_table_t table{" public" , " test_table" , 0 };
185185 table.add_column (" col" , " int" , " " );
@@ -202,7 +202,7 @@ TEST_CASE("check index with include", "[NoDB]")
202202
203203TEST_CASE (" check index with include as array" , " [NoDB]" )
204204{
205- test_framework const tf;
205+ test_framework_t const tf;
206206
207207 flex_table_t table{" public" , " test_table" , 0 };
208208 table.add_column (" col" , " int" , " " );
@@ -225,7 +225,7 @@ TEST_CASE("check index with include as array", "[NoDB]")
225225
226226TEST_CASE (" check index with empty include array" , " [NoDB]" )
227227{
228- test_framework const tf;
228+ test_framework_t const tf;
229229
230230 flex_table_t table{" public" , " test_table" , 0 };
231231 table.add_column (" col" , " int" , " " );
@@ -248,7 +248,7 @@ TEST_CASE("check index with empty include array", "[NoDB]")
248248
249249TEST_CASE (" check multiple indexes" , " [NoDB]" )
250250{
251- test_framework const tf;
251+ test_framework_t const tf;
252252
253253 flex_table_t table{" public" , " test_table" , 0 };
254254 table.add_column (" a" , " int" , " " );
@@ -271,7 +271,7 @@ TEST_CASE("check multiple indexes", "[NoDB]")
271271
272272TEST_CASE (" check various broken index configs" , " [NoDB]" )
273273{
274- test_framework const tf;
274+ test_framework_t const tf;
275275
276276 flex_table_t table{" public" , " test_table" , 0 };
277277 table.add_column (" col" , " text" , " " );
0 commit comments