swig/Examples/test-suite
William S Fulton 6330055dbe remove non-standard C
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-02 09:04:55 +00:00
..
allegrocl fixes for make clean and remove the private list of test files to use the common.mk one (untested) 2006-09-20 20:22:10 +00:00
cffi fixes for make clean 2006-09-20 20:21:24 +00:00
chicken - Fix SF bug 1573892 2006-10-14 08:19:27 +00:00
clisp fixes for make clean 2006-09-20 20:21:24 +00:00
csharp *** empty log message *** 2006-10-24 20:45:37 +00:00
errors fix SWIG command 2004-12-04 08:18:17 +00:00
guile New test case integers. 2006-02-14 18:25:16 +00:00
guilescm - Fix SF bug 1573892 2006-10-14 08:19:27 +00:00
java *** empty log message *** 2006-10-31 22:31:42 +00:00
lua added support for native methods & member function pointers. 2006-10-24 06:26:48 +00:00
mzscheme New test case integers. 2006-02-14 18:25:16 +00:00
ocaml fix for perl keyword 2006-03-07 23:05:11 +00:00
perl5 Daniel Moore patch - more operator overloading support 2006-06-12 21:07:38 +00:00
php4 fix typo in comment 2006-06-22 17:51:04 +00:00
pike Testcases that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now 2004-07-10 16:36:19 +00:00
python *** empty log message *** 2006-10-24 20:52:00 +00:00
r *** empty log message *** 2006-07-04 21:20:40 +00:00
ruby Use the ruby interpreter which configure found rather than just assuming it's 2006-09-23 22:39:39 +00:00
schemerunme [MzScheme] Typemaps for all integral types now accept the full range 2006-02-19 19:28:42 +00:00
tcl Use "[info sharedlibextension]" instead of trying ".so" then ".dll". All 2006-09-23 22:43:48 +00:00
testdir Fixes for Sun Workshop compiler 2004-06-15 20:06:19 +00:00
uffi fixes for make clean 2006-09-20 20:21:24 +00:00
.cvsignore *** empty log message *** 2003-09-02 16:04:04 +00:00
abstract_access.i add support for named warning codes 2006-01-06 11:42:24 +00:00
abstract_inherit.i add support for named warning codes 2006-01-06 11:42:24 +00:00
abstract_inherit_ok.i add support for named warning codes 2006-01-06 11:42:24 +00:00
abstract_signature.i virtual method hiding fix 2006-02-17 23:41:57 +00:00
abstract_typedef.i add virtual destructors where needed 2004-04-11 12:10:44 +00:00
abstract_typedef2.i Various warning fixes for Visual Studio 2003 C++ compiler 2004-09-01 22:24:24 +00:00
abstract_virtual.i Silence visual studio 2006-01-10 23:24:57 +00:00
access_change.i More tests when a method's access changes through inheritance hierarchy 2005-06-09 18:42:59 +00:00
add_link.i The great merge 2002-11-30 22:01:28 +00:00
aggregate.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
allowexcept.i fix unused 'fail:' label warnings 2006-02-05 04:08:56 +00:00
anonymous_bitfield.i fix bitfield with expr 2004-10-02 02:11:40 +00:00
apply_signed_char.i %apply signed char test added 2006-08-10 21:22:12 +00:00
apply_strings.i remove non-standard C 2006-11-02 09:04:55 +00:00
argout.i fix docs, path provided by Olly 2006-04-11 01:40:20 +00:00
array_member.i fix bug #1158178 2006-02-24 08:34:03 +00:00
array_typedef_memberin.i remove more warnings, ICC 2004-09-17 21:46:44 +00:00
arrayref.i New test case - passing arrays by reference (needs fixing) 2003-01-31 22:01:53 +00:00
arrays.i add <stdlib.h> for malloc and lua 2006-01-31 06:16:41 +00:00
arrays_dimensionless.i add support for named warning codes 2006-01-06 11:42:24 +00:00
arrays_global.i more test cases, less cast operations 2006-01-07 00:28:51 +00:00
arrays_global_twodim.i more test cases, less cast operations 2006-01-07 00:57:44 +00:00
arrays_scope.i fixed some OS-X name clashes 2003-05-07 22:38:00 +00:00
bloody_hell.i add support for named warning codes 2006-01-06 11:42:24 +00:00
bools.i add support for named warning codes 2006-01-06 11:42:24 +00:00
cast_operator.i test fix 2004-08-12 21:06:45 +00:00
casts.i The great merge 2002-11-30 22:01:28 +00:00
char_constant.i fix bug #1435090 2006-02-21 18:04:59 +00:00
char_strings.i fix char *& typemap, reported by Geoff Hutchison 2006-02-23 21:26:36 +00:00
class_ignore.i adding more broken cases 2005-10-27 09:14:20 +00:00
class_scope_weird.i Fix test for gcc-4.1 2006-06-05 21:04:35 +00:00
clientdata_prop.list Fix a few bugs in the tcl module related to clientdata propagation. 2004-10-07 02:31:14 +00:00
clientdata_prop_a.h Fix a few bugs in the tcl module related to clientdata propagation. 2004-10-07 02:31:14 +00:00
clientdata_prop_a.i Fix a few bugs in the tcl module related to clientdata propagation. 2004-10-07 02:31:14 +00:00
clientdata_prop_b.h Fix a few bugs in the tcl module related to clientdata propagation. 2004-10-07 02:31:14 +00:00
clientdata_prop_b.i Fix a few bugs in the tcl module related to clientdata propagation. 2004-10-07 02:31:14 +00:00
common.mk new test to test smart pointers with virtual methods and hidden methods 2006-10-24 20:50:38 +00:00
compactdefaultargs.i warning/error fixes for Visual Studio 2005-10-09 13:49:44 +00:00
const_const.i The great merge 2002-11-30 22:01:28 +00:00
const_const_2.i The great merge 2002-11-30 22:01:28 +00:00
constant_pointers.i add more cases 2006-01-19 04:48:25 +00:00
constants.i adding more broken cases 2005-10-27 09:14:20 +00:00
constover.i The great merge 2002-11-30 22:01:28 +00:00
constructor_copy.i Fix %ignore + %copyctor as reported in #1486281 2006-10-04 03:29:33 +00:00
constructor_exception.i Various warning fixes for Visual Studio 2003 C++ compiler 2004-09-01 22:24:24 +00:00
constructor_explicit.i explicit is a C# keyword so the explicit.i testcase fails. 2003-06-12 13:14:10 +00:00
constructor_value.i The great merge 2002-11-30 22:01:28 +00:00
contract.i add support for named warning codes 2006-01-06 11:42:24 +00:00
conversion.i The great merge 2002-11-30 22:01:28 +00:00
conversion_namespace.i The great merge 2002-11-30 22:01:28 +00:00
conversion_ns_template.i fix repeated symbol 2006-02-05 04:09:36 +00:00
cplusplus_throw.i muffle exception specification ignored warning (VC++). This is only for testcases that introduce exception specifications in the testcase case itself. 2006-01-12 23:43:16 +00:00
cpp_basic.i fix macro expansion issue reported by Andreas Held 2006-02-13 08:56:55 +00:00
cpp_broken.i fix example max macro/template and external max macro conflicts 2005-09-16 00:35:38 +00:00
cpp_enum.i fix for undefined reference on Cygwin 2005-05-12 20:46:20 +00:00
cpp_namespace.i remove more warnings, ICC 2004-09-17 21:46:44 +00:00
cpp_nodefault.i remove debug printout 2006-02-04 17:37:09 +00:00
cpp_static.i Improved test to test parameters in static functions 2003-09-18 19:16:18 +00:00
cpp_typedef.i The great merge 2002-11-30 22:01:28 +00:00
csharp_attributes.i C# attribute support added - %csattributes feature, %csattributes typemap 2005-05-12 20:19:47 +00:00
csharp_exceptions.i Add inner exception tests 2006-03-02 23:19:56 +00:00
csharp_features.i add in missing virtual destructor 2006-07-04 20:49:55 +00:00
csharp_typemaps.i test asymmetric type marshalling - out attribute for ctype, imtype and cstype typemaps. 2005-04-28 22:03:50 +00:00
default_args.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
default_constructor.i check/fix the %delobject feature for member methods 2006-01-29 01:21:52 +00:00
defvalue_constructor.i missing function body added 2004-10-17 19:22:58 +00:00
derived_byvalue.i move broken example to derived_byvalue.i since it could take long to fix 2004-10-07 22:02:50 +00:00
derived_nested.i third attempo to commit, same changes, ie director + nested but no extra shift/reduce 2004-10-26 06:53:04 +00:00
destructor_reprotected.i add destructor reprotected/desprotected case 2004-10-06 19:07:40 +00:00
director_abstract.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
director_basic.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
director_classes.i Suppress director out warning for pointers/references 2006-06-05 21:05:15 +00:00
director_classic.i More comprehensive test 2006-07-27 21:57:35 +00:00
director_constructor.i add test case using 'super' 2004-12-12 21:40:18 +00:00
director_default.i more directors and default arg tests 2006-09-13 20:36:44 +00:00
director_detect.i missing %feature(director) 2006-09-13 20:35:49 +00:00
director_enum.i add support for named warning codes 2006-01-06 11:42:24 +00:00
director_exception.i muffle exception specification ignored warning (VC++). This is only for testcases that introduce exception specifications in the testcase case itself. 2006-01-12 23:43:16 +00:00
director_extend.i various %extend with director tests 2006-09-25 21:59:37 +00:00
director_finalizer.i four new director tests 2003-03-07 10:30:11 +00:00
director_frob.i unsigned long long test added 2006-10-11 22:36:15 +00:00
director_ignore.i add in missing return values 2006-10-24 20:16:29 +00:00
director_namespace_clash.i test directors with 2 same name classes in different namespace 2006-07-07 10:08:45 +00:00
director_nested.i Add in missing director directives 2006-06-02 20:53:37 +00:00
director_overload.i Ruby director overload and director:except testcase 2006-10-03 22:29:37 +00:00
director_primitives.i add in missing virtual destructor 2006-07-04 20:49:55 +00:00
director_protected.i remove name clash with runtime tests 2006-08-16 20:59:11 +00:00
director_redefined.i fix warnings for ruby, add another case 2004-10-30 11:51:19 +00:00
director_string.i Add testcase which fails with C# directors. 2006-10-12 00:00:13 +00:00
director_thread.i Fix win32 threads 2006-08-16 20:51:50 +00:00
director_unroll.i Removed unused typemap file includes 2003-09-16 20:53:11 +00:00
director_using.i Add in missing director directives 2006-06-02 20:53:37 +00:00
director_wombat.i add support for named warning codes 2006-01-06 11:42:24 +00:00
director_wstring.i Bug 1446319 - variable of same emitted more than once when more than wstring parameter in director methods 2006-03-10 21:47:13 +00:00
disown.i add support for named warning codes 2006-01-06 11:42:24 +00:00
dynamic_cast.i add virtual destructors where needed 2004-04-11 12:10:44 +00:00
empty.i test wrapping nothing! 2005-09-28 20:55:18 +00:00
enum_plus.i add support for named warning codes 2006-01-06 11:42:24 +00:00
enum_scope_template.i The great merge 2002-11-30 22:01:28 +00:00
enum_template.i fix extra ; 2006-01-19 04:49:10 +00:00
enum_thorough.i workaround global namespace pollution by older versions of perl 2006-02-10 16:43:49 +00:00
enum_thorough_proper.i Proper enum test added. Needs JDK1.5 beta 2 2004-06-15 19:51:18 +00:00
enum_thorough_simple.i New default C/C++ enum wrapping approach which uses the type safe enum pattern for Java and C# 2004-05-24 20:05:40 +00:00
enum_thorough_typesafe.i New default C/C++ enum wrapping approach which uses the type safe enum pattern for Java and C# 2004-05-24 20:05:40 +00:00
enum_thorough_typeunsafe.i New default C/C++ enum wrapping approach which uses the type safe enum pattern for Java and C# 2004-05-24 20:05:40 +00:00
enum_var.i The great merge 2002-11-30 22:01:28 +00:00
enums.i ruby warning suppression 2006-09-13 20:31:42 +00:00
evil_diamond.i add support for named warning codes 2006-01-06 11:42:24 +00:00
evil_diamond_ns.i add support for named warning codes 2006-01-06 11:42:24 +00:00
evil_diamond_prop.i add support for named warning codes 2006-01-06 11:42:24 +00:00
exception_order.i change variable name for Ruby 2006-01-29 01:14:57 +00:00
exception_partial_info.i vc++ warning suppression 2006-11-02 08:30:23 +00:00
extend_default.i add support for named warning codes 2006-01-06 11:42:24 +00:00
extend_placement.i default args added to test 2004-10-16 20:48:10 +00:00
extend_template.i The great merge 2002-11-30 22:01:28 +00:00
extend_template_ns.i The great merge 2002-11-30 22:01:28 +00:00
extend_variable.i add namespace case 2005-11-05 12:36:38 +00:00
extern_declaration.i massive typemap unification 2005-10-18 13:24:15 +00:00
extern_namespace.i fix extra ; 2006-01-19 04:49:10 +00:00
extern_throws.i muffle exception specification ignored warning (VC++). This is only for testcases that introduce exception specifications in the testcase case itself. 2006-01-12 23:43:16 +00:00
features.i add support for named warning codes 2006-01-06 11:42:24 +00:00
file_test.i remove test.dat file 2004-11-16 05:25:17 +00:00
fragments.i Simple patch to allow fragments to include other fragments: 2004-01-27 23:39:35 +00:00
friends.i Fix test for gcc-4.1 2006-06-05 21:04:35 +00:00
function_typedef.i new test 2003-03-17 17:56:53 +00:00
fvirtual.i testcase for -fvirtual 2006-09-28 21:53:23 +00:00
global_ns_arg.i add missing check for noargs 2006-02-03 09:08:27 +00:00
global_vars.i Remove R explicit workaround 2006-09-13 20:32:10 +00:00
grouping.i The great merge 2002-11-30 22:01:28 +00:00
ignore_parameter.i Fix for Sun Workshop compiler 2004-06-15 19:48:06 +00:00
ignore_template_constructor.i fix ruby std::vector to support element with nodefault constructors 2006-02-08 23:55:53 +00:00
immutable.i capitalization for Ruby 2005-10-15 01:13:17 +00:00
import_nomodule.h The great merge 2002-11-30 22:01:28 +00:00
import_nomodule.i add %delobject, which is the equivalent of %newobject but for functions that delete an element. This allows to properly disown the argument, as the %newobject directive allows to 'own' the object 2006-01-09 17:35:04 +00:00
imports.list The great merge 2002-11-30 22:01:28 +00:00
imports_a.h add back the newline at the end of the file since gcc complains too much 2006-03-27 21:17:04 +00:00
imports_a.i add support for named warning codes 2006-01-06 11:42:24 +00:00
imports_b.h fix import + typedefs. see example in imports_b.i 2004-10-29 22:23:19 +00:00
imports_b.i recover the %import(module=name) option,lost in previous fix 2005-09-30 15:27:20 +00:00
inctest.h fix include within a structure - #1162194 2006-10-06 23:02:45 +00:00
inctest.i test include within a structure - #1162194 2006-10-06 22:59:22 +00:00
inherit.i Test for patch #1116431 Fix non member functions inadvertently being called instead of member functions. 2005-09-23 21:20:27 +00:00
inherit_missing.i Fix dodgy code 2006-01-10 23:25:40 +00:00
inherit_same_name.i add missing virtual destructors 2006-02-23 07:08:11 +00:00
inherit_void_arg.i add virtual destructors where needed 2004-04-11 12:10:44 +00:00
inline_initializer.i new test 2003-04-04 18:35:44 +00:00
integers.i New test case integers. 2006-02-14 18:25:16 +00:00
intermediary_classname.i vc++ warning suppression 2006-01-24 21:42:02 +00:00
java_constants.i Test for %javaconstvalue added 2004-06-27 21:05:48 +00:00
java_director.i jobject test added 2006-10-11 22:35:17 +00:00
java_enums.i const enum SWIGTYPE & typemap tests 2004-11-28 19:13:27 +00:00
java_jnitypes.i The great merge 2002-11-30 22:01:28 +00:00
java_lib_arrays.i add in check for array inputs 2006-01-20 22:18:44 +00:00
java_lib_arrays_dimensionless.i test java arrays wrapping for dimensionless arrays 2005-02-15 22:41:52 +00:00
java_lib_various.i add setter into test 2005-02-17 22:23:37 +00:00
java_pragmas.i Mods for new java typemaps 2004-06-03 22:41:58 +00:00
java_throws.i forgotten checkin - warning fixes 2006-01-27 23:22:27 +00:00
java_typemaps_proxy.i more nopgcpp tests (for const methods) 2006-10-31 22:06:52 +00:00
java_typemaps_typewrapper.i Correct changes 2004-06-04 23:19:44 +00:00
kind.i update to use proxy terminology 2006-06-29 21:17:30 +00:00
langobj.i set PyObject * out typemaps back to simple returns 2006-01-28 03:38:05 +00:00
lextype.i add <stdlib.h> for malloc and lua 2006-01-31 06:16:41 +00:00
li_attribute.i add disown.i and li_attribute.i 2005-10-26 07:08:18 +00:00
li_carrays.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
li_cdata.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
li_cmalloc.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
li_constraints.i fix inclusion path 2006-01-15 01:09:27 +00:00
li_cpointer.i add support for named warning codes 2006-01-06 11:42:24 +00:00
li_cstring.i use consistent macro name SWIG_CSTRING_UNIMPL 2006-01-06 01:52:19 +00:00
li_cwstring.i use consistent macro name SWIG_CSTRING_UNIMPL 2006-01-06 01:52:19 +00:00
li_factory.i readd %factory for create method 2006-03-19 23:28:34 +00:00
li_implicit.i add support for named warning codes 2006-01-06 11:42:24 +00:00
li_math.i new name mods 2004-11-01 22:57:56 +00:00
li_std_deque.i new name mods 2004-11-01 22:57:56 +00:00
li_std_except.i mods for VC++ 2006-01-13 23:40:42 +00:00
li_std_pair.i new name mods 2004-11-01 22:57:56 +00:00
li_std_string.i more fixes/tests for empty strings 2006-05-04 04:45:41 +00:00
li_std_vector.i Fix compilation error in test case (gcc). 2006-03-03 23:35:57 +00:00
li_std_wstring.i add missing header 2006-03-19 15:40:32 +00:00
li_stdint.i adding stdint.i, the ISO C99 int types 2005-11-21 20:27:24 +00:00
li_typemaps.i Add a whole bunch of chicken runme scripts, and fix the bugs exposed by those scripts 2005-04-15 05:23:14 +00:00
li_windows.i Fix test - SWIG was incorrectly getting #defines to the windows integer types, which was not intended in original test 2006-07-24 20:34:12 +00:00
list_vector.i Fix tests. 2003-06-03 22:13:23 +00:00
long_long.i add support for named warning codes 2006-01-06 11:42:24 +00:00
long_long_apply.i New test. It exposes some missing long long typemaps in some languages. 2003-03-06 23:15:14 +00:00
member_template.i fix example max macro/template and external max macro conflicts 2005-09-16 00:35:38 +00:00
memberin1.i The great merge 2002-11-30 22:01:28 +00:00
minherit.i add virtual destructors where needed 2004-04-11 12:10:44 +00:00
minherit2.i javabase/csbase typemaps mods to support morphing C++ abstract base classes into Java/C# interfaces 2006-10-16 20:11:30 +00:00
mixed_types.i add support for named warning codes 2006-01-06 11:42:24 +00:00
mod.h avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example 2006-01-20 18:59:06 +00:00
mod.list avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example 2006-01-20 18:59:06 +00:00
mod_a.i avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example 2006-01-20 18:59:06 +00:00
mod_b.i avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example 2006-01-20 18:59:06 +00:00
multiple_inheritance.i add missing virtual destructors 2006-03-03 22:35:23 +00:00
multivalue.i The guile and chicken _runme scripts are now shared 2004-06-07 05:03:39 +00:00
name.i add support for named warning codes 2006-01-06 11:42:24 +00:00
name_cxx.i add support for named warning codes 2006-01-06 11:42:24 +00:00
name_warnings.i Committing R-SWIG 2006-06-29 03:01:18 +00:00
namespace_class.i more fixes for %copyctor 2006-03-20 10:39:01 +00:00
namespace_enum.i The great merge 2002-11-30 22:01:28 +00:00
namespace_extend.i add support for named warning codes 2006-01-06 11:42:24 +00:00
namespace_nested.i add more cases 2006-02-22 21:54:19 +00:00
namespace_spaces.i more difficult version 2003-08-11 17:54:27 +00:00
namespace_template.i add support for named warning codes 2006-01-06 11:42:24 +00:00
namespace_typedef_class.i new test 2004-01-09 19:32:08 +00:00
namespace_typemap.i c# keyword clash 2005-11-26 08:39:05 +00:00
namespace_union.i new tests 2003-09-26 19:56:45 +00:00
namespace_virtual_method.i CHANGES.current 2004-09-26 01:14:49 +00:00
naturalvar.i another case 2005-12-28 22:41:05 +00:00
nested.i Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
nested_comment.i added more cases 2004-11-16 00:18:32 +00:00
newobject1.i The great merge 2002-11-30 22:01:28 +00:00
newobject2.i add <stdlib.h> for malloc and lua 2006-01-31 06:16:41 +00:00
operator_overload.i perl warning fixes 2006-10-26 18:49:11 +00:00
ordering.i fix php keyword warnings 2006-01-23 21:46:49 +00:00
overload_complicated.i overloading when SWIG cannot disambiguate parameters tests added 2004-02-12 21:45:11 +00:00
overload_copy.i The great merge 2002-11-30 22:01:28 +00:00
overload_extend.i add <stdlib.h> for malloc and lua 2006-01-31 06:16:41 +00:00
overload_extendc.i default arguments in C code test 2004-10-20 21:01:47 +00:00
overload_rename.i fix typo 2004-11-15 22:15:32 +00:00
overload_simple.i add SWIG_TYPECHECK_SWIGOBJECT to resolve simple overload functions as Graph(int i)/Graph(PyObject* p) 2006-03-02 06:13:13 +00:00
overload_subtype.i The great merge 2002-11-30 22:01:28 +00:00
overload_template.i fix example max macro/template and external max macro conflicts 2005-09-16 00:35:38 +00:00
overload_template_fast.i 'oficially' add fastdispatch option 2005-12-08 21:30:06 +00:00
pointer_in_out.i The great merge 2002-11-30 22:01:28 +00:00
pointer_reference.i add support for named warning codes 2006-01-06 11:42:24 +00:00
preproc.i Use SWIGPHP instead of SWIGPHP4 2006-09-29 10:09:23 +00:00
primitive_ref.i test for ref+int overload 2004-10-25 19:06:50 +00:00
primitive_types.i Removed bogus semicolon after method definition. 2006-09-24 21:56:58 +00:00
private_assign.i add <stdlib.h> for malloc and lua 2006-01-31 06:16:41 +00:00
profiletest.i add more cases 2005-12-27 22:35:54 +00:00
protected_rename.i Added missing function body which was causes linker errors 2003-12-12 23:19:07 +00:00
pure_virtual.i add support for named warning codes 2006-01-06 11:42:24 +00:00
README The great merge 2002-11-30 22:01:28 +00:00
redefined.i add support for named warning codes 2006-01-06 11:42:24 +00:00
refcount.h warning/error fixes for Visual Studio 2005-10-09 13:49:44 +00:00
refcount.i add extended support for smart pointers 2006-02-04 09:48:40 +00:00
reference_global_vars.i add support for named warning codes 2006-01-06 11:42:24 +00:00
register_par.i add missing method bodies 2004-12-02 21:19:12 +00:00
rename_camel.i add initial regexp support based on the coptional rxspencer library. Active it using --with-rxspencer after installing the rxspencer library 2006-01-17 00:32:21 +00:00
rename_scope.i fix [ 1432152 ] %rename friend operators in namespace 2006-02-16 06:59:06 +00:00
ret_by_value.i add support for named warning codes 2006-01-06 11:42:24 +00:00
return_const_value.i type correction 2006-01-10 23:48:55 +00:00
return_value_scope.i The great merge 2002-11-30 22:01:28 +00:00
rname.i %rename tests beefed up a bit 2004-11-09 21:24:21 +00:00
sizeof_pointer.i The great merge 2002-11-30 22:01:28 +00:00
sizet.i const ref size_t added 2006-10-17 21:42:11 +00:00
smart_pointer_const.i The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_const2.i new test 2003-03-16 03:55:36 +00:00
smart_pointer_extend.i warning fix 2006-10-24 20:33:38 +00:00
smart_pointer_inherit.i test %csmethodmodifiers for c# 2006-10-31 22:05:35 +00:00
smart_pointer_member.i ruby warning fix 2005-03-28 19:43:33 +00:00
smart_pointer_multi.i The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_multi_typedef.i The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_namespace.i new tests 2003-10-01 21:55:26 +00:00
smart_pointer_namespace2.i new tests 2003-10-01 21:55:26 +00:00
smart_pointer_not.i The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_overload.i Warning fixes 2004-11-02 21:27:32 +00:00
smart_pointer_protected.i add virtual destructors where needed 2004-04-11 12:10:44 +00:00
smart_pointer_rename.i The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_simple.i The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_static.i add virtual destructors where needed 2004-04-11 12:10:44 +00:00
smart_pointer_typedef.i The great merge 2002-11-30 22:01:28 +00:00
sneaky1.i fix for perl keyword 2006-03-07 23:05:11 +00:00
special_variables.i $symname test 2006-07-05 21:24:36 +00:00
static_array_member.i more cleanups 2005-12-22 08:43:11 +00:00
static_const_member.i The great merge 2002-11-30 22:01:28 +00:00
static_const_member_2.i add support for named warning codes 2006-01-06 11:42:24 +00:00
struct_rename.i new test 2003-09-01 17:54:18 +00:00
struct_value.i move broken example to derived_byvalue.i since it could take long to fix 2004-10-07 22:02:50 +00:00
sym.i The great merge 2002-11-30 22:01:28 +00:00
tag_no_clash_with_variable.i Add new C test tag_no_clash_with_variable 2004-04-27 17:33:26 +00:00
template.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_arg_replace.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_arg_scope.i The great merge 2002-11-30 22:01:28 +00:00
template_arg_typename.i The great merge 2002-11-30 22:01:28 +00:00
template_array_numeric.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
template_base_template.i fix php keyword warnings 2006-01-23 21:46:49 +00:00
template_classes.i add nested class test 2006-02-03 07:49:04 +00:00
template_const_ref.i The great merge 2002-11-30 22:01:28 +00:00
template_construct.i The great merge 2002-11-30 22:01:28 +00:00
template_default.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_default2.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_default_arg.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_default_inherit.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_default_pointer.i add template_default_pointer broken case 2004-12-01 01:14:56 +00:00
template_default_qualify.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_default_vw.i new test 2003-03-11 19:23:57 +00:00
template_enum.i fix template + enum issue reported by James Bigler 2006-03-20 00:14:24 +00:00
template_enum_ns_inherit.i The great merge 2002-11-30 22:01:28 +00:00
template_enum_typedef.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_explicit.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_expr.i Use SWIG_GE, SWIG_LE, etc instead of >=, <= since the latter cause 2006-09-26 07:52:24 +00:00
template_extend1.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_extend2.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_extend_overload.i *** empty log message *** 2003-03-20 21:08:45 +00:00
template_extend_overload_2.i Added another broken test for template + extend + overload 2002-12-12 22:18:33 +00:00
template_forward.i fix template forward + using 2006-01-24 22:23:12 +00:00
template_inherit.i add virtual destructors where needed 2004-04-11 12:10:44 +00:00
template_inherit_abstract.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_int_const.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_ns.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_ns2.i The great merge 2002-11-30 22:01:28 +00:00
template_ns3.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_ns4.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
template_ns_enum.i The great merge 2002-11-30 22:01:28 +00:00
template_ns_enum2.i php keyword fixes 2005-11-26 08:38:49 +00:00
template_ns_inherit.i The great merge 2002-11-30 22:01:28 +00:00
template_ns_scope.i The great merge 2002-11-30 22:01:28 +00:00
template_opaque.i C# fixes 2004-11-05 23:17:59 +00:00
template_partial_arg.i new test 2003-09-01 18:23:08 +00:00
template_qualifier.i The great merge 2002-11-30 22:01:28 +00:00
template_ref_type.i new test 2003-06-03 19:08:09 +00:00
template_rename.i fix for directors, now the test-suite runs again using -directors 2006-02-21 11:20:09 +00:00
template_retvalue.i The great merge 2002-11-30 22:01:28 +00:00
template_specialization.i fix warning 2004-01-13 02:52:25 +00:00
template_specialization_defarg.i more examples, and fixes 2004-10-18 02:08:55 +00:00
template_specialization_enum.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_static.i fix extra ; 2006-01-19 04:49:10 +00:00
template_tbase_template.i php keyword fixes 2006-03-07 21:58:28 +00:00
template_type_namespace.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_typedef.i better option name templatereduce 2004-10-28 19:31:33 +00:00
template_typedef_cplx.i Various warning fixes for Visual Studio 2003 C++ compiler 2004-09-01 22:24:24 +00:00
template_typedef_cplx2.h Various warning fixes for Visual Studio 2003 C++ compiler 2004-09-01 22:24:24 +00:00
template_typedef_cplx2.i The great merge 2002-11-30 22:01:28 +00:00
template_typedef_cplx3.i The great merge 2002-11-30 22:01:28 +00:00
template_typedef_cplx4.i The great merge 2002-11-30 22:01:28 +00:00
template_typedef_cplx5.i *** empty log message *** 2003-11-27 16:54:26 +00:00
template_typedef_fnc.i add template + typedef + fnc case reported by Carlos Pita. Broken in 1.3.24, but works in CVS. 2005-05-16 01:18:47 +00:00
template_typedef_import.i The great merge 2002-11-30 22:01:28 +00:00
template_typedef_import.list The great merge 2002-11-30 22:01:28 +00:00
template_typedef_ns.i fix extra ; 2006-01-19 04:49:10 +00:00
template_typedef_ptr.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_typedef_rec.i fix name 2005-12-22 23:47:08 +00:00
template_typemaps.i add template_extmode case 2005-04-01 20:05:54 +00:00
template_using.i add template+using test 2005-06-13 16:41:27 +00:00
template_virtual.i add missing method bodies 2004-12-02 21:19:12 +00:00
template_whitespace.i php keyword fixes 2005-11-26 08:38:49 +00:00
threads.i A testcase for testing multi-thread issues 2005-06-01 20:40:45 +00:00
throw_exception.i muffle exception specification ignored warning (VC++). This is only for testcases that introduce exception specifications in the testcase case itself. 2006-01-12 23:43:16 +00:00
traits.i add initial traits 2005-11-04 10:58:28 +00:00
typedef_array_member.i added more test cases and broken ones 2004-11-15 18:45:28 +00:00
typedef_class.i new test 2003-05-29 18:30:10 +00:00
typedef_funcptr.i add support for named warning codes 2006-01-06 11:42:24 +00:00
typedef_inherit.i more warn fixes 2004-09-18 00:27:40 +00:00
typedef_mptr.i Typedef_mptr test (with runme). 2003-06-06 16:19:28 +00:00
typedef_reference.i The great merge 2002-11-30 22:01:28 +00:00
typedef_scope.i add infinity loop case 2005-06-17 01:10:10 +00:00
typedef_sizet.i add test for 'typedef unsigned long size_t' 2005-12-07 07:35:11 +00:00
typedef_struct.i fix names for ruby 2006-03-19 23:37:46 +00:00
typemap_namespace.i Fix for C# which doesn't have a freearg typemap 2005-12-29 23:57:19 +00:00
typemap_ns_using.i add support for named warning codes 2006-01-06 11:42:24 +00:00
typemap_numinputs.i fix warnings 2004-11-07 02:36:07 +00:00
typemap_self.i added more ugly 'self' cases 2004-01-15 22:59:55 +00:00
typemap_subst.i fix unused warnings 2006-02-05 04:10:10 +00:00
typemap_variables.i add the SWIGUTL macro to identify a language using the Unified Typemap Library, and using it around 2006-01-28 17:35:22 +00:00
typemap_various.i extend comment for %nocopyctor 2006-03-20 10:49:38 +00:00
typename.i The great merge 2002-11-30 22:01:28 +00:00
union_scope.i add support for named warning codes 2006-01-06 11:42:24 +00:00
unions.i Fix to compile on Windows. The code defines a type called small, but Windows already defines that type in rpcndr.h. Added code to undef small at the start of the wrapper file. 2005-09-24 21:48:07 +00:00
using1.i add support for named warning codes 2006-01-06 11:42:24 +00:00
using2.i add support for named warning codes 2006-01-06 11:42:24 +00:00
using_composition.i add support for named warning codes 2006-01-06 11:42:24 +00:00
using_extend.i add more cases 2006-02-22 21:54:19 +00:00
using_inherit.i The great merge 2002-11-30 22:01:28 +00:00
using_namespace.i remove extra ; 2006-02-24 23:54:29 +00:00
using_pointers.i remove vc++ noise 2006-01-21 00:02:05 +00:00
using_private.i add in missing virtual destructor 2006-07-04 20:49:55 +00:00
using_protected.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
valuewrapper.i value_wrapper -> valuewrapper. My test suite depends on the module name 2003-12-09 02:06:57 +00:00
valuewrapper_base.i The great merge 2002-11-30 22:01:28 +00:00
valuewrapper_const.i Method name change as SWIG can't overload the return type when the difference is just 'const'. Perhaps SWIG ought to emit a warning for this though? 2003-05-07 18:55:28 +00:00
valuewrapper_opaque.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
varargs.i more %varargs tests 2005-03-21 22:03:28 +00:00
virtual_derivation.i fix bug #1292926 2005-10-20 15:42:48 +00:00
virtual_destructor.i Added a protected destructor in derived class 2003-11-29 00:29:54 +00:00
virtual_poly.i solaris warning fix 2006-02-17 23:36:39 +00:00
voidtest.i add test for 'void *' argument 2006-02-04 00:02:03 +00:00
wrapmacro.i fix for directors, now the test-suite runs again using -directors 2006-02-21 11:20:09 +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.