Functions | |
| void | test_native () |
| Tests storage and retrieval of native C++ objects in a var. | |
| void | test_gc () |
| Tests the garbage collector. | |
| void | test_global () |
| Tests the global() function. | |
| void | test_files () |
| Tests for files and steams. | |
| void | test_foreach () |
| Tests the foreach macro. | |
| void | test_exception () |
| Tests exception handling. | |
| void | test_stack_trace () |
| Tests stack tracing and stack_trace(). | |
| void | test_tls () |
| Tests thread-local storage. | |
| void | test_heap () |
| Tests the Kingsley heap. | |
| void | test_queue () |
| Tests message queues. | |
| void | test_threads () |
| Tests threading. | |
| void | test_proxy () |
| Tests cross-apartment proxy. | |
| void | test_inheritance () |
| Tests object inheritance. | |
| void | test_attributes () |
| Tests object attributes. | |
| void | test_attribute_operators () |
| Tests operators on attributes. | |
| void | test_erase_attribute () |
| Tests erasing an attribute. | |
| void | test_methods () |
| Tests methods. | |
| void | test_instantiate () |
| Tests object cloning. | |
| void | test_function () |
| Tests functors. | |
| void | test_void_methods () |
| Tests methods returning void. | |
| void | test_bind () |
| Tests the bind() function. | |
| void | test_extend () |
| Tests the var::extend() method. | |
| void | test_varargs () |
| Tests the varargs() function. | |
| void | test_pickle_object () |
| Tests the pickle() function. | |
| void | test_string_container () |
| Tests strings. | |
| void | test_op_lt () |
| Tests comparison. | |
| void | test_object_container () |
| Tests object(). | |
| void | test_array () |
| Tests array(). | |
| void | test_comma_lists () |
| Tests C-style lists. | |
| void | test_list () |
| Tests list(). | |
| void | test_map () |
| Tests map(). | |
| void | test_set () |
| Tests set(). | |
| void | test_reverse () |
| Tests reverse(). | |
| void | test_sequence () |
| Tests range() and other functions. | |
| void | test_null () |
| Tests the dynamic::null object and dynamic::var::var(). | |
| void | test_bool () |
| Tests the functionality of the dynamic::types::bool_impl class. | |
| void | test_ch () |
| Tests dynamic::types::int_impl. | |
| void | test_int () |
| Tests dynamic::types::int_impl. | |
| void | test_double () |
| Tests dynamic::types::double_impl. | |
| void | test_string () |
| Tests dynamic::types::string_impl. | |
| void | test_test_framework () |
| Tests test_framework() function. | |
| void | test_dispatcher () |
| Tests the dispatcher() function. | |
| void | test_filter () |
| Tests the filter() function. | |
| void | test_transform () |
| Tests the transform() function. | |
| void | test_scopeguard () |
| Tests dynamic::scopeguard. | |
| void | test_tail () |
| Tests the tail() function. | |
| void | test_string_functions () |
| Tests functions on strings. | |
| void | test_libs () |
| Tests various library functions. | |
| void test_array | ( | ) |
Tests array().
Definition at line 510 of file test_containers.cpp.
References x::array(), dynamic::array_from(), dynamic::array_it(), dynamic::assertx(), dynamic::fill_array(), dynamic::null, dynamic::range(), dynamic::range_ex(), and dynamic::reverse().
| void test_attribute_operators | ( | ) |
Tests operators on attributes.
Definition at line 93 of file test_object.cpp.
References x::array(), and dynamic::object().
| void test_attributes | ( | ) |
Tests object attributes.
Definition at line 51 of file test_object.cpp.
References dynamic::object().
| void test_bind | ( | ) |
Tests the bind() function.
| void test_bool | ( | ) |
Tests the functionality of the dynamic::types::bool_impl class.
Definition at line 144 of file test_types.cpp.
References dynamic::pickle(), and dynamic::unpickle().
| void test_ch | ( | ) |
Tests dynamic::types::int_impl.
Definition at line 206 of file test_types.cpp.
References dynamic::pickle(), and dynamic::unpickle().
| void test_comma_lists | ( | ) |
| void test_dispatcher | ( | ) |
Tests the dispatcher() function.
| void test_double | ( | ) |
Tests dynamic::types::double_impl.
Definition at line 390 of file test_types.cpp.
References dynamic::pickle(), and dynamic::unpickle().
| void test_erase_attribute | ( | ) |
Tests erasing an attribute.
Definition at line 136 of file test_object.cpp.
References dynamic::object().
| void test_exception | ( | ) |
Tests exception handling.
Definition at line 196 of file test_libs.cpp.
References dynamic::exception_description().
| void test_extend | ( | ) |
Tests the var::extend() method.
Definition at line 667 of file test_object.cpp.
References dynamic::object().
| void test_files | ( | ) |
Tests for files and steams.
Definition at line 18 of file test_libs.cpp.
References dynamic::assertx(), dynamic::characters(), dynamic::err(), dynamic::fstat(), dynamic::gc_force_collect(), dynamic::in(), dynamic::lines(), dynamic::mem_file(), dynamic::null, dynamic::object(), dynamic::open_file(), dynamic::out(), dynamic::pickle_file(), dynamic::read_file(), cin::readln(), dynamic::unpickle_file(), dynamic::write(), dynamic::write_file(), and dynamic::writeln().
| void test_filter | ( | ) |
Tests the filter() function.
| void test_foreach | ( | ) |
Tests the foreach macro.
Definition at line 140 of file test_libs.cpp.
References x::array(), dynamic::range(), and dynamic::reverse().
| void test_function | ( | ) |
Tests functors.
Definition at line 397 of file test_object.cpp.
References dynamic::assertx(), dynamic::bind(), dynamic::object(), dynamic::pickle(), and dynamic::unpickle().
| void test_gc | ( | ) |
Tests the garbage collector.
Definition at line 122 of file test_misc.cpp.
References x::array(), dynamic::gc_disable(), dynamic::gc_enable(), dynamic::gc_force_collect(), dynamic::gc_hint_collect(), and dynamic::gc::global_gc().
| void test_global | ( | ) |
Tests the global() function.
Definition at line 166 of file test_misc.cpp.
References dynamic::global(), and dynamic::object().
| void test_heap | ( | ) |
Tests the Kingsley heap.
Definition at line 9 of file test_heap.cpp.
| void test_inheritance | ( | ) |
| void test_instantiate | ( | ) |
| void test_int | ( | ) |
Tests dynamic::types::int_impl.
Definition at line 292 of file test_types.cpp.
References dynamic::object(), dynamic::pickle(), and dynamic::unpickle().
| void test_libs | ( | ) |
Tests various library functions.
Definition at line 383 of file test_libs.cpp.
References dynamic::max(), and dynamic::min().
| void test_list | ( | ) |
Tests list().
Definition at line 816 of file test_containers.cpp.
References x::array(), dynamic::assertx(), dynamic::list(), dynamic::list_from(), dynamic::list_it(), dynamic::null, dynamic::pickle(), dynamic::range(), and dynamic::unpickle().
| void test_map | ( | ) |
Tests map().
Definition at line 964 of file test_containers.cpp.
References dynamic::map(), dynamic::null, dynamic::pickle(), dynamic::reverse(), and dynamic::unpickle().
| void test_methods | ( | ) |
| void test_native | ( | ) |
Tests storage and retrieval of native C++ objects in a var.
Wrapping a C++ class with a script object
Definition at line 55 of file test_misc.cpp.
References dynamic::assertx(), dynamic::bind(), dynamic::null, and dynamic::pickle().
| void test_null | ( | ) |
Tests the dynamic::null object and dynamic::var::var().
Definition at line 89 of file test_types.cpp.
References dynamic::assertx(), dynamic::null, dynamic::pickle(), and dynamic::unpickle().
| void test_object_container | ( | ) |
Tests object().
Definition at line 251 of file test_containers.cpp.
References dynamic::assertx(), dynamic::null, dynamic::object(), and dynamic::reverse().
| void test_op_lt | ( | ) |
Tests comparison.
Definition at line 220 of file test_containers.cpp.
References x::array(), dynamic::null, and dynamic::object().
| void test_pickle_object | ( | ) |
Tests the pickle() function.
Definition at line 789 of file test_object.cpp.
References dynamic::object(), dynamic::pickle(), and dynamic::unpickle().
| void test_proxy | ( | ) |
Tests cross-apartment proxy.
Definition at line 171 of file test_threads.cpp.
References x::array(), dynamic::gc_force_collect(), dynamic::list(), dynamic::map(), dynamic::null, and dynamic::varargs().
| void test_queue | ( | ) |
Tests message queues.
Definition at line 77 of file test_threads.cpp.
References dynamic::assertx(), dynamic::message_queue(), dynamic::object(), and dynamic::range().
| void test_reverse | ( | ) |
Tests reverse().
Definition at line 1179 of file test_containers.cpp.
References dynamic::list(), dynamic::null, dynamic::object(), dynamic::pickle(), dynamic::reverse(), and dynamic::unpickle().
| void test_scopeguard | ( | ) |
Tests dynamic::scopeguard.
Definition at line 172 of file test_libs.cpp.
References dynamic::bind(), and dynamic::object().
| void test_sequence | ( | ) |
Tests range() and other functions.
Definition at line 1308 of file test_containers.cpp.
References dynamic::null, dynamic::object(), dynamic::pickle(), dynamic::range(), dynamic::range_ex(), dynamic::reverse(), dynamic::sequence(), and dynamic::unpickle().
| void test_set | ( | ) |
Tests set().
Definition at line 1068 of file test_containers.cpp.
References x::array(), dynamic::assertx(), dynamic::list(), dynamic::map(), dynamic::null, dynamic::pickle(), dynamic::range(), dynamic::reverse(), dynamic::set_from(), dynamic::set_it(), and dynamic::unpickle().
| void test_stack_trace | ( | ) |
Tests stack tracing and stack_trace().
Definition at line 287 of file test_libs.cpp.
References dynamic::object(), dynamic::stack_trace(), and dynamic::thread().
| void test_string | ( | ) |
| void test_string_container | ( | ) |
Tests strings.
Definition at line 35 of file test_containers.cpp.
References dynamic::assertx(), dynamic::list(), dynamic::pickle(), dynamic::range(), dynamic::range_ex(), dynamic::reverse(), dynamic::string_from(), dynamic::string_it(), and dynamic::unpickle().
| void test_string_functions | ( | ) |
Tests functions on strings.
Definition at line 334 of file test_libs.cpp.
References dynamic::bind(), dynamic::is_not_one_of(), dynamic::is_one_of(), dynamic::is_space(), dynamic::null, dynamic::range(), dynamic::range_ex(), dynamic::split_chars(), dynamic::string_find(), dynamic::string_find_all(), dynamic::string_find_last(), and dynamic::substring().
| void test_tail | ( | ) |
Tests the tail() function.
Definition at line 2015 of file test_containers.cpp.
References x::array(), dynamic::assertx(), dynamic::pickle(), dynamic::tail(), and dynamic::unpickle().
| void test_test_framework | ( | ) |
Tests test_framework() function.
Definition at line 317 of file test_libs.cpp.
References dynamic::assertx(), dynamic::map(), dynamic::object(), and dynamic::run_tests().
| void test_threads | ( | ) |
Tests threading.
Definition at line 101 of file test_threads.cpp.
References dynamic::assertx(), dynamic::mutex(), and dynamic::thread().
| void test_tls | ( | ) |
Tests thread-local storage.
\ ::
Definition at line 298 of file test_libs.cpp.
References dynamic::set().
| void test_transform | ( | ) |
Tests the transform() function.
Definition at line 1957 of file test_containers.cpp.
References dynamic::filter(), dynamic::pickle(), dynamic::range(), dynamic::transform(), and dynamic::unpickle().
| void test_varargs | ( | ) |
Tests the varargs() function.
| void test_void_methods | ( | ) |
Tests methods returning void.
Definition at line 495 of file test_object.cpp.
References dynamic::object().
1.5.7.1