swig/Examples/test-suite
William S Fulton 41fddf61ec Add Lua support for std::unique_ptr and std::auto_ptr
Equivalent to Python/Ruby implementations.
2022-08-11 21:38:21 +01:00
..
cffi Add machinery for C++14, C++17 and C++20 testing 2022-07-26 15:28:51 +12:00
csharp Add raw pointer handling test for virtual inheritance 2022-08-05 22:30:23 +01:00
d Add raw pointer handling test for virtual inheritance 2022-08-05 22:30:23 +01:00
errors Fix spaceship preproc tests for previous change 2022-07-27 18:17:31 +12:00
go Add machinery for C++14, C++17 and C++20 testing 2022-07-26 15:28:51 +12:00
guile [guile] Stop using deprecated aliases 2022-08-04 10:39:02 +12:00
java Add raw pointer handling test for virtual inheritance 2022-08-05 22:30:23 +01:00
javascript Add raw pointer handling test for virtual inheritance 2022-08-05 22:30:23 +01:00
lua Add Lua support for std::unique_ptr and std::auto_ptr 2022-08-11 21:38:21 +01:00
mzscheme Add machinery for C++14, C++17 and C++20 testing 2022-07-26 15:28:51 +12:00
ocaml Add machinery for C++14, C++17 and C++20 testing 2022-07-26 15:28:51 +12:00
octave Correct raw pointer handling test for virtual inheritance 2022-08-11 18:44:36 +01:00
perl5 Correct raw pointer handling test for virtual inheritance 2022-08-11 18:44:36 +01:00
php Correct raw pointer handling test for virtual inheritance 2022-08-11 18:44:36 +01:00
python Correct raw pointer handling test for virtual inheritance 2022-08-11 18:44:36 +01:00
r Add machinery for C++14, C++17 and C++20 testing 2022-07-26 15:28:51 +12:00
ruby Correct raw pointer handling test for virtual inheritance 2022-08-11 18:44:36 +01:00
schemerunme [Chicken] Remove code for Chicken 2021-05-16 08:42:39 +12:00
scilab Add machinery for C++14, C++17 and C++20 testing 2022-07-26 15:28:51 +12:00
tcl Correct raw pointer handling test for virtual inheritance 2022-08-11 18:44:36 +01:00
testdir "Include what you use" for tests 2019-01-06 08:32:34 -05:00
abstract_access.i
abstract_basecast.i Test ability to manipulate a daughter class from its base class wrapper 2022-02-12 19:40:03 -05:00
abstract_inherit.i
abstract_inherit_ok.i
abstract_signature.i Remove superfluous semicolons 2022-02-15 14:00:12 +13:00
abstract_typedef.i
abstract_typedef2.i
abstract_virtual.i
access_change.i
add_link.i
aggregate.i Avoid -Wempty-body warnings from SWIG_contract_assert 2022-02-11 18:39:08 +13:00
allowexcept.i Drop special case for PHP in allowexcept.i 2021-04-17 07:38:23 +12:00
allprotected.i Fix C# CA1063 warning by implementing the recommended Dispose methods. 2019-04-08 19:20:45 +01:00
allprotected_not.i
anonymous_bitfield.i
apply_signed_char.i Auto-detect non-assignable classes 2022-02-04 09:51:18 -05:00
apply_strings.i [Chicken] Remove code for Chicken 2021-05-16 08:42:39 +12:00
argcargvtest.i Remove ocaml from argcargv testing 2022-05-23 08:54:40 +01:00
argout.i
array_member.i
array_typedef_memberin.i
arrayref.i
arrays.i Revert "Fix handling of array whose size contains <<" 2022-07-27 13:45:03 +12:00
arrays_dimensionless.i
arrays_global.i
arrays_global_twodim.i
arrays_scope.i
autodoc.i Fix crash in Python backend when using empty docstrings 2020-01-30 16:11:18 +01:00
bloody_hell.i
bom_utf8.i
bools.i Auto-detect non-assignable classes 2022-02-04 09:51:18 -05:00
c_delete.i
c_delete_function.i
callback.i Add test of callback with enum argument 2022-02-12 19:40:03 -05:00
cast_operator.i
casts.i
catches.i
ccomplextest.i Further ccomplextest hacks 2020-10-10 15:02:26 +01:00
char_binary.i
char_constant.i
char_strings.i Move <string.h> fragment to swigfragments 2019-01-06 09:08:12 -05:00
chartest.i
class_case.i Add CHANGES entry and regression test for #676 2022-01-29 22:35:29 +13:00
class_forward.i
class_ignore.i
class_scope_namespace.i Test scope resolution of global struct A 2022-02-12 19:40:03 -05:00
class_scope_weird.i
clientdata_prop.list
clientdata_prop_a.h Mark in-header function definitions as "inline" 2022-02-12 19:40:03 -05:00
clientdata_prop_a.i
clientdata_prop_b.h
clientdata_prop_b.i
command_line_define.i -DFOO on the SWIG command line now sets FOO to 1 2022-02-06 10:18:49 +13:00
common.mk Add testcase 2022-07-27 09:30:39 +12:00
compactdefaultargs.i
complextest.i Split C complex.h from C++ complex testing 2020-10-10 15:01:29 +01:00
const_const.i
const_const_2.i
constant_directive.i Fix invalid code generated for "%constant enum EnumType ..." and add a test. 2019-08-01 08:55:07 +03:00
constant_expr.i Eliminate C++11 from constant_expr test 2022-03-06 14:21:12 +13:00
constant_expr_c.i Support most cases of sizeof applied to an expression 2022-01-25 23:47:01 +13:00
constant_pointers.i Auto-detect non-assignable classes 2022-02-04 09:51:18 -05:00
constants.i
constover.i
constructor_copy.i
constructor_exception.i
constructor_explicit.i
constructor_ignore.i
constructor_rename.i
constructor_value.i
contract.i Add C "contract" test 2022-02-12 19:40:03 -05:00
contract_c.i Add C "contract" test 2022-02-12 19:40:03 -05:00
conversion.i
conversion_namespace.i
conversion_ns_template.i
conversion_operators.i
cplusplus_throw.i
cpp11_alias_nested_template_scoping.i C++11 test fixes for Visual Studio 2017 2019-04-08 19:33:59 +01:00
cpp11_alignment.i C++11 test fixes for Visual Studio 2017 2019-04-08 19:33:59 +01:00
cpp11_alternate_function_syntax.i Allow object reference in C++ trailing return type 2022-02-02 11:31:45 +13:00
cpp11_attribute_specifiers.i Suppress Visual C++ deprecated warnings 2022-07-31 01:02:08 +01:00
cpp11_constexpr.i Move new testcase which needs C++11 2022-01-26 13:25:36 +13:00
cpp11_decltype.i
cpp11_default_delete.i Workaround clang 10.0.1 C++17 linker errors in testcases 2019-06-27 07:40:49 +01:00
cpp11_delegating_constructors.i
cpp11_director_enums.i
cpp11_directors.i
cpp11_explicit_conversion_operators.i
cpp11_final_directors.i Fixes for final destructors in director classes 2019-03-03 14:52:52 +00:00
cpp11_final_override.i Short struct name in cpp11_final_override for Scilab 2021-11-15 22:56:29 +00:00
cpp11_function_objects.i
cpp11_hash_tables.i
cpp11_inheriting_constructors.i
cpp11_initializer_list.i gcc-9 testcase warning fix 2019-07-09 08:06:18 +01:00
cpp11_initializer_list_extend.i
cpp11_lambda_functions.i Eliminate use of fn in testcases 2021-03-30 11:01:51 +13:00
cpp11_move_only.i Test copy constructor and assignment operator calls for movable types 2022-07-08 08:01:55 +01:00
cpp11_move_only_helper.i Movable and move-only types supported in "out" typemaps. 2022-06-30 17:26:48 +01:00
cpp11_move_only_valuewrapper.i Movable and move-only types supported in "out" typemaps. 2022-06-30 17:26:48 +01:00
cpp11_noexcept.i Workaround clang 10.0.1 C++17 linker errors in testcases 2019-06-27 07:40:49 +01:00
cpp11_null_pointer_constant.i
cpp11_raw_string_literals.i Fix C++20 compatibility in testcases 2022-07-26 15:28:51 +12:00
cpp11_ref_qualifiers.i
cpp11_ref_qualifiers_rvalue_unignore.i
cpp11_ref_qualifiers_typemaps.i
cpp11_reference_wrapper.i
cpp11_result_of.i Attempt to fix cpp11_result_of for MSVC 2022-07-26 15:28:52 +12:00
cpp11_rvalue_reference.i
cpp11_rvalue_reference2.i Ocaml test-suite 'passes' with c++11 testing now 2022-03-27 13:50:30 +01:00
cpp11_rvalue_reference3.i Shorter names in cpp11_rvalue_reference3 testcase for Scilab 2021-11-15 22:13:27 +00:00
cpp11_rvalue_reference_move_input.i SWIGTYPE && input typemaps now assume object has been moved 2022-07-17 15:15:24 +01:00
cpp11_shared_ptr_const.i
cpp11_shared_ptr_nullptr_in_containers.i
cpp11_shared_ptr_overload.i
cpp11_shared_ptr_template_upcast.i comments 2019-05-06 15:30:54 -04:00
cpp11_shared_ptr_upcast.i
cpp11_sizeof_object.i
cpp11_static_assert.i
cpp11_std_array.i Support std::array in Golang (#2045) 2022-01-04 12:12:56 +13:00
cpp11_std_unique_ptr.i Add Lua support for std::unique_ptr and std::auto_ptr 2022-08-11 21:38:21 +01:00
cpp11_std_unordered_map.i Include all template parameters for std_unordered_multimap and std_unordered_map 2019-03-12 20:03:14 +00:00
cpp11_std_unordered_multimap.i
cpp11_std_unordered_multiset.i
cpp11_std_unordered_set.i Combine duplicate unordered_set unordered_map testcases 2019-02-12 06:48:13 +00:00
cpp11_strongly_typed_enumerations.i
cpp11_strongly_typed_enumerations_simple.i
cpp11_template_double_brackets.i Fix typos 2021-11-17 07:07:02 +02:00
cpp11_template_explicit.i Ocaml test-suite 'passes' with c++11 testing now 2022-03-27 13:50:30 +01:00
cpp11_template_typedefs.i Fix constexpr-not-const clang warning in testcase 2019-06-27 07:40:49 +01:00
cpp11_thread_local.i Fix cpp11_thread_local test 2022-02-11 08:25:03 +13:00
cpp11_type_aliasing.i Fix cpp11_type_aliasing test 2021-11-15 08:00:46 +00:00
cpp11_type_traits.i
cpp11_uniform_initialization.i
cpp11_unrestricted_unions.i
cpp11_userdefined_literals.i Fix C++20 compatibility in testcases 2022-07-26 15:28:51 +12:00
cpp11_variadic_templates.i
cpp14_binary_integer_literals.i Add tests for binary integer literal constants 2022-07-26 15:28:51 +12:00
cpp17_hex_floating_literals.i Run C++14 and C++17 tests with appropriate compiler 2022-07-26 15:28:51 +12:00
cpp17_nested_namespaces.i Run C++14 and C++17 tests with appropriate compiler 2022-07-26 15:28:51 +12:00
cpp17_nspace_nested_namespaces.i
cpp17_u8_char_literals.i Run C++14 and C++17 tests with appropriate compiler 2022-07-26 15:28:51 +12:00
cpp20_lambda_template.i Fix warning suppression in cpp20_lambda_template 2022-07-29 16:29:32 +12:00
cpp20_spaceship_operator.i Fix spaceship operator bugs, document, add tests 2022-07-27 09:12:40 +12:00
cpp_basic.i Test identity operation on class references 2022-02-12 19:40:03 -05:00
cpp_enum.i
cpp_namespace.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
cpp_nodefault.i
cpp_parameters.i Python -builtin constructors silently ignored keyword arguments. 2020-01-13 19:26:22 +00:00
cpp_static.i Improve Python static member variable testing 2019-03-20 21:10:28 +00:00
cpp_typedef.i Fix MSVC error in cpp_typedef.i 2022-07-26 15:28:51 +12:00
csharp_attributes.i
csharp_director_typemaps.i C# 'out' or 'ref' removal improvements in director typemaps. 2019-11-26 19:39:28 +00:00
csharp_exceptions.i
csharp_features.i
csharp_lib_arrays.i
csharp_lib_arrays_bool.i Change C# bool[] typemaps to marshall as 1-byte 2019-07-06 12:56:27 +01:00
csharp_namespace_system_collision.i
csharp_prepost.i
csharp_swig2_compatibility.i
csharp_typemaps.i Add special variable imfuncname expansion for C# and D 2022-05-30 19:43:04 +01:00
curiously_recurring_template_pattern.i
d_nativepointers.i
default_arg_expressions.i Allow method calls in expressions 2022-02-03 17:20:30 +13:00
default_arg_values.i
default_args.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
default_args_c.i Fix testcase for visual studio (2) 2018-10-05 06:52:49 +01:00
default_constructor.i
defvalue_constructor.i
derived_byvalue.i Fix typos in docs and comments 2022-02-27 18:15:46 +13:00
derived_nested.i
destructor_methodmodifiers.i
destructor_reprotected.i
director_abstract.i
director_alternating.i
director_basic.i Final tidy up for improved C# SwigDerviedClassHasMethod implementation 2022-05-26 08:44:51 +01:00
director_binary_string.i "Include what you use" for tests 2022-02-12 17:46:20 -05:00
director_classes.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
director_classic.i
director_comparison_operators.i Use %rename 2020-06-07 13:56:07 -06:00
director_constructor.i
director_conversion_operators.i Add test cases for abstract user-defined conversion operators 2020-02-13 20:16:44 +01:00
director_default.i
director_detect.i
director_enum.i
director_exception.i Fix typos in docs and comments 2022-02-27 18:15:46 +13:00
director_exception_catches.i
director_exception_nothrow.i
director_extend.i
director_finalizer.i
director_frob.i
director_ignore.i
director_keywords.i
director_multiple_inheritance.i [python] Fix inheriting from multiple director classes 2022-07-20 14:18:49 +12:00
director_namespace_clash.i
director_nested.i
director_nested_class.i
director_nestedmodule.i
director_nspace.i Remove unnecessary warning triggering copy ctors from the test 2021-10-01 01:39:12 +02:00
director_nspace_director_name_collision.i
director_overload.i php: Fix overloaded directed methods with non-void return 2021-03-18 10:58:44 +13:00
director_overload2.i Re-enable overloading test for php8 2022-03-15 08:32:27 +00:00
director_ownership.i
director_pass_by_value.i Performance optimisation for directors for classes passed by value 2022-07-04 11:19:29 +01:00
director_primitives.i
director_profile.i
director_property.i More director const std::string& testing and C# leak fix 2022-02-13 23:00:04 +00:00
director_protected.i Remove PHP-specific testcase workarounds 2021-04-19 18:57:17 +12:00
director_protected_overloaded.i
director_redefined.i
director_ref.i
director_simple.i Add test case for very simple director classes 2022-02-12 19:40:03 -05:00
director_smartptr.i
director_stl.i Make PHP directors work more like other languages 2021-04-22 14:40:21 +12:00
director_string.i
director_thread.i Merge pull request #1398 from swig-fortran/missing-includes 2022-02-01 14:05:17 +13:00
director_unroll.i
director_using.i
director_using_member_scopes.i Testcase correction for using declaration and members 2022-03-16 22:42:27 +00:00
director_void.i Add C# support for void *VOID_INT_PTR member variables 2020-08-13 16:06:48 +01:00
director_wombat.i
director_wstring.i Add C# wchar_t * director typemaps 2022-05-04 21:37:47 +01:00
disown.i
doxygen_alias.i
doxygen_autodoc_docstring.i doxygen_autodoc_docstring test fix for Python builtin 2022-04-06 22:33:17 +01:00
doxygen_basic_notranslate.i Fix Java doxygen:notranslate for single line comments 2018-06-16 21:23:12 +01:00
doxygen_basic_translate.h
doxygen_basic_translate.i Merge branch 'Issue-1643' 2020-01-16 18:54:47 +00:00
doxygen_basic_translate_style2.i Doxygen comment parsing fix for empty lines in code/verbatim blocks 2019-07-06 11:30:46 -05:00
doxygen_basic_translate_style3.i Minor workaround in doxygen_basic_translate_style3 test 2019-11-02 10:43:52 -05:00
doxygen_code_blocks.i Special handling for python doctest code blocks 2019-08-07 17:04:12 -05:00
doxygen_ignore.i
doxygen_misc_constructs.h Fix generated Python code for Doxygen comments with triple quotes 2020-03-04 00:57:31 +01:00
doxygen_misc_constructs.i Fix for missing space after \endlink in doxygen 2020-05-02 18:42:55 -05:00
doxygen_nested_class.i Testcase code correction 2018-09-24 07:15:59 +01:00
doxygen_parsing.i Recognise and ignore Doxygen group commands @{ and @} 2022-04-07 12:05:54 +12:00
doxygen_parsing_enums.i Fix parsing of enums with trailing comma with -doxygen 2019-04-20 13:52:56 +02:00
doxygen_parsing_enums_proper.i
doxygen_parsing_enums_simple.i
doxygen_parsing_enums_typesafe.i
doxygen_parsing_enums_typeunsafe.i
doxygen_translate.i Java 9 deprecation warning fixes for test-suite and examples 2019-02-21 13:47:39 -08:00
doxygen_translate_all_tags.i Fix for missing space after \endlink in doxygen 2020-05-02 18:42:55 -05:00
doxygen_translate_links.i
dynamic_cast.i
empty.i
empty_c.i
enum_forward.i
enum_ignore.i
enum_macro.i Fix parser error containing multiple #define statements inside an enum. 2019-02-16 08:09:56 +00:00
enum_missing.i
enum_plus.i
enum_rename.i
enum_scope_template.i
enum_template.i
enum_thorough.i Auto-detect non-assignable classes 2022-02-04 09:51:18 -05:00
enum_thorough_proper.i
enum_thorough_simple.i
enum_thorough_typesafe.i
enum_thorough_typeunsafe.i
enum_var.i
enums.i
equality.i Tweak testcase comments 2022-07-13 15:21:12 +12:00
evil_diamond.i
evil_diamond_ns.i
evil_diamond_prop.i
exception_classname.i
exception_memory_leak.i [PHP] Fix cleanup code handling issues 2022-02-17 13:52:44 +13:00
exception_order.i
exception_partial_info.i [Chicken] Remove code for Chicken 2021-05-16 08:42:39 +12:00
expressions.i
extend.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
extend_constructor_destructor.i
extend_default.i
extend_placement.i
extend_special_variables.i
extend_template.i
extend_template_method.i
extend_template_ns.i
extend_typedef_class.i
extend_variable.i
extern_c.i Mark 'externc' storage for variables 2022-02-06 20:49:01 -05:00
extern_declaration.i
extern_namespace.i
extern_throws.i
features.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
file_test.i
fragments.i Fragments: additional testing and documentation enhancements 2022-02-07 21:45:33 +00:00
friends.i
friends_template.i
funcptr.i
funcptr_cpp.i Add Python runtime test for const function pointer 2018-11-13 07:35:44 +00:00
function_typedef.i
functors.i Fix functors (wrapped as __call__) when using -builtin -modern -fastunpack. 2018-09-19 20:10:11 +01:00
fvirtual.i
global_functions.i
global_immutable_vars.i Ruby globalmodule variables test enhancement 2019-12-30 23:52:02 +00:00
global_immutable_vars_cpp.i Ruby globalmodule variables test enhancement 2019-12-30 23:52:02 +00:00
global_namespace.i
global_ns_arg.i
global_scope_types.i
global_vars.i Add PHP run test for global_vars 2021-04-17 06:11:49 +12:00
go_director_inout.i [Go] #2245 Handle NULL pointers for string* conversions. 2022-07-05 17:00:48 -07:00
go_inout.i [Go] Don't convert arrays to pointers if there is a "gotype" typemap entry. 2022-03-15 12:18:47 -07:00
go_subdir_import.list Fix Go tests to run in module mode 2019-04-24 21:43:38 -07:00
go_subdir_import_a.i Fix typos 2022-02-10 16:12:24 +13:00
go_subdir_import_b.i
grouping.i Examples/test-suite/grouping.i: resolve compiler warning. 2021-03-10 14:48:18 +01:00
guile_ext_test.i
iadd.i
ignore_parameter.i Fix warning and improve description of ignore_parameter test 2022-02-27 18:15:39 +13:00
ignore_template_constructor.i
immutable_values.i
implicittest.i
import_fragments.i
import_fragments_a.i
import_fragments_b.i
import_nomodule.h
import_nomodule.i Handle ) in command line interface filename 2022-03-08 18:15:18 +13:00
import_stl.list
import_stl_a.i
import_stl_b.i
imports.list
imports_a.h
imports_a.i
imports_b.h
imports_b.i
inctest.h
inctest.i
infinity.i
inherit.i
inherit_member.i
inherit_missing.i
inherit_same_name.i
inherit_target_language.i
inherit_void_arg.i
inline_initializer.i
inout.i
inplaceadd.i
input.i
insert_directive.h
insert_directive.i
integers.i Add test cases for reference/const-reference of integers 2022-02-12 19:40:03 -05:00
intermediary_classname.i
java_constants.i
java_director.i
java_director_assumeoverride.i
java_director_exception_feature.i
java_director_exception_feature_nspace.i
java_director_ptrclass.i
java_director_typemaps.i Java director typemaps.i testing for pointers added 2018-08-11 17:11:24 +01:00
java_director_typemaps_ptr.i Fix crash Java directors 2018-08-12 13:45:43 +01:00
java_enums.i Fix missing value for first item of enums with trailing comma 2019-07-11 17:15:38 +02:00
java_jnitypes.i
java_lib_arrays.i
java_lib_arrays_dimensionless.i
java_lib_various.i
java_nspacewithoutpackage.i
java_pgcpp.i
java_pragmas.i
java_prepost.i
java_throws.i SWIGTYPE && input typemaps now assume object has been moved 2022-07-17 15:15:24 +01:00
java_typemaps_proxy.i Merge branch 'imfunc' 2022-05-30 19:45:28 +01:00
java_typemaps_typewrapper.i
javascript_lib_arrays.i Convert javascript_arrays.i example into testcase 2021-03-06 10:55:47 +00:00
keyword_rename.i Test a different C# keyword rename 2021-03-20 09:49:30 +00:00
keyword_rename_c.i
kind.i
kwargs_feature.i "Include what you use" for tests 2022-02-12 17:46:20 -05:00
langobj.i
lextype.i
li_attribute.i Fix typos in attribute2ref() in Lib/typemaps/attribute.swg 2021-02-09 09:21:14 -07:00
li_attribute_template.i
li_boost_intrusive_ptr.i
li_boost_shared_ptr.i Add test of null shared pointers emitted from C++ 2022-02-12 19:40:03 -05:00
li_boost_shared_ptr_attribute.i
li_boost_shared_ptr_bits.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
li_boost_shared_ptr_director.i
li_boost_shared_ptr_template.i
li_carrays.i
li_carrays_cpp.i
li_cdata.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
li_cdata_carrays.i
li_cdata_carrays_cpp.i
li_cdata_cpp.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
li_cmalloc.i
li_constraints.i
li_cpointer.i
li_cpointer_cpp.i
li_cstring.i
li_cwstring.i
li_factory.i [php] Generate PHP type declarations 2022-01-20 10:07:44 +13:00
li_implicit.i Remove redundant Python options: -nocastmode -nodirvtable -noextranative -nofastproxy 2018-12-18 19:51:32 +00:00
li_math.i Conditionalise math.i for PHP 2021-03-17 09:43:15 +13:00
li_reference.i
li_std_auto_ptr.i Add Lua support for std::unique_ptr and std::auto_ptr 2022-08-11 21:38:21 +01:00
li_std_carray.i
li_std_combinations.i
li_std_container_typemaps.i
li_std_containers_int.i
li_std_containers_overload.i Python STL container method overloading fix 2019-08-06 19:36:14 +01:00
li_std_deque.i Remove use of std::bind2nd which is removed in C++17 2019-06-27 07:40:49 +01:00
li_std_except.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
li_std_except_as_class.i
li_std_functors.i
li_std_list.i Remove use of std::bind2nd which is removed in C++17 2019-06-27 07:40:49 +01:00
li_std_map.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
li_std_map_member.i
li_std_multimap.i
li_std_pair.i
li_std_pair_extra.i
li_std_pair_lang_object.i
li_std_pair_using.i
li_std_queue.i
li_std_set.i Fix std::vector<> Java typemaps for primitive types 2019-07-11 13:10:23 +02:00
li_std_stack.i
li_std_stream.i
li_std_string.i [PHP] Don't generate code referencing undefined $r 2019-02-08 18:09:52 +13:00
li_std_string_extra.i
li_std_vector.i Fix comments about version Tcl bug fixed in 2022-02-08 16:39:42 +13:00
li_std_vector_back_reference.i Add std::vector back reference test 2019-02-18 21:39:17 +00:00
li_std_vector_enum.i
li_std_vector_extra.i Remove use of std::bind2nd which is removed in C++17 2019-06-27 07:40:49 +01:00
li_std_vector_member_var.i
li_std_vector_ptr.i Add missing typedefs to std::vector + typedef corrections 2019-02-13 22:46:28 +00:00
li_std_vectora.i
li_std_wstream.i
li_std_wstring.h Add support for wchar_t * and std::wstring Unicode strings on Linux 2022-05-02 21:08:19 +01:00
li_std_wstring.i Add support for throwing wstring exceptions 2022-05-02 21:08:19 +01:00
li_std_wstring_inherit.i Split testcases li_std_wstring.i and li_std_wstring_inherit.i 2019-07-22 19:05:21 +01:00
li_stdint.i
li_swigtype_inout.i
li_typemaps.i OUTPUT typemaps on methods that don't return void 2021-03-01 14:20:18 +00:00
li_typemaps_apply.i
li_windows.i
list_vector.i
long_long.i
long_long_apply.i
lua_inherit_getitem.i
lua_lightuserdata.i Clean up test cases 2020-02-17 09:16:42 -08:00
lua_no_module_global.i
member_funcptr_galore.i
member_pointer.i
member_pointer_const.i
member_template.i
memberin1.i
memberin_extend.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
memberin_extend_c.i Fix GCC -Wstringop-truncation warning 2021-04-19 18:13:02 +12:00
minherit.i
minherit2.i Fix C# CA1063 warning by implementing the recommended Dispose methods. 2019-04-08 19:20:45 +01:00
mixed_types.i
mod.h "Include what you use" for tests 2019-01-06 08:32:34 -05:00
mod.list
mod_a.i
mod_b.i
multi_import.h Extend diamond multi test to fix go 2022-02-15 07:53:46 -05:00
multi_import.list Add a "diamond" pattern to multi-impmort test 2022-02-12 19:40:03 -05:00
multi_import_a.i Extend diamond multi test to fix go 2022-02-15 07:53:46 -05:00
multi_import_b.i Extend diamond multi test to fix go 2022-02-15 07:53:46 -05:00
multi_import_c.i Extend diamond multi test to fix go 2022-02-15 07:53:46 -05:00
multi_import_d.i Extend diamond multi test to fix go 2022-02-15 07:53:46 -05:00
multiple_inheritance.i
multiple_inheritance_abstract.i Remove nonsensical comment 2022-07-20 14:18:49 +12:00
multiple_inheritance_interfaces.i %interface family of macros no longer add variable wrappers 2022-03-12 23:04:24 +00:00
multiple_inheritance_nspace.i Fixes for the family of %interface macros for overloaded methods 2022-03-12 23:04:24 +00:00
multiple_inheritance_overload.i Fix warning in D test-suite 2022-03-28 19:30:47 +01:00
multiple_inheritance_shared_ptr.i Fixes for the family of %interface macros for overloaded methods 2022-03-12 23:04:24 +00:00
multivalue.i [OCaml] Move INPUT, OUTPUT, and INOUT typemaps to typemaps.i 2019-02-18 23:02:20 -07:00
name.i
name_cxx.i
name_warnings.i Prevent "__dummy_0__" template methods from matching name warnings 2022-02-06 13:51:37 -05:00
namespace_chase.i
namespace_class.i
namespace_enum.i
namespace_extend.i
namespace_forward_declaration.i
namespace_nested.i
namespace_spaces.i
namespace_struct.i [R] Fix CopyToR() generated for struct in namespace 2022-01-31 12:05:09 +13:00
namespace_template.i
namespace_typedef_class.i
namespace_typemap.i Merge pull request #1398 from swig-fortran/missing-includes 2022-02-01 14:05:17 +13:00
namespace_union.i
namespace_virtual_method.i
native_directive.i Replace Handle with Local depending on Node.js version 2020-04-07 14:13:12 +02:00
naturalvar.i
naturalvar_more.i
naturalvar_onoff.i
nested.i Simplify nested testcase 2018-08-20 19:28:29 +01:00
nested_class.i Fix MSVC error in nested_class.i 2022-07-26 15:28:51 +12:00
nested_comment.i
nested_directors.i
nested_extend_c.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
nested_ignore.i
nested_in_template.i Fix some MSVC compiler warnings in the test suite 2019-03-07 09:44:01 -07:00
nested_inheritance_interface.i Fixes for the family of %interface macros for overloaded methods 2022-03-12 23:04:24 +00:00
nested_private.i
nested_scope.i Add and improve Ruby test cases in the context of nesting and namespaces 2020-12-16 22:30:46 +01:00
nested_scope_flat.i Add and improve Ruby test cases in the context of nesting and namespaces 2020-12-16 22:30:46 +01:00
nested_structs.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
nested_template_base.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
nested_workaround.i
newobject1.i
newobject2.i
newobject3.i
not_c_keywords.i complex can now be used as an identifier 2020-10-10 16:07:55 +01:00
nspace.i
nspace_extend.i
null_pointer.i
octave_cell_deref.i
octave_dim.i
operator_overload.i Tweak testcase comments 2022-07-13 15:21:12 +12:00
operator_overload_break.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
operator_pointer_ref.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
operbool.i
ordering.i
overload_arrays.i [Chicken] Remove code for Chicken 2021-05-16 08:42:39 +12:00
overload_bool.i
overload_complicated.i
overload_copy.i
overload_extend.i
overload_extend2.i
overload_extend_c.i
overload_method.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
overload_null.i Shorten testcase variable names for Scilab 6 to work 2021-11-15 22:45:56 +00:00
overload_numeric.i
overload_polymorphic.i php: Fix char* typecheck typemap to accept Null 2021-03-19 08:34:15 +13:00
overload_rename.i
overload_return_type.i
overload_simple.i [Chicken] Remove code for Chicken 2021-05-16 08:42:39 +12:00
overload_subtype.i
overload_template.i
overload_template_fast.i
packageoption.h
packageoption.list
packageoption_a.i
packageoption_b.i
packageoption_c.i
php_iterator.i
php_namewarn_rename.i [PHP] Add new PHP 8.1 keyword 2021-12-18 15:30:38 +13:00
php_pragma.i
pointer_in_out.i
pointer_reference.i
prefix.i [php] Use -prefix setting in type declarations 2022-01-21 11:08:24 +13:00
preproc.i Fix a preprocessor expression evaluation bug 2022-02-23 18:53:59 +13:00
preproc_constants.i Enable testcase for % 2022-01-25 14:09:49 +13:00
preproc_constants_c.i
preproc_cpp.i preproc_cpp test for testing preprocessor and C++ 2021-12-22 19:06:00 +00:00
preproc_defined.i
preproc_expr.i Fix operator precedence in preprocessor expressions 2022-07-26 14:18:38 +12:00
preproc_gcc_output.h Fix regression parsing gcc preprocessor linemarkers 2019-02-19 21:32:04 +00:00
preproc_gcc_output.i Fix regression parsing gcc preprocessor linemarkers 2019-02-19 21:32:04 +00:00
preproc_include.i
preproc_include_a.h
preproc_include_b.h
preproc_include_c.h
preproc_include_d withspace.h
preproc_include_e withspace.h
preproc_include_f withspace.h
preproc_include_g.h
preproc_include_h1.i
preproc_include_h2.i
preproc_include_h3.i
preproc_line_file.i
primitive_ref.i
primitive_types.i Fix some rejections of valid floating-point literals 2019-02-21 02:11:51 -07:00
private_assign.i Avoid another warning about deprecated implicit copy ctor 2021-10-01 01:39:12 +02:00
profiletest.i
protected_rename.i
proxycode.i
pure_virtual.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
python_abstractbase.i Add Python < 3.3 support for pyabc.i 2022-03-23 07:58:01 +00:00
python_annotations_c.i Remove -py3 command line option 2022-03-23 18:13:07 +00:00
python_annotations_variable_c.i Add support for Python variable annotations as a feature. 2022-03-02 19:33:03 +00:00
python_append.i Fixing setting this in Python when using __slots__ 2020-02-06 07:08:16 +00:00
python_builtin.i doxygen_autodoc_docstring test fix for Python builtin 2022-04-06 22:33:17 +01:00
python_destructor_exception.i
python_director.i
python_docstring.i
python_extranative.i
python_flatstaticmethod.i Test -flatstaticmethod and %extend 2022-03-21 19:23:15 +00:00
python_moduleimport.i
python_nondynamic.i Hard-wire -modern and -modernargs on 2018-10-12 07:10:47 +01:00
python_overload_simple_cast.i
python_pickle.i
python_pybuffer.i Fix some MSVC compiler warnings in the test suite 2019-03-07 09:44:01 -07:00
python_pythoncode.i Remove debug display in python_pythoncode testcase 2018-12-22 18:47:34 +00:00
python_richcompare.i
python_runtime_data.list Use different capsule names with and without -builtin 2022-03-18 13:44:54 -04:00
python_runtime_data_builtin.i Use different capsule names with and without -builtin 2022-03-18 13:44:54 -04:00
python_runtime_data_nobuiltin.i Use different capsule names with and without -builtin 2022-03-18 13:44:54 -04:00
python_strict_unicode.i
python_threads.i
python_varargs_typemap.i Remove some usage of strdup 2022-05-07 07:09:44 +01:00
r_copy_struct.i
r_double_delete.i
r_legacy.i
r_overload_array.i
r_overload_comma.i
r_sexp.i
r_use_isnull.i
README
redefined.i
redefined_not.i
refcount.h Improve #include guard macros 2022-07-19 09:35:46 +12:00
refcount.i
reference_global_vars.i
register_par.i Fix C tests for Javascript and c++17 2021-11-11 19:56:37 +00:00
rename.h testcase fixes for gcc-9 2021-03-25 16:17:06 +13:00
rename1.i testcase fixes for gcc-9 2021-03-25 16:17:06 +13:00
rename2.i testcase fixes for gcc-9 2021-03-25 16:17:06 +13:00
rename3.i testcase fixes for gcc-9 2021-03-25 16:17:06 +13:00
rename4.i testcase fixes for gcc-9 2021-03-25 16:17:06 +13:00
rename_camel.i Update testcase comment 2022-03-19 08:55:39 +13:00
rename_pcre_encoder.i
rename_pcre_enum.i
rename_predicates.i
rename_rstrip_encoder.i
rename_scope.i
rename_simple.i
rename_strip_encoder.i
rename_wildcard.i
restrict_cplusplus.i
ret_by_value.i
return_const_value.i
return_value_scope.i
rname.i Eliminate use of fn in testcases 2021-03-30 11:01:51 +13:00
ruby_alias_global_function.i
ruby_alias_method.i
ruby_alias_module_function.i
ruby_global_immutable_vars.i Ruby globalmodule variables test enhancement 2019-12-30 23:52:02 +00:00
ruby_global_immutable_vars_cpp.i Ruby globalmodule variables test enhancement 2019-12-30 23:52:02 +00:00
ruby_keywords.i
ruby_li_std_speed.i
ruby_manual_proxy.i
ruby_minherit_shared_ptr.i
ruby_naming.i
ruby_naming_bugs.i [Ruby] Fix remove of prefix from method name 2022-02-02 15:53:23 +13:00
ruby_rdata.i minor edit 2019-02-22 19:55:55 +00:00
ruby_track_objects.i
ruby_track_objects_directors.i
samename.i
scilab_consts.i
scilab_enums.i
scilab_identifier_name.i Fix typos 2021-11-17 07:07:02 +02:00
scilab_li_matrix.i
scilab_multivalue.i
scilab_pointer_conversion_functions.i
shared_ptr_wrapper.h
simple_array.i
simutry.i
sizeof_pointer.i
sizet.i [Chicken] Remove code for Chicken 2021-05-16 08:42:39 +12:00
smart_pointer_const.i
smart_pointer_const2.i
smart_pointer_const_overload.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
smart_pointer_extend.i
smart_pointer_ignore.i
smart_pointer_inherit.i Testcase warning fix using gcc-11 2021-11-12 19:00:20 +00:00
smart_pointer_member.i
smart_pointer_multi.i
smart_pointer_multi_typedef.i
smart_pointer_namespace.i
smart_pointer_namespace2.i
smart_pointer_not.i
smart_pointer_overload.i
smart_pointer_protected.i
smart_pointer_rename.i
smart_pointer_simple.i
smart_pointer_static.i
smart_pointer_template_const_overload.i
smart_pointer_template_defaults_overload.i
smart_pointer_templatemethods.i
smart_pointer_templatevariables.i
smart_pointer_typedef.i
sneaky1.i
special_variable_attributes.i
special_variable_macros.i Allow referencing of typemap keywords inside of "$typemap(" 2022-02-25 10:52:33 -05:00
special_variables.i
static_array_member.i
static_const_member.i
static_const_member_2.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
std_containers.i
stl_new.i
stl_no_default_constructor.i More C# std::list testing 2019-03-25 18:48:51 +00:00
string_constants.i
string_simple.i Merge pull request #1398 from swig-fortran/missing-includes 2022-02-01 14:05:17 +13:00
struct_initialization.i
struct_initialization_cpp.i
struct_rename.i
struct_value.i
swig_examples_lock.h
swig_exception.i
swigobject.i
sym.i
symbol_clash.i
tag_no_clash_with_variable.i
template_arg_replace.i Remove superfluous semicolons 2022-02-15 14:00:12 +13:00
template_arg_scope.i
template_arg_typename.i
template_array_numeric.i
template_base_template.i
template_basic.i
template_class_reuse_name.i
template_classes.i
template_const_ref.i
template_construct.i Fix C++20 compatibility in testcases 2022-07-26 15:28:51 +12:00
template_default.i [Chicken] Remove code for Chicken 2021-05-16 08:42:39 +12:00
template_default2.i
template_default_arg.i
template_default_arg_overloaded.i
template_default_arg_overloaded_extend.i
template_default_arg_virtual_destructor.i
template_default_cache.i
template_default_class_parms.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
template_default_class_parms_typedef.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
template_default_inherit.i
template_default_pointer.i
template_default_qualify.i
template_default_vw.i Remove superfluous semicolons 2022-02-15 14:00:12 +13:00
template_empty_inherit.i
template_enum.i
template_enum_ns_inherit.i
template_enum_typedef.i
template_explicit.i
template_expr.i
template_extend1.i
template_extend2.i
template_extend_overload.i
template_extend_overload_2.i
template_forward.i
template_inherit.i
template_inherit_abstract.i
template_int_const.i
template_keyword_in_type.i
template_matrix.i
template_methods.i
template_namespace_forward_declaration.i
template_nested.i Add and improve Ruby test cases in the context of nesting and namespaces 2020-12-16 22:30:46 +01:00
template_nested_flat.i Add and improve Ruby test cases in the context of nesting and namespaces 2020-12-16 22:30:46 +01:00
template_nested_typemaps.i
template_ns.i
template_ns2.i
template_ns3.i
template_ns4.i
template_ns_enum.i
template_ns_enum2.i
template_ns_inherit.i
template_ns_scope.i
template_opaque.i Update template_opaque testcase 2019-03-01 08:15:03 +00:00
template_parameters_global_scope.i
template_partial_arg.i
template_partial_specialization.i
template_partial_specialization_typedef.i
template_private_assignment.i
template_qualifier.i
template_ref_type.i
template_rename.i
template_retvalue.i
template_specialization.i
template_specialization_defarg.i
template_specialization_enum.i
template_static.i Add and improve Ruby test cases in the context of nesting and namespaces 2020-12-16 22:30:46 +01:00
template_tbase_template.i
template_template_parameters.i template template parameters patch tidyup 2021-03-22 01:08:05 +00:00
template_templated_constructors.i
template_type_namespace.i
template_typedef.i
template_typedef_class_template.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
template_typedef_cplx.i
template_typedef_cplx2.h Improve #include guard macros 2022-07-19 09:35:46 +12:00
template_typedef_cplx2.i
template_typedef_cplx3.i
template_typedef_cplx4.i
template_typedef_cplx5.i
template_typedef_fnc.i
template_typedef_funcptr.i
template_typedef_import.i
template_typedef_import.list
template_typedef_inherit.i
template_typedef_ns.i
template_typedef_ptr.i
template_typedef_rec.i
template_typedef_typedef.i
template_typemaps.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
template_typemaps_typedef.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
template_typemaps_typedef2.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
template_using.i
template_using_directive_and_declaration_forward.i
template_using_directive_typedef.i
template_virtual.i Misc. typo and whitespace fixes 2018-09-19 20:29:14 +01:00
template_whitespace.i
threads.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
threads_exception.i Move <string.h> fragment to swigfragments 2019-01-06 09:08:12 -05:00
throw_exception.i
typedef_array_member.i
typedef_class.i
typedef_classforward_same_name.i
typedef_funcptr.i
typedef_inherit.i
typedef_mptr.i
typedef_reference.i
typedef_scope.i
typedef_sizet.i
typedef_struct.i "Include what you use" for tests 2019-01-06 08:32:34 -05:00
typedef_struct_cpp.i
typedef_typedef.i
typemap_array_qualifiers.i -Wvolatile gcc warning fix for C++20 2022-07-31 01:02:08 +01:00
typemap_arrays.i
typemap_delete.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
typemap_directorout.i
typemap_documentation.i
typemap_global_scope.i
typemap_manyargs.i
typemap_namespace.i
typemap_ns_using.i
typemap_numinputs.i
typemap_out_optimal.i Movable and move-only types supported in "out" typemaps. 2022-06-30 17:26:48 +01:00
typemap_qualifier_strip.i Fix invalid code in testcase typemap_qualifier_strip.i 2022-01-26 15:39:38 +13:00
typemap_self.i
typemap_subst.i
typemap_template.i Fix failure of %apply directive in anonymous templates 2019-02-06 08:48:40 -05:00
typemap_template_parm_typedef.i
typemap_template_parms.i Parameter name expansion fix for template functions. 2019-08-01 19:46:16 +01:00
typemap_template_typedef.i
typemap_variables.i
typemap_various.i "Include what you use" for tests 2022-02-12 17:46:20 -05:00
typename.i
types_directive.i Add Javascript (JSC) support for type conversion 2021-03-11 20:18:58 +00:00
unicode_strings.i
union_parameter.i
union_scope.i
unions.i
using1.i
using2.i Fix warning suppression for WARN_PARSE_USING_UNDEF 2022-02-20 16:45:10 +00:00
using_composition.i
using_directive_and_declaration.i
using_directive_and_declaration_forward.i
using_extend.i
using_inherit.i
using_member.i Comment broken part of using_member.i 2022-03-26 12:03:09 +00:00
using_member_scopes.i Fix using declaration in derived class bugs 2022-03-24 20:52:58 +00:00
using_namespace.i
using_namespace_loop.i
using_pointers.i
using_private.i
using_protected.i
valuewrapper.i
valuewrapper_base.i Remove superfluous semicolons 2022-02-15 14:00:12 +13:00
valuewrapper_const.i
valuewrapper_opaque.i Fix C++20 compatibility in testcases 2022-07-26 15:28:51 +12:00
varargs.i Merge pull request #1398 from swig-fortran/missing-includes 2022-02-01 14:05:17 +13:00
varargs_overload.i Fix Python compile errors with overloading and varargs 2019-02-25 19:27:23 +00:00
variable_replacement.i
virtual_derivation.i
virtual_destructor.i
virtual_poly.i [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
virtual_vs_nonvirtual_base.i
voidtest.i [Javascript] Fix handling of functions which take void* 2022-03-07 14:17:52 +13:00
wallkw.i
wrapmacro.i

SWIG testsuite README file
--------------------------

This testsuite is here to ensure SWIG can handle a wide range of c/c++
syntax. The testsuite comprises many testcases in this directory. Each
test case is tested under each of the language modules thereby
thoroughly testing all of SWIG. It ensures that each of the language
modules are at a similar standard.

Those modules that support shadow classes run the tests producing
shadow classes to test the full language module functionality.

Some test cases need a runtime test. These need implementing in each
of the language modules. The language modules look for a file in the
language specific test-suite directory which has _runme appended after
the testcase name. If one is found it will be run as part of the test.

Some language modules add to this common set of test cases for
language specific tests. These can be found in the appropriate
language test-suite directory. There is also a README in each of the
language module directories.

For each testcase a message showing which testcase is being tested is
displayed. Nothing else is printed unless the test fails.


Some Developer Guidelines
-------------------------

Note that the whole test suite need not be run each time a testcase is
modified. An individual testcase may be run by going to the language
module test-suite directory and using make testcasename.xxx where xxx
is the type of test (eg cpptest). See common.mk. make -s doesn't print
any junk on the screen and is useful for emulating the way make check
works from the SWIG root directory.

If there are runtime tests needed, don't print anything unless there
is an error in which case stderr is suggested.

Please set the name of the module to the same name as the testcase,
otherwise modules will not be found.

There is a special directory called testdir for testcases requiring
inputs from subdirectories or multiple directories. See the
testdir/README file.

Further Documentation
---------------------

There is documentation about the test-suite and how to use it in
the SWIG documentation - Doc/Manual/Extending.html#Extending_test_suite.