swig/Examples/test-suite
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vadim Zeitlin 82ce7e4725 Force the unit test suite to pass for C
Disable all currently failing tests.
2016-04-13 18:10:35 +02:00
..
allegrocl Don't run some tests twice 2016-02-21 21:36:43 +00:00
c Force the unit test suite to pass for C 2016-04-13 18:10:35 +02:00
cffi Consistent quoting in Makefile 2015-08-21 22:48:34 +01:00
chicken Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend 2016-02-21 19:24:11 +00:00
clisp Consistent quoting in Makefile 2015-08-21 22:48:34 +01:00
csharp Change the name of the interface in %feature to be more portable 2016-03-08 08:42:16 +00:00
d
errors Move subdirectory .gitignore to top level 2016-02-21 21:36:58 +00:00
go Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend 2016-02-21 19:24:11 +00:00
guile Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend 2016-02-21 19:24:11 +00:00
java Java - unsigned long long marshalling improvements for negative numbers 2016-03-31 18:56:32 +01:00
javascript Fix 'make partialcheck-test-suite' 2016-03-18 18:56:55 +00:00
lua handle const pointers to functions 2016-03-24 10:59:23 +01:00
mzscheme Consistent quoting in Makefile 2015-08-21 22:48:34 +01:00
ocaml Consistent quoting in Makefile 2015-08-21 22:48:34 +01:00
octave Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend 2016-02-21 19:24:11 +00:00
perl5 Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cdata_carrays 2016-02-21 21:36:58 +00:00
php Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_carrays 2016-02-21 18:04:04 +00:00
pike Consistent quoting in Makefile 2015-08-21 22:48:34 +01:00
python Merge branch 'ahnolds-py_gettar' 2016-04-02 18:06:03 +01:00
r Added a run test for vector types. Tests creation of a std::vector 2016-03-15 12:15:29 +11:00
ruby Don't run some tests twice 2016-02-21 21:36:43 +00:00
schemerunme Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend 2016-02-21 19:24:11 +00:00
scilab handle const pointers to functions 2016-03-24 10:59:23 +01:00
tcl Consistent quoting in Makefile 2015-08-21 22:48:34 +01:00
testdir
uffi Consistent quoting in Makefile 2015-08-21 22:48:34 +01:00
abstract_access.i
abstract_inherit.i
abstract_inherit_ok.i
abstract_signature.i
abstract_typedef.i
abstract_typedef2.i
abstract_virtual.i
access_change.i
add_link.i
aggregate.i
allowexcept.i
allprotected.i
allprotected_not.i
anonymous_bitfield.i
apply_signed_char.i
apply_strings.i
argcargvtest.i
argout.i
array_member.i
array_typedef_memberin.i Test case warning suppression for visual c++ fix 2015-08-02 22:22:24 +01:00
arrayref.i
arrays.i
arrays_dimensionless.i
arrays_global.i
arrays_global_twodim.i
arrays_scope.i
autodoc.i [Python] Fix docstrings for %callback functions 2015-09-04 13:04:37 +12:00
bloody_hell.i
bom_utf8.i
bools.i
c_backend_cpp_exception.i
c_backend_cpp_natural_std_string.i
c_delete.i
c_delete_function.i
callback.i
cast_operator.i
casts.i
catches.i
char_binary.i Make (char*, size_t) typemap usable for strings of other types in Java. 2015-08-07 19:44:45 +02:00
char_constant.i C# char wrappers fixes for enum values, static const member char values and %csconst 2016-03-12 18:52:49 +00:00
char_strings.i
chartest.i clang illegal character encoding warning fixes in tests 2016-03-13 15:44:10 +00:00
chicken_ext_test.i
class_forward.i
class_ignore.i
class_scope_weird.i
clientdata_prop.list
clientdata_prop_a.h
clientdata_prop_a.i
clientdata_prop_b.h
clientdata_prop_b.i
common.mk Add a possibility to disable failing test cases 2016-04-13 18:10:35 +02:00
compactdefaultargs.i Add tests for Python -builtin -O and compactdefaultargs and update changes file 2016-04-02 11:29:54 +01:00
complextest.i
const_const.i
const_const_2.i
constant_directive.i fix handling of function pointers by %constant directive 2016-03-24 11:22:51 +01:00
constant_expr.i
constant_pointers.i
constants.i
constover.i
constructor_copy.i
constructor_exception.i
constructor_explicit.i
constructor_ignore.i
constructor_rename.i
constructor_value.i
contract.i
conversion.i
conversion_namespace.i
conversion_ns_template.i
conversion_operators.i
cplusplus_throw.i
cpp11_alignment.i
cpp11_alternate_function_syntax.i
cpp11_constexpr.i
cpp11_decltype.i
cpp11_default_delete.i
cpp11_delegating_constructors.i
cpp11_director_enums.i
cpp11_explicit_conversion_operators.i
cpp11_final_override.i
cpp11_function_objects.i
cpp11_hash_tables.i
cpp11_inheriting_constructors.i
cpp11_initializer_list.i
cpp11_initializer_list_extend.i
cpp11_lambda_functions.i
cpp11_li_std_array.i Add C++11 std::array container support for Java 2016-03-14 20:46:56 +00:00
cpp11_noexcept.i
cpp11_null_pointer_constant.i
cpp11_raw_string_literals.i
cpp11_reference_wrapper.i
cpp11_result_of.i
cpp11_rvalue_reference.i
cpp11_rvalue_reference2.i
cpp11_rvalue_reference3.i
cpp11_sizeof_object.i
cpp11_static_assert.i
cpp11_strongly_typed_enumerations.i Fix assertion for some languages when wrapping a C++11 enum class that is private in a class. 2016-03-31 20:27:36 +01:00
cpp11_strongly_typed_enumerations_simple.i
cpp11_template_double_brackets.i
cpp11_template_explicit.i
cpp11_template_typedefs.i
cpp11_thread_local.i
cpp11_type_aliasing.i
cpp11_type_traits.i
cpp11_uniform_initialization.i
cpp11_unrestricted_unions.i
cpp11_userdefined_literals.i
cpp11_variadic_templates.i
cpp_basic.i
cpp_basic_class.i
cpp_basic_class_enum.i
cpp_basic_class_method.i
cpp_basic_class_var_pub_member_built_in.i
cpp_basic_class_var_pub_member_class.i
cpp_basic_class_virtual_method.i
cpp_basic_global_enum.i
cpp_basic_global_var_built_in.i
cpp_basic_global_var_class.i
cpp_basic_namespaced_class.i
cpp_basic_template_class.i
cpp_basic_template_function.i
cpp_broken.i
cpp_enum.i
cpp_namespace.i
cpp_nodefault.i
cpp_static.i
cpp_typedef.i
csharp_attributes.i
csharp_exceptions.i
csharp_features.i
csharp_lib_arrays.i
csharp_namespace_system_collision.i
csharp_prepost.i
csharp_swig2_compatibility.i
csharp_typemaps.i
curiously_recurring_template_pattern.i
d_nativepointers.i
default_arg_values.i
default_args.i Add tests for enum values and static const member variables chars containing escape sequences 2016-01-26 20:16:47 +00:00
default_constructor.i Test case warning suppression for visual c++ 2015-08-02 21:50:32 +01:00
defvalue_constructor.i
derived_byvalue.i
derived_nested.i
destructor_reprotected.i
director_abstract.i
director_alternating.i
director_basic.i
director_binary_string.i
director_classes.i
director_classic.i
director_constructor.i
director_default.i
director_detect.i
director_enum.i
director_exception.i
director_extend.i
director_finalizer.i
director_frob.i
director_ignore.i
director_keywords.i
director_namespace_clash.i
director_nested.i
director_nested_class.i
director_nestedmodule.i
director_nspace.i
director_nspace_director_name_collision.i
director_overload.i
director_overload2.i
director_primitives.i
director_profile.i
director_property.i
director_protected.i
director_protected_overloaded.i
director_redefined.i
director_ref.i
director_smartptr.i Director smartptr testing 2015-09-30 07:53:19 +01:00
director_stl.i
director_string.i
director_thread.i
director_unroll.i
director_using.i
director_wombat.i
director_wstring.i
disown.i
dynamic_cast.i
empty.i
empty_c.i Duplicate tests that are run twice as both C and C++ tests to fix parallel make: empty 2016-02-21 18:03:14 +00:00
enum_forward.i
enum_ignore.i
enum_macro.i
enum_missing.i
enum_plus.i
enum_rename.i
enum_scope_template.i
enum_template.i
enum_thorough.i clang illegal character encoding warning fixes in tests 2016-03-13 15:44:10 +00:00
enum_thorough_proper.i
enum_thorough_simple.i
enum_thorough_typesafe.i
enum_thorough_typeunsafe.i
enum_var.i
enums.i
equality.i
evil_diamond.i
evil_diamond_ns.i
evil_diamond_prop.i
exception_classname.i Qualify use of "__builtin__.Exception" class. 2016-01-11 21:43:10 -08:00
exception_order.i
exception_partial_info.i
expressions.i
extend.i test-suite warning fixes 2016-02-21 21:36:58 +00:00
extend_constructor_destructor.i
extend_default.i
extend_placement.i
extend_special_variables.i
extend_template.i
extend_template_ns.i
extend_typedef_class.i
extend_variable.i
extern_c.i
extern_declaration.i
extern_namespace.i
extern_throws.i
features.i
file_test.i
fragments.i
friends.i
friends_template.i
funcptr.i
funcptr_cpp.i handle const pointers to functions 2016-03-24 10:59:23 +01:00
function_typedef.i
fvirtual.i
global_functions.i
global_namespace.i
global_ns_arg.i
global_scope_types.i
global_vars.i
go_director_inout.i
go_inout.i
go_subdir_import.list
go_subdir_import_a.i
go_subdir_import_b.i
grouping.i
guile_ext_test.i
iadd.i
ignore_parameter.i
ignore_template_constructor.i
immutable_values.i
implicittest.i
import_nomodule.h
import_nomodule.i
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.i
integers.i
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_enums.i
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
java_typemaps_proxy.i Fix potential security exploit in generated Java classes 2015-08-02 11:22:46 +01:00
java_typemaps_typewrapper.i Fix potential security exploit in generated Java classes 2015-08-02 11:22:46 +01:00
keyword_rename.i
keyword_rename_c.i Duplicate tests that are run twice as both C and C++ tests to fix parallel make: keyword_rename 2016-02-21 18:04:04 +00:00
kind.i
kwargs_feature.i
langobj.i
lextype.i
li_attribute.i
li_attribute_template.i
li_boost_array.i Fix test failure on PPC{64} where the char is unsigned by default 2016-01-08 12:00:03 +02:00
li_boost_intrusive_ptr.i
li_boost_shared_ptr.i test-suite warning fixes 2016-02-21 21:36:58 +00:00
li_boost_shared_ptr_attribute.i Turn on missing shared_ptr tests for Octave 2015-09-25 22:58:00 +01:00
li_boost_shared_ptr_bits.i Test case fix 2015-10-03 12:10:14 +01:00
li_boost_shared_ptr_template.i test-suite warning fixes 2016-02-21 21:36:58 +00:00
li_carrays.i
li_carrays_cpp.i Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_carrays 2016-02-21 18:04:04 +00:00
li_cdata.i
li_cdata_carrays.i
li_cdata_carrays_cpp.i Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cdata_carrays 2016-02-21 21:36:58 +00:00
li_cdata_cpp.i Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cdata 2016-02-21 18:04:04 +00:00
li_cmalloc.i
li_constraints.i
li_cpointer.i
li_cpointer_cpp.i Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cpointer 2016-02-21 18:04:04 +00:00
li_cstring.i
li_cwstring.i
li_factory.i
li_implicit.i
li_math.i
li_reference.i
li_std_auto_ptr.i
li_std_carray.i
li_std_combinations.i
li_std_container_typemaps.i
li_std_containers_int.i
li_std_deque.i
li_std_except.i
li_std_except_as_class.i
li_std_functors.i
li_std_list.i
li_std_map.i
li_std_map_member.i
li_std_multimap.i
li_std_pair.i Fix STL wrappers to not generate <: digraphs. 2015-12-12 14:05:46 +00:00
li_std_pair_extra.i
li_std_pair_lang_object.i
li_std_pair_using.i
li_std_queue.i
li_std_set.i
li_std_stack.i
li_std_stream.i
li_std_string.i
li_std_string_extra.i
li_std_vector.i Fix STL wrappers to not generate <: digraphs. 2015-12-12 14:05:46 +00:00
li_std_vector_enum.i
li_std_vector_extra.i
li_std_vector_member_var.i
li_std_vector_ptr.i
li_std_vectora.i
li_std_wstream.i
li_std_wstring.i
li_stdint.i
li_swigtype_inout.i
li_typemaps.i
li_typemaps_apply.i
li_windows.i
list_vector.i
long_long.i Java - unsigned long long marshalling improvements for negative numbers 2016-03-31 18:56:32 +01:00
long_long_apply.i
lua_inherit_getitem.i Add test case for Lua __getitem + inheritance 2016-03-17 07:48:01 +01:00
lua_no_module_global.i
member_funcptr_galore.i test-suite warning fixes 2016-02-21 21:36:58 +00:00
member_pointer.i
member_template.i
memberin1.i
memberin_extend.i
memberin_extend_c.i
minherit.i
minherit2.i
mixed_types.i
mod.h
mod.list
mod_a.i
mod_b.i
multi_import.h
multi_import.list
multi_import_a.i
multi_import_b.i
multi_import_c.i
multiple_inheritance.i
multiple_inheritance_abstract.i interface feature test changes for the tests to pass for all languages 2016-03-03 19:45:00 +00:00
multiple_inheritance_interfaces.i Interface feature fix for typedef types 2016-03-07 21:42:27 +00:00
multiple_inheritance_nspace.i interface feature test changes for the tests to pass for all languages 2016-03-03 19:45:00 +00:00
multiple_inheritance_shared_ptr.i Add limited support for %interface_impl and %shared_ptr 2016-03-06 21:20:23 +00:00
multivalue.i
name.i
name_cxx.i
name_warnings.i
namespace_class.i
namespace_enum.i
namespace_extend.i
namespace_forward_declaration.i
namespace_nested.i
namespace_spaces.i
namespace_template.i
namespace_typedef_class.i
namespace_typemap.i
namespace_union.i
namespace_virtual_method.i
naturalvar.i
naturalvar_more.i
naturalvar_onoff.i
nested.i
nested_class.i Issue #508: Classprefix is not restored after nested structures processing. Also, Classprefix is incorrectly checked in some places. 2015-10-01 15:06:42 +03:00
nested_comment.i
nested_directors.i
nested_extend_c.i
nested_private.i
nested_scope.i
nested_structs.i
nested_template_base.i
nested_workaround.i
newobject1.i
newobject2.i
nspace.i
nspace_extend.i
null_pointer.i
octave_cell_deref.i
octave_dim.i
operator_overload.i Merge branch 'master' into C 2016-04-08 17:29:16 +02:00
operator_overload_break.i
operator_pointer_ref.i
operbool.i
ordering.i
overload_arrays.i
overload_bool.i
overload_complicated.i
overload_copy.i
overload_extend.i
overload_extend2.i rename overload_extendc testcase 2016-02-21 18:04:04 +00:00
overload_extend_c.i Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend 2016-02-21 19:24:11 +00:00
overload_method.i
overload_numeric.i
overload_polymorphic.i
overload_rename.i
overload_return_type.i
overload_simple.i
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
pointer_in_out.i
pointer_reference.i
prefix.i
preproc.i
preproc_constants.i
preproc_constants_c.i
preproc_defined.i
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 Scilab test-suite warning suppression 2016-03-17 19:43:12 +00:00
private_assign.i
profiletest.i
protected_rename.i
pure_virtual.i
python_abstractbase.i
python_append.i Support python(pre|ap)pend on static methods in classic mode 2016-02-04 15:27:54 -05:00
python_destructor_exception.i Add test case for Python 3.5 assertion with a pending StopIteration 2015-12-16 12:57:06 +00:00
python_director.i
python_docstring.i
python_nondynamic.i
python_overload_simple_cast.i
python_pybuf.i
python_pythoncode.i
python_richcompare.i
python_strict_unicode.i Tests for Python Bytes/Unicode distinction 2016-02-04 21:07:40 -05:00
python_threads.i
python_varargs_typemap.i
r_copy_struct.i R test case warning fixes 2015-12-19 16:21:22 +00:00
r_double_delete.i
r_legacy.i
r_overload_array.i
r_sexp.i
README
redefined.i
redefined_not.i
refcount.h
refcount.i
reference_global_vars.i
register_par.i
rename.h
rename1.i
rename2.i
rename3.i
rename4.i
rename_camel.i
rename_pcre_encoder.i
rename_pcre_enum.i
rename_predicates.i
rename_rstrip_encoder.i Add rstrip encoder for use in %rename. 2016-03-02 07:11:09 +00:00
rename_scope.i
rename_simple.i
rename_strip_encoder.i
restrict_cplusplus.i
ret_by_value.i
return_const_value.i
return_value_scope.i
rname.i
ruby_keywords.i
ruby_li_std_speed.i
ruby_minherit_shared_ptr.i Ruby shared_ptr fixes for use with minherit 2015-10-01 22:36:01 +01:00
ruby_naming.i
ruby_track_objects.i
ruby_track_objects_directors.i
samename.i
scilab_consts.i
scilab_enums.i
scilab_identifier_name.i
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
smart_pointer_const.i
smart_pointer_const2.i
smart_pointer_const_overload.i
smart_pointer_extend.i
smart_pointer_inherit.i
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 testcase warning fix 2015-08-02 19:58:10 +01:00
special_variable_macros.i
special_variables.i Merge branch 'master' into C 2016-04-08 17:29:16 +02:00
static_array_member.i
static_const_member.i
static_const_member_2.i
std_containers.i
stl_new.i
string_constants.i Add missing string_constant.i testcase 2016-03-12 23:26:23 +00:00
string_simple.i
struct_initialization.i
struct_initialization_cpp.i
struct_rename.i
struct_value.i
swig_examples_lock.h
swigobject.i
sym.i
symbol_clash.i
tag_no_clash_with_variable.i
template_arg_replace.i
template_arg_scope.i
template_arg_typename.i
template_array_numeric.i
template_base_template.i
template_basic.i
template_classes.i
template_const_ref.i
template_construct.i
template_default.i
template_default2.i
template_default_arg.i test-suite warning fixes 2016-02-21 21:36:58 +00:00
template_default_arg_overloaded.i Fix overloaded templates and default arguments 2015-10-11 17:30:34 +01:00
template_default_arg_virtual_destructor.i
template_default_class_parms.i
template_default_class_parms_typedef.i
template_default_inherit.i
template_default_pointer.i
template_default_qualify.i
template_default_vw.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
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
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
template_tbase_template.i
template_template_parameters.i
template_templated_constructors.i
template_type_namespace.i
template_typedef.i
template_typedef_class_template.i
template_typedef_cplx.i
template_typedef_cplx2.h
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 Correct testcase warning fix 2016-02-22 07:06:47 +00:00
template_typedef_ns.i
template_typedef_ptr.i
template_typedef_rec.i
template_typedef_typedef.i
template_typemaps.i
template_typemaps_typedef.i
template_typemaps_typedef2.i
template_using.i
template_using_directive_and_declaration_forward.i
template_virtual.i
template_whitespace.i
threads.i
threads_exception.i
throw_exception.i
traits.i
typedef_array_member.i
typedef_class.i
typedef_funcptr.i
typedef_inherit.i
typedef_mptr.i
typedef_reference.i
typedef_scope.i
typedef_sizet.i
typedef_struct.i
typedef_struct_cpp.i Duplicate tests that are run twice as both C and C++ tests to fix parallel make: typedef_struct 2016-02-21 19:24:27 +00:00
typedef_typedef.i
typemap_array_qualifiers.i
typemap_arrays.i
typemap_delete.i
typemap_directorout.i
typemap_global_scope.i
typemap_manyargs.i
typemap_namespace.i
typemap_ns_using.i
typemap_numinputs.i
typemap_out_optimal.i
typemap_qualifier_strip.i
typemap_self.i
typemap_subst.i
typemap_template.i
typemap_template_parm_typedef.i
typemap_variables.i
typemap_various.i
typename.i
types_directive.i
unicode_strings.i Python 2 Unicode strings can be used as inputs to char * or std::string types 2015-12-19 03:55:26 +00:00
union_parameter.i
union_scope.i
unions.i
using1.i
using2.i
using_composition.i
using_directive_and_declaration.i
using_directive_and_declaration_forward.i
using_extend.i
using_inherit.i
using_namespace.i
using_namespace_loop.i
using_pointers.i
using_private.i
using_protected.i test-suite warning fixes 2016-02-21 21:36:58 +00:00
valuewrapper.i
valuewrapper_base.i
valuewrapper_const.i
valuewrapper_opaque.i
varargs.i
varargs_overload.i
virtual_derivation.i
virtual_destructor.i
virtual_poly.i
virtual_vs_nonvirtual_base.i test-suite warning fixes 2016-02-21 21:36:58 +00:00
voidtest.i
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 use it in
the SWIG documentation - Doc/Manual/Extending.html#Extending_test_suite.