#include <pybind11/embed.h>
#include <catch.hpp>
#include <cstdlib>
#include <fstream>
#include <functional>
#include <thread>
#include <utility>
Go to the source code of this file.
Classes | |
class | PyWidget |
struct | scope_exit |
class | test_override_cache_helper |
class | test_override_cache_helper_trampoline |
class | Widget |
Functions | |
bool | has_pybind11_internals_builtin () |
bool | has_pybind11_internals_static () |
PYBIND11_EMBEDDED_MODULE (widget_module, m) | |
PYBIND11_EMBEDDED_MODULE (trampoline_module, m) | |
PYBIND11_EMBEDDED_MODULE (throw_exception,) | |
PYBIND11_EMBEDDED_MODULE (throw_error_already_set,) | |
TEST_CASE ("Pass classes and data between modules defined in C++ and Python") | |
TEST_CASE ("Override cache") | |
TEST_CASE ("Import error handling") | |
TEST_CASE ("There can be only one interpreter") | |
TEST_CASE ("Restart the interpreter") | |
TEST_CASE ("Subinterpreter") | |
TEST_CASE ("Execution frame") | |
TEST_CASE ("Threads") | |
TEST_CASE ("Reload module from file") | |
TEST_CASE ("sys.argv gets initialized properly") | |
TEST_CASE ("make_iterator can be called before then after finalizing an interpreter") | |
bool has_pybind11_internals_builtin | ( | ) |
Definition at line 164 of file test_interpreter.cpp.
bool has_pybind11_internals_static | ( | ) |
Definition at line 169 of file test_interpreter.cpp.
PYBIND11_EMBEDDED_MODULE | ( | widget_module | , |
m | |||
) |
Definition at line 55 of file test_interpreter.cpp.
PYBIND11_EMBEDDED_MODULE | ( | trampoline_module | , |
m | |||
) |
Definition at line 63 of file test_interpreter.cpp.
PYBIND11_EMBEDDED_MODULE | ( | throw_exception | ) |
Definition at line 71 of file test_interpreter.cpp.
PYBIND11_EMBEDDED_MODULE | ( | throw_error_already_set | ) |
Definition at line 73 of file test_interpreter.cpp.
Definition at line 78 of file test_interpreter.cpp.
TEST_CASE | ( | "Override cache" | ) |
Definition at line 99 of file test_interpreter.cpp.
TEST_CASE | ( | "Import error handling" | ) |
Definition at line 126 of file test_interpreter.cpp.
TEST_CASE | ( | "There can be only one interpreter" | ) |
Definition at line 146 of file test_interpreter.cpp.
TEST_CASE | ( | "Restart the interpreter" | ) |
Definition at line 174 of file test_interpreter.cpp.
TEST_CASE | ( | "Subinterpreter" | ) |
Create and switch to a subinterpreter.
Definition at line 231 of file test_interpreter.cpp.
TEST_CASE | ( | "Execution frame" | ) |
Definition at line 271 of file test_interpreter.cpp.
TEST_CASE | ( | "Threads" | ) |
Definition at line 278 of file test_interpreter.cpp.
TEST_CASE | ( | "Reload module from file" | ) |
Definition at line 318 of file test_interpreter.cpp.
TEST_CASE | ( | "sys.argv gets initialized properly" | ) |
Definition at line 357 of file test_interpreter.cpp.
TEST_CASE | ( | "make_iterator can be called before then after finalizing an interpreter" | ) |
Definition at line 379 of file test_interpreter.cpp.