swig/SWIG/Examples/test-suite
2006-10-20 22:51:15 +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 size_t tests 2006-10-17 21:41:39 +00:00
errors
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 size_t tests 2006-10-17 21:41:39 +00:00
lua Bugfix #1542466 added code to allow mapping Lua nil's <-> C/C++ NULL's 2006-08-21 08:00:13 +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
python test #1508327 - Overloaded methods are hidden when using -fvirtual optimisation 2006-09-28 22:02:03 +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
uffi fixes for make clean 2006-09-20 20:21:24 +00:00
.cvsignore
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
abstract_typedef2.i
abstract_virtual.i Silence visual studio 2006-01-10 23:24:57 +00:00
access_change.i
add_link.i
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
apply_signed_char.i %apply signed char test added 2006-08-10 21:22:12 +00:00
apply_strings.i test %apply char *, char[], char[ANY] unsigned char pointer/arrays 2006-10-19 22:27:37 +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
arrayref.i
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
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
casts.i
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
class_scope_weird.i Fix test for gcc-4.1 2006-06-05 21:04:35 +00:00
clientdata_prop.list
clientdata_prop_a.h
clientdata_prop_a.i
clientdata_prop_b.h
clientdata_prop_b.i
common.mk javabase/csbase typemaps mods to support morphing C++ abstract base classes into Java/C# interfaces 2006-10-16 20:11:30 +00:00
compactdefaultargs.i
const_const.i
const_const_2.i
constant_pointers.i add more cases 2006-01-19 04:48:25 +00:00
constants.i
constover.i
constructor_copy.i Fix %ignore + %copyctor as reported in #1486281 2006-10-04 03:29:33 +00:00
constructor_exception.i
constructor_explicit.i
constructor_value.i
contract.i add support for named warning codes 2006-01-06 11:42:24 +00:00
conversion.i
conversion_namespace.i
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
cpp_enum.i
cpp_namespace.i
cpp_nodefault.i remove debug printout 2006-02-04 17:37:09 +00:00
cpp_static.i
cpp_typedef.i
csharp_attributes.i
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
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
derived_byvalue.i
derived_nested.i
destructor_reprotected.i
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
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
director_frob.i unsigned long long test added 2006-10-11 22:36:15 +00:00
director_ignore.i ignores on templated class methods added 2006-10-04 11:04:35 +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
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
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
empty.i
enum_plus.i add support for named warning codes 2006-01-06 11:42:24 +00:00
enum_scope_template.i
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
enum_thorough_simple.i
enum_thorough_typesafe.i
enum_thorough_typeunsafe.i
enum_var.i
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 ruby warning suppression 2006-09-13 20:31:42 +00:00
extend_default.i add support for named warning codes 2006-01-06 11:42:24 +00:00
extend_placement.i
extend_template.i
extend_template_ns.i
extend_variable.i
extern_declaration.i
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
fragments.i
friends.i Fix test for gcc-4.1 2006-06-05 21:04:35 +00:00
function_typedef.i
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
ignore_parameter.i
ignore_template_constructor.i fix ruby std::vector to support element with nodefault constructors 2006-02-08 23:55:53 +00:00
immutable.i
import_nomodule.h
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
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
imports_b.i
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
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
inline_initializer.i
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
java_director.i jobject test added 2006-10-11 22:35:17 +00:00
java_enums.i
java_jnitypes.i
java_lib_arrays.i add in check for array inputs 2006-01-20 22:18:44 +00:00
java_lib_arrays_dimensionless.i
java_lib_various.i
java_pragmas.i
java_throws.i forgotten checkin - warning fixes 2006-01-27 23:22:27 +00:00
java_typemaps_proxy.i
java_typemaps_typewrapper.i
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
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
li_std_deque.i
li_std_except.i mods for VC++ 2006-01-13 23:40:42 +00:00
li_std_pair.i
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
li_typemaps.i
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
long_long.i add support for named warning codes 2006-01-06 11:42:24 +00:00
long_long_apply.i
member_template.i
memberin1.i
minherit.i
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
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
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
namespace_template.i add support for named warning codes 2006-01-06 11:42:24 +00:00
namespace_typedef_class.i
namespace_typemap.i
namespace_union.i
namespace_virtual_method.i
naturalvar.i
nested.i
nested_comment.i
newobject1.i
newobject2.i add <stdlib.h> for malloc and lua 2006-01-31 06:16:41 +00:00
operator_overload.i Use SWIGPHP instead of SWIGPHP4 2006-09-29 10:09:23 +00:00
ordering.i fix php keyword warnings 2006-01-23 21:46:49 +00:00
overload_complicated.i
overload_copy.i
overload_extend.i add <stdlib.h> for malloc and lua 2006-01-31 06:16:41 +00:00
overload_extendc.i
overload_rename.i
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
overload_template.i
overload_template_fast.i
pointer_in_out.i
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
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
protected_rename.i
pure_virtual.i add support for named warning codes 2006-01-06 11:42:24 +00:00
README
redefined.i add support for named warning codes 2006-01-06 11:42:24 +00:00
refcount.h
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
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
rname.i
sizeof_pointer.i
sizet.i const ref size_t added 2006-10-17 21:42:11 +00:00
smart_pointer_const.i
smart_pointer_const2.i
smart_pointer_extend.i add support for named warning codes 2006-01-06 11:42:24 +00:00
smart_pointer_member.i
smart_pointer_multi.i
smart_pointer_multi_typedef.i
smart_pointer_namespace.i
smart_pointer_namespace2.i
smart_pointer_not.i
smart_pointer_overload.i
smart_pointer_protected.i
smart_pointer_rename.i
smart_pointer_simple.i
smart_pointer_static.i
smart_pointer_typedef.i
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
static_const_member.i
static_const_member_2.i add support for named warning codes 2006-01-06 11:42:24 +00:00
struct_rename.i
struct_value.i
sym.i
tag_no_clash_with_variable.i
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
template_arg_typename.i
template_array_numeric.i
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
template_construct.i
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
template_default_qualify.i add support for named warning codes 2006-01-06 11:42:24 +00:00
template_default_vw.i
template_enum.i fix template + enum issue reported by James Bigler 2006-03-20 00:14:24 +00:00
template_enum_ns_inherit.i
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
template_extend_overload_2.i
template_forward.i fix template forward + using 2006-01-24 22:23:12 +00:00
template_inherit.i
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
template_ns3.i add support for named warning codes 2006-01-06 11:42:24 +00:00
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_qualifier.i
template_ref_type.i
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
template_specialization.i
template_specialization_defarg.i
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
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_import.i
template_typedef_import.list
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
template_typemaps.i
template_using.i
template_virtual.i
template_whitespace.i
threads.i
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
typedef_array_member.i
typedef_class.i
typedef_funcptr.i add support for named warning codes 2006-01-06 11:42:24 +00:00
typedef_inherit.i
typedef_mptr.i
typedef_reference.i
typedef_scope.i
typedef_sizet.i
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
typemap_self.i
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
union_scope.i add support for named warning codes 2006-01-06 11:42:24 +00:00
unions.i
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
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
valuewrapper.i
valuewrapper_base.i
valuewrapper_const.i
valuewrapper_opaque.i
varargs.i
virtual_derivation.i
virtual_destructor.i
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.