swig/Examples/test-suite
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2011-08-13 00:36:12 +00:00
..
allegrocl
cffi
chicken
clisp
csharp Add in missing wrappers for friend functions for some target languages 2011-04-01 23:06:40 +00:00
d [D] Ported r12557 (char enum values). 2011-04-10 16:10:42 +00:00
errors Fix partial overloading warning messages appearing 2011-03-11 22:36:59 +00:00
go More varargs overload testing for Go. 2011-02-20 04:47:17 +00:00
guile
guilescm Fix typo in code (found by cppcheck) 2010-12-16 12:54:01 +00:00
java %shared_ptr fixes when the type is a template using template parameters that are typedef'd to another type. Also fixed %shared_ptr when the template parameter has a default value. 2011-08-13 00:36:12 +00:00
lua Fix typecheck typemaps for SWIGTYPE *const& 2011-01-30 00:42:27 +00:00
mzscheme
ocaml
octave Workaround for Octave crashing at extit in the mods and multi_import testcases 2011-05-18 00:29:36 +00:00
perl5 Patch #3260265 fixing overloading of non-primitive types and integers in Perl 5.12 and later 2011-05-19 19:31:39 +00:00
php Add testcase virtual_vs_nonvirtual_base as a regression test for SF#3124665. 2011-05-25 05:19:48 +00:00
pike
python %shared_ptr fixes when the type is a template using template parameters that are typedef'd to another type. Also fixed %shared_ptr when the template parameter has a default value. 2011-08-13 00:36:12 +00:00
r R - SF #3168676 Fix %rename not working for member variables and methods. Add new simple rename testcase with runtime tests for C# and R 2011-02-04 23:42:06 +00:00
ruby Rename python_kwargs testcase to kwargs_feature. Add kwargs_feature to Ruby and fix Ruby warnings when using kwargs feature. Add %kwargs macro for Ruby 2011-06-13 17:38:08 +00:00
schemerunme
tcl Apply #3300072 from Christian Delbaere to fix multiple module loading not always sharing variables across modules. 2011-05-17 18:12:53 +00:00
testdir
uffi
abstract_access.i
abstract_inherit.i
abstract_inherit_ok.i
abstract_signature.i
abstract_typedef.i
abstract_typedef2.i
abstract_virtual.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
access_change.i
add_link.i
aggregate.i
allowexcept.i
allprotected.i
anonymous_bitfield.i
apply_signed_char.i
apply_strings.i
argcargvtest.i
argout.i
array_member.i
array_typedef_memberin.i vc++ compile failure workaround in testcase 2011-04-30 20:59:13 +00:00
arrayref.i
arrays.i
arrays_dimensionless.i
arrays_global.i
arrays_global_twodim.i
arrays_scope.i
autodoc.i Numerous autodoc fixes for Python 2011-06-10 19:33:40 +00:00
bloody_hell.i
bools.i
callback.i
cast_operator.i
casts.i
catches.i Fix exception handling when %catches is used in C# 2009-08-15 23:22:20 +00:00
char_binary.i Added some missing multi-argument typemaps: (char *STRING, size_t LENGTH) and (char *STRING, int LENGTH) - Java patch is from Volker Grabsch. Elements of the primitive_types.i testcase for this moved into char_binary.i. Documentation for this enhanced. 2011-01-14 19:06:43 +00:00
char_constant.i
char_strings.i More string tests: char const*const 2010-05-01 10:01:26 +00:00
chicken_ext_test.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 %shared_ptr fixes when the type is a template using template parameters that are typedef'd to another type. Also fixed %shared_ptr when the template parameter has a default value. 2011-08-13 00:36:12 +00:00
compactdefaultargs.i
complextest.i
const_const.i
const_const_2.i
constant_expr.i fix 0 sized array compile error in test 2010-04-08 20:22:03 +00:00
constant_pointers.i Fix warning running under Go 2010-10-03 15:01:24 +00:00
constants.i
constover.i
constructor_copy.i
constructor_exception.i
constructor_explicit.i
constructor_ignore.i
constructor_rename.i fix regression of Python constructor renaming introduced by py3k work 2010-04-25 14:07:14 +00:00
constructor_value.i
contract.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
conversion.i
conversion_namespace.i
conversion_ns_template.i
cplusplus_throw.i
cpp_basic.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
cpp_broken.i Remove bugs which have been fixed over time from cpp_broken.i 2009-11-15 00:05:25 +00:00
cpp_enum.i Fix wrapping of C++ enum boolean values 2010-05-14 18:46:20 +00:00
cpp_namespace.i
cpp_nodefault.i
cpp_static.i
cpp_typedef.i
csharp_attributes.i add missing return to testcase 2010-10-03 16:47:30 +00:00
csharp_exceptions.i
csharp_features.i
csharp_lib_arrays.i
csharp_prepost.i Fix special variable not being expanded for csvarin typemaps when used for global variables 2010-12-23 20:27:34 +00:00
csharp_typemaps.i Add C# example showing how to modify the underlying enum type 2010-06-10 06:06:12 +00:00
d_exception_name.i [D] Refer to the built-in Exception class using its fully-qualified name. 2010-11-27 00:13:44 +00:00
d_nativepointers.i [D] Test C++ references in »d_nativepointers«; normalized indentation. 2011-01-29 21:32:11 +00:00
default_arg_values.i gcc-4.5 warning fix 2011-03-12 21:37:35 +00:00
default_args.i
default_constructor.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
defvalue_constructor.i
derived_byvalue.i
derived_nested.i Fix #1960977 - Syntax error parsing derived nested class declaration and member variable instance 2009-11-15 00:36:22 +00:00
destructor_reprotected.i
director_abstract.i
director_alternating.i [D] Fixed a bug in the loop breaking code for directors leading to a superclass implementation erroneously being called. 2011-01-08 21:05:49 +00:00
director_basic.i
director_classes.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
director_classic.i
director_constructor.i
director_default.i
director_detect.i
director_enum.i Fix R keyword warning 2010-05-25 18:35:21 +00:00
director_exception.i
director_extend.i Remove Go director hack just to please the SWIG test-suite 2010-06-11 19:05:30 +00:00
director_finalizer.i Remove the -rename option in the Go language support. Do a much 2010-06-17 18:59:26 +00:00
director_frob.i
director_ignore.i
director_keywords.i [C#, D, Java] Check for collision of parameter names with target language keywords when generating the director glue code. 2010-12-30 15:40:17 +00:00
director_namespace_clash.i
director_nested.i
director_overload.i
director_primitives.i
director_profile.i
director_protected.i Any 'using' statements in the protected section of a class were previously ignored with dirprot mode, certainly with Java and C#. Also directors - a call to a method being defined in the base class, not overridden in a subcalss, but again overridden in a class derived from the first subclass was not being dispatched correcly to the most derived class - affecting non-scripting languages. Fix for C# is based on recent fix for D. 2011-02-01 07:02:50 +00:00
director_protected_overloaded.i
director_redefined.i
director_stl.i
director_string.i
director_thread.i
director_unroll.i
director_using.i Any 'using' statements in the protected section of a class were previously ignored with dirprot mode, certainly with Java and C#. Also directors - a call to a method being defined in the base class, not overridden in a subcalss, but again overridden in a class derived from the first subclass was not being dispatched correcly to the most derived class - affecting non-scripting languages. Fix for C# is based on recent fix for D. 2011-02-01 07:02:50 +00:00
director_wombat.i
director_wstring.i
disown.i
dynamic_cast.i [D] Replaced the term "wrap D module" with "intermediary D module" (including names derived from it). 2010-11-28 23:12:03 +00:00
empty.i
enum_plus.i
enum_rename.i Remove old experimental rxspencer encoder and rxsmatch function. 2010-07-22 17:02:35 +00:00
enum_scope_template.i
enum_template.i
enum_thorough.i SF bug #3195112 - fix wrapping of enums that are type char 2011-03-26 15:28:31 +00:00
enum_thorough_proper.i
enum_thorough_simple.i
enum_thorough_typesafe.i
enum_thorough_typeunsafe.i
enum_var.i
enums.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
evil_diamond.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
evil_diamond_ns.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
evil_diamond_prop.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
exception_order.i Fix to work with Go when using the gccgo compiler. 2011-01-11 18:47:40 +00:00
exception_partial_info.i
expressions.i Apply patch #2955146 from Sergey Satskiy to fix expressions containing divide by operator in constructor initialization lists. 2010-05-07 19:10:41 +00:00
extend.i
extend_default.i
extend_placement.i
extend_template.i minor comment added 2010-03-04 18:27:23 +00:00
extend_template_ns.i
extend_variable.i
extern_c.i Fix #2310483 - function pointer typedef within extern C block. 2009-11-14 15:55:23 +00:00
extern_declaration.i
extern_namespace.i
extern_throws.i
features.i
file_test.i
fragments.i
friends.i
funcptr.i
funcptr_cpp.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
function_typedef.i
fvirtual.i
global_namespace.i Fix unary scope operator (::) (global scope) regression introduced in 2.0.0. The mangled symbol names were incorrect, sometimes resulting in types being incorrectly treated as opaque types. 2010-10-13 05:48:59 +00:00
global_ns_arg.i Rename symbol in test case as the name is clashing in some way with new versions of Octave (3.2.4) 2011-02-19 16:20:38 +00:00
global_scope_types.i some warning fixes on solaris 2010-05-27 20:12:58 +00:00
global_vars.i
grouping.i
guilescm_ext_test.i
iadd.i
ignore_parameter.i
ignore_template_constructor.i
immutable_values.i Renamed 'immutable' test-case to 'immutable_values'. 2010-11-18 00:15:13 +00:00
implicittest.i
import_nomodule.h
import_nomodule.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
import_stl.list new %import test for vector 2011-04-11 21:28:06 +00:00
import_stl_a.i new %import test for vector 2011-04-11 21:28:06 +00:00
import_stl_b.i new %import test for vector 2011-04-11 21:28:06 +00:00
imports.list
imports_a.h
imports_a.i
imports_b.h
imports_b.i
inctest.h
inctest.i
inherit.i
inherit_missing.i
inherit_same_name.i
inherit_target_language.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
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 Fix for %%javaexception and directors so that all the appropriate throws clauses are generated 2009-12-23 01:05:17 +00:00
java_enums.i Fix wrapping of C++ enum boolean values when using %javaconst(1) 2010-05-14 19:03:01 +00:00
java_jnitypes.i fix overloading of jboolean with other JNI types at the c++ level for some platforms (64bit Linux) 2009-09-02 20:49:55 +00:00
java_lib_arrays.i Marshalling char[] and char[ANY] to Java byte[] is now a bit easier 2011-06-17 06:41:53 +00:00
java_lib_arrays_dimensionless.i
java_lib_various.i
java_pgcpp.i Change typemap matching rules for the default type (SWIGTYPE) to follow template partial specialization type deduction. Fixes some containers of const pointers. SWIGTYPE*& typemps removed and replaced with SWIGTYPE *const&. 2010-04-01 18:26:37 +00:00
java_pragmas.i
java_prepost.i
java_throws.i Fix classes not being added into Java method's throws clause when %catches is used 2009-08-16 00:04:29 +00:00
java_typemaps_proxy.i
java_typemaps_typewrapper.i Fix segfault attempting illegal javaclassname and csclassname special variable substitution 2010-05-26 19:01:12 +00:00
keyword_rename.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
kind.i
kwargs_feature.i Rename python_kwargs testcase to kwargs_feature. Add kwargs_feature to Ruby and fix Ruby warnings when using kwargs feature. Add %kwargs macro for Ruby 2011-06-13 17:38:08 +00:00
langobj.i
lextype.i fix lextype testcase when compiled as c++ as is the case with octave 2009-08-16 19:40:29 +00:00
li_attribute.i
li_boost_intrusive_ptr.i shared_ptr improvements so the proxy class does not need to be specified - SWIG_SHARED_PTR macro deprecated and replaced by %shared_ptr 2010-05-22 23:57:19 +00:00
li_boost_shared_ptr.i li_boost_shared_ptr.i testcase - fix for missing %shared_ptr highlighted by new smart pointer warning 520 2011-02-01 19:14:14 +00:00
li_boost_shared_ptr_bits.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
li_boost_shared_ptr_template.i %shared_ptr fixes when the type is a template using template parameters that are typedef'd to another type. Also fixed %shared_ptr when the template parameter has a default value. 2011-08-13 00:36:12 +00:00
li_carrays.i
li_cdata.i Fix memmove regression 2009-09-11 18:53:14 +00:00
li_cdata_carrays.i
li_cmalloc.i
li_constraints.i
li_cpointer.i
li_cstring.i
li_cwstring.i
li_factory.i
li_implicit.i
li_math.i Just disable SWIGWARN_PARSE_KEYWORD for li_math.i under PHP. 2009-08-13 14:58:27 +00:00
li_reference.i fix warnings 2009-08-18 13:41:22 +00:00
li_std_carray.i
li_std_combinations.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
li_std_deque.i
li_std_except.i
li_std_functors.i
li_std_list.i
li_std_map.i Fix std::map warning keyword hack in Go 2010-06-11 22:36:58 +00:00
li_std_map_member.i Bug 1498929: Access to member fields of map elements. 2011-04-25 21:12:33 +00:00
li_std_multimap.i
li_std_pair.i
li_std_pair_extra.i
li_std_pair_lang_object.i
li_std_queue.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
li_std_set.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
li_std_stack.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
li_std_stream.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
li_std_string.i
li_std_string_extra.i
li_std_vector.i Fix some scope and symbol lookup problems when template default parameters are being used with typedef - add the fully expanded template into the c symbol table and scope table. 2011-07-01 22:59:55 +00:00
li_std_vector_extra.i Fix std::vector of const pointers 2009-10-20 18:22:16 +00:00
li_std_vector_ptr.i Fix std::vector of const pointers 2009-10-20 18:22:16 +00:00
li_std_vectora.i
li_std_wstream.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
li_std_wstring.i
li_stdint.i
li_typemaps.i
li_typemaps_apply.i Fix C# typemaps.i so that %apply works doesn't break function returns using the same types, for example, %apply int &INPUT { int & } won't break 'int &foo(int &x);' 2011-01-24 19:27:06 +00:00
li_windows.i
list_vector.i
long_long.i
long_long_apply.i
member_funcptr_galore.i Solaris warnings/errors testcase fixes 2011-02-20 19:29:50 +00:00
member_pointer.i Solaris warnings/errors testcase fixes 2011-02-20 19:29:50 +00:00
member_template.i
memberin1.i
memberin_extend.i Change %extend example which said that char arrays were problematic to wrap, when in fact they are not 2009-12-02 22:16:48 +00:00
memberin_extend_c.i Change %extend example which said that char arrays were problematic to wrap, when in fact they are not 2009-12-02 22:16:48 +00:00
minherit.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
minherit2.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
mixed_types.i Remove the -rename option in the Go language support. Do a much 2010-06-17 18:59:26 +00:00
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 Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
multivalue.i
name.i
name_cxx.i
name_warnings.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
namespace_class.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
namespace_enum.i
namespace_extend.i
namespace_nested.i
namespace_spaces.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
namespace_template.i
namespace_typedef_class.i
namespace_typemap.i Rename "go" typemap to "gotype". 2010-06-15 19:40:34 +00:00
namespace_union.i Improved C++ nested class support - nested typedef'd classes now parsed and treated as forward class declaration 2009-11-23 23:02:01 +00:00
namespace_virtual_method.i
naturalvar.i
nested.i Nested class improvements - Fixed inconsistency in handling C++ nested classes - sometimes they were treated as forward declarations, other times as if C nested struct was parsed. Added the nestedworkaround feature for C++ nested class handling. Document improved nested class handling. Numerous C and C++ nested struct/class/union test cases added. 2009-11-11 00:30:34 +00:00
nested_class.i Solaris warnings/errors testcase fixes 2011-02-20 19:29:50 +00:00
nested_comment.i Improved C++ nested class support - nested typedef'd classes now parsed and treated as forward class declaration 2009-11-23 23:02:01 +00:00
nested_structs.i Fix multiple declarations of nested structs (C code) 2009-11-18 20:24:06 +00:00
nested_workaround.i Nested class improvements - Fixed inconsistency in handling C++ nested classes - sometimes they were treated as forward declarations, other times as if C nested struct was parsed. Added the nestedworkaround feature for C++ nested class handling. Document improved nested class handling. Numerous C and C++ nested struct/class/union test cases added. 2009-11-11 00:30:34 +00:00
newobject1.i
newobject2.i
nspace.i [D] nspace support. 2011-03-13 00:32:26 +00:00
nspace_extend.i [D] nspace support. 2011-03-13 00:32:26 +00:00
null_pointer.i Apply patch 3224663 for Tcl - NULL value fixes and performance improvements for classes with many methods. 2011-03-29 18:57:42 +00:00
octave_cell_deref.i
operator_overload.i [D] Operator overloading support for D1 and D2. 2010-12-30 02:44:04 +00:00
operator_overload_break.i [D] Operator overloading support for D1 and D2. 2010-12-30 02:44:04 +00:00
operator_pointer_ref.i Test case for bug 3285386 2011-04-12 16:35:09 +00:00
operbool.i Minor rename in the 'operbool' test-case to avoid special casing for D. 2010-11-18 00:16:23 +00:00
ordering.i
overload_complicated.i
overload_copy.i
overload_extend.i Fix Lua warning suppression for overload_extend testcase 2011-02-19 12:39:44 +00:00
overload_extendc.i
overload_rename.i
overload_return_type.i [PHP] Fix handling of overloaded methods/functions where some 2011-03-14 12:33:56 +00:00
overload_simple.i Patch #3260265 fixing overloading of non-primitive types and integers in Perl 5.12 and later 2011-05-19 19:31:39 +00:00
overload_subtype.i
overload_template.i Rename max() to maximum() as max() is a built-in function in PHP. 2009-08-14 01:33:23 +00:00
overload_template_fast.i
packageoption.h
packageoption.list
packageoption_a.i
packageoption_b.i
packageoption_c.i
php_namewarn_rename.i [PHP] Fix warning and rename of reserved class name to be case insensitive. 2009-12-02 13:02:38 +00:00
pointer_in_out.i
pointer_reference.i Fix typecheck typemaps for SWIGTYPE *const& 2011-01-30 00:42:27 +00:00
prefix.i
preproc.i Warning suppression 2011-02-17 22:43:28 +00:00
preproc_constants.i Fix constant expressions containing <= or >= 2009-09-11 18:47:05 +00:00
preproc_constants_c.i true and false supported in constant expressions (C++ only). && || == != < > <= >= operators now return type bool (C++ only) and type int for C as per C/C++ standards. 2009-09-02 22:33:04 +00:00
preproc_defined.i Fix C code in test case 2011-02-20 00:37:54 +00:00
preproc_include.i Fix regression introduced in swig-2.0.2 where filenames with spaces were not found when used with %include and %import 2011-03-17 07:33:05 +00:00
preproc_include_a.h Fix Fix #1927852 - #include directives don't preprocess the file passed to it 2011-02-13 13:53:14 +00:00
preproc_include_b.h Fix Fix #1927852 - #include directives don't preprocess the file passed to it 2011-02-13 13:53:14 +00:00
preproc_include_c.h Fix Fix #1927852 - #include directives don't preprocess the file passed to it 2011-02-13 13:53:14 +00:00
preproc_include_d withspace.h Fix regression introduced in swig-2.0.2 where filenames with spaces were not found when used with %include and %import 2011-03-17 07:33:05 +00:00
preproc_include_e withspace.h Fix regression introduced in swig-2.0.2 where filenames with spaces were not found when used with %include and %import 2011-03-17 07:33:05 +00:00
preproc_include_f withspace.h Fix regression introduced in swig-2.0.2 where filenames with spaces were not found when used with %include and %import 2011-03-17 07:33:05 +00:00
preproc_include_g.h Fix regression introduced in swig-2.0.2 where filenames with spaces were not found when used with %include and %import 2011-03-17 07:33:05 +00:00
preproc_line_file.i [D] Renamed the "dnativeconst" feature to "dmanifestconst". 2010-11-18 10:16:05 +00:00
primitive_ref.i
primitive_types.i Added some missing multi-argument typemaps: (char *STRING, size_t LENGTH) and (char *STRING, int LENGTH) - Java patch is from Volker Grabsch. Elements of the primitive_types.i testcase for this moved into char_binary.i. Documentation for this enhanced. 2011-01-14 19:06:43 +00:00
private_assign.i
profiletest.i
protected_rename.i
pure_virtual.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
python_abstractbase.i
python_append.i
python_director.i Fix Python directorin typemap for PyObject * 2011-07-16 14:43:04 +00:00
python_nondynamic.i
python_overload_simple_cast.i
python_pybuf.i
python_richcompare.i Added test case for python richcompare operators. 2011-03-31 03:55:42 +00:00
python_varargs_typemap.i Python 3.2 portability fixes 2011-05-13 06:01:07 +00:00
r_copy_struct.i
r_double_delete.i
r_legacy.i
README
redefined.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 Remove old experimental rxspencer encoder and rxsmatch function. 2010-07-22 17:02:35 +00:00
rename_pcre_encoder.i Ignore non-matching regex renames when searching renames list. 2010-11-16 14:09:39 +00:00
rename_pcre_enum.i Add support for "[not]regexmatch" and "regextarget" to %rename. 2010-07-22 17:02:10 +00:00
rename_scope.i
rename_simple.i R - SF #3168676 Fix %rename not working for member variables and methods. Add new simple rename testcase with runtime tests for C# and R 2011-02-04 23:42:06 +00:00
rename_strip_encoder.i
restrict_cplusplus.i Hack for testcase to compile under PHP 5.3 / gcc-4.4 2011-02-05 23:04:05 +00:00
ret_by_value.i
return_const_value.i Add missing return value in testcase 2010-10-03 20:47:45 +00:00
return_value_scope.i
rname.i Fix rname testcase when run under OpenJDK icedtea on Linux because libjvm.so also contains a class called Base. Also remove need for Go specific handling in this testcase. 2011-01-05 21:15:10 +00:00
ruby_keywords.i
ruby_li_std_speed.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
ruby_naming.i
ruby_track_objects.i
ruby_track_objects_directors.i
samename.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
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 Apply patch #3066958 from Mikael Johansson to fix default smart pointer handling when the smart pointer contains both a const and non-const operator->. 2010-10-03 13:12:00 +00:00
smart_pointer_extend.i
smart_pointer_inherit.i
smart_pointer_member.i Remove the -rename option in the Go language support. Do a much 2010-06-17 18:59:26 +00:00
smart_pointer_multi.i
smart_pointer_multi_typedef.i
smart_pointer_namespace.i
smart_pointer_namespace2.i
smart_pointer_not.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
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 test case fix 2011-03-29 22:21:08 +00:00
smart_pointer_templatemethods.i Minor rename in the 'smart_pointer_templatemethods' test-case to avoid special casing for D. 2010-11-18 00:16:02 +00:00
smart_pointer_templatevariables.i
smart_pointer_typedef.i
sneaky1.i
special_variable_macros.i Fixed PyGetSetDescr for python3.2. 2011-05-08 06:54:21 +00:00
special_variables.i Add in $symname expansion for director methods 2011-08-04 19:45:19 +00:00
static_array_member.i
static_const_member.i [D] Renamed the "dnativeconst" feature to "dmanifestconst". 2010-11-18 10:16:05 +00:00
static_const_member_2.i
std_containers.i
stl_new.i
struct_initialization.i Fix parsing of struct declaration and initialization 2009-11-17 18:45:53 +00:00
struct_initialization_cpp.i Fix parsing of struct declaration and initialization 2009-11-17 18:45:53 +00:00
struct_rename.i
struct_value.i
swig_examples_lock.h
swigobject.i
sym.i
symbol_clash.i Improve target language symbol tables for Java and C#, using different scopes for the constants interface, module class and intermediary class rather than incorrectly putting all the symbols into one scope 2010-02-13 00:42:09 +00:00
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 Renamed 'template' test-case to 'template_basic'. 2010-11-18 00:15:41 +00:00
template_classes.i Stop generating uncompileable code when using nested template classes in functions. Replace SWIGWARN_PARSE_NESTED_CLASS with SWIGWARN_PARSE_NAMED_NESTED_CLASS and SWIGWARN_PARSE_UNNAMED_NESTED_CLASS for named and unnamed nested classes respectively. Named nested class ignored warnings can now be suppressed by name using %warnfilter 2009-11-12 19:47:04 +00:00
template_const_ref.i
template_construct.i
template_default.i
template_default2.i
template_default_arg.i
template_default_class_parms.i
template_default_class_parms_typedef.i Fix some scope and symbol lookup problems when template default parameters are being used with typedef - add the fully expanded template into the c symbol table and scope table. 2011-07-01 22:59:55 +00:00
template_default_inherit.i
template_default_pointer.i
template_default_qualify.i
template_default_vw.i
template_enum.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
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 Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
template_int_const.i
template_matrix.i
template_methods.i Python builtin - warning suppression/fixes for 'gcc -Wall' and cosmetic changes in generated code. 2011-04-05 20:39:44 +00:00
template_nested.i Fix usage of nested template classes within templated classes so that compileable code is generated. 2009-11-13 08:04:01 +00:00
template_nested_typemaps.i minor improvement to testcase 2009-10-24 21:58:06 +00:00
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 Fix some usage of global scope operator :: 2009-11-03 19:14:37 +00:00
template_partial_specialization_typedef.i Fix partial specialization and explicit specialization lookup 2009-10-20 17:50:36 +00:00
template_qualifier.i
template_ref_type.i
template_rename.i
template_retvalue.i
template_specialization.i
template_specialization_defarg.i
template_specialization_enum.i Remove the -rename option in the Go language support. Do a much 2010-06-17 18:59:26 +00:00
template_static.i
template_tbase_template.i
template_template_parameters.i
template_type_namespace.i
template_typedef.i
template_typedef_class_template.i Fix scoping of forward class declarations nested within a class (for C++). Also fix %template and resolution of template parameters that are typedefs. 2011-07-26 19:34:23 +00:00
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 Add testcase for bug #3378145 which was fixed in r12764 2011-07-28 06:29:20 +00:00
template_typedef_ns.i
template_typedef_ptr.i
template_typedef_rec.i
template_typemaps.i Module name fix 2011-07-26 19:30:17 +00:00
template_typemaps_typedef.i Fix scoping of forward class declarations nested within a class (for C++). Also fix %template and resolution of template parameters that are typedefs. 2011-07-26 19:34:23 +00:00
template_typemaps_typedef2.i Fix scoping of forward class declarations nested within a class (for C++). Also fix %template and resolution of template parameters that are typedefs. 2011-07-26 19:34:23 +00:00
template_using.i
template_virtual.i
template_whitespace.i
threads.i
threads_exception.i Remove svn:executable property 2011-01-17 21:20:29 +00:00
throw_exception.i
traits.i
typedef_array_member.i
typedef_class.i
typedef_funcptr.i
typedef_inherit.i
typedef_mptr.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
typedef_reference.i
typedef_scope.i
typedef_sizet.i
typedef_struct.i
typemap_arrays.i Fix expansion in array typemaps 2010-12-14 21:38:36 +00:00
typemap_delete.i Fix typemap delete regression introduced in rev 11838 2010-05-03 22:58:27 +00:00
typemap_global_scope.i some warning fixes on solaris 2010-05-27 20:12:58 +00:00
typemap_namespace.i [D] Replaced the term "wrap D module" with "intermediary D module" (including names derived from it). 2010-11-28 23:12:03 +00:00
typemap_ns_using.i
typemap_numinputs.i
typemap_out_optimal.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
typemap_qualifier_strip.i Typemap matching rules enhancement for non-default typemaps. Previously all qualifiers were stripped in one step, now they are stripped one at a time starting with the left most qualifier. 2010-05-02 21:35:02 +00:00
typemap_self.i
typemap_subst.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
typemap_template.i Fix incorrect typemaps being used for a symbol within a templated type 2011-06-20 17:46:38 +00:00
typemap_variables.i
typemap_various.i
typename.i
types_directive.i
union_parameter.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
union_scope.i Minor fix for warning suppression 2009-12-14 20:44:51 +00:00
unions.i
using1.i
using2.i
using_composition.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
using_extend.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
using_inherit.i
using_namespace.i Added special cases to the test-suite as required for D. 2010-11-18 00:17:37 +00:00
using_namespace_loop.i Fixed the argument counts passed to SWIG_Python_UnpackTuple for varargs. 2011-04-29 18:25:16 +00:00
using_pointers.i
using_private.i
using_protected.i expand protected using testcase 2011-01-28 19:50:57 +00:00
valuewrapper.i
valuewrapper_base.i
valuewrapper_const.i Fix some usage of global scope operator :: 2009-11-03 19:14:37 +00:00
valuewrapper_opaque.i
varargs.i Fix %varargs when used with a numerical argument, which was emitting one more optional argument than documented 2011-05-06 20:56:42 +00:00
varargs_overload.i Merged from trunk. 2011-03-28 22:16:44 +00:00
virtual_derivation.i
virtual_destructor.i
virtual_poly.i Sun studio warning suppression in tests 2011-02-20 13:02:21 +00:00
virtual_vs_nonvirtual_base.i Add testcase virtual_vs_nonvirtual_base as a regression test for SF#3124665. 2011-05-25 05:19:48 +00:00
voidtest.i
wallkw.i Fix wallkw runtime test since D was added 2010-12-08 19:56:14 +00:00
wrapmacro.i Lua warning fix since previous commit changed max to maximum 2010-10-03 15:08:03 +00:00

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.