|
| Lua (const std::string &src=std::string()) |
|
void | loadFile (const std::string &fname) |
| Load the test code from the given file.
|
|
void | loadString (const std::string &buf) |
| Load the test code from the given string containing Lua source code.
|
|
void | create_lua_object () |
| Runs the parsed code to let it define the 'test' function we are going to use.
|
|
void | captureOutput (std::ostream &buf) |
| Send Lua's print output to an ostream.
|
|
std::string | run () |
| Run the 'test' function and return its result, as a string.
|
|
|
lua_State * | L |
|
std::string | m_filename |
|
The documentation for this struct was generated from the following file: