Unit tests


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.

Function Documentation

void test_array (  ) 

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 (  ) 

Tests C-style lists.

Definition at line 809 of file test_containers.cpp.

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.

See also:
dynamic::var_impl::erase()

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 (  ) 

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 (  ) 

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.

See also:
dynamic::kingsley_heap

Definition at line 9 of file test_heap.cpp.

void test_inheritance (  ) 

Tests object inheritance.

See also:
object()

Definition at line 41 of file test_object.cpp.

void test_instantiate (  ) 

Tests object cloning.

Definition at line 345 of file test_object.cpp.

References dynamic::object().

void test_int (  ) 

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 (  ) 

void test_map (  ) 

void test_methods (  ) 

Tests methods.

See also:
dynamic::bind()

dynamic::object()

dynamic::internal::extender

Definition at line 264 of file test_object.cpp.

References dynamic::object().

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().

See also:
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.

See also:
proxy()

dynamic::types::proxy_impl

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 (  ) 

void test_reverse (  ) 

void test_scopeguard (  ) 

Tests dynamic::scopeguard.

Definition at line 172 of file test_libs.cpp.

References dynamic::bind(), and dynamic::object().

void test_sequence (  ) 

void test_set (  ) 

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 (  ) 

Tests dynamic::types::string_impl.

Definition at line 461 of file test_types.cpp.

void test_string_container (  ) 

void test_string_functions (  ) 

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.

See also:
dynamic::thread()

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 (  ) 

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().


Generated on Thu Dec 18 22:14:18 2008 for C++Script by  doxygen 1.5.7.1