nngn
Loading...
Searching...
No Matches
register_test.h
Go to the documentation of this file.
1#ifndef NNGN_TESTS_LUA_REGISTER_H
2#define NNGN_TESTS_LUA_REGISTER_H
3
4#include <QTest>
5
6#include "lua/state.h"
7#include "lua/table.h"
8
9class RegisterTest : public QObject {
10 Q_OBJECT
14private slots:
15 void init(void);
16 void cleanup(void);
17 void user_type(void);
18 void meta_table(void);
19 void accessor(void);
20 void value_accessor(void);
21 void member_fn(void);
22};
23
24#endif
Definition register_test.h:9
nngn::lua::global_table g
Definition register_test.h:12
void value_accessor(void)
Definition register_test.cpp:69
void accessor(void)
Definition register_test.cpp:60
void cleanup(void)
Definition register_test.cpp:36
void member_fn(void)
Definition register_test.cpp:77
nngn::lua::table mt
Definition register_test.h:13
void meta_table(void)
Definition register_test.cpp:49
void user_type(void)
Definition register_test.cpp:40
void init(void)
Definition register_test.cpp:29
nngn::lua::state lua
Definition register_test.h:11
Table interface to the global environment.
Definition table.h:181
lua_State wrappers.
Owning lua_State wrapper.
Definition state.h:166
Owning reference to a table on the stack, popped when destroyed.
Definition table.h:172
Operations on table values.