swig/SWIG/Examples/test-suite
William S Fulton 1594f6de8a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 21:43:06 +00:00
..
chicken Chicken test suite should at least run now... still generates a bunch of errors 2004-11-02 03:10:50 +00:00
csharp *** empty log message *** 2004-12-14 21:43:06 +00:00
errors fix SWIG command 2004-12-04 08:18:17 +00:00
guile Update Guile makefiles to work with default -scm mode. 2004-11-04 01:28:37 +00:00
guilescm Update Guile makefiles to work with default -scm mode. 2004-11-04 01:28:37 +00:00
java *** empty log message *** 2004-12-14 21:43:06 +00:00
mzscheme
ocaml Uniform SWIGSTATIC on all prototypes. 2004-11-04 04:17:00 +00:00
perl5 simple const enum SWIGTYPE & typemap test and enum by value runtime test 2004-11-28 19:21:52 +00:00
php4 lib_xxx to li_xxx name change fixes 2004-11-02 22:31:12 +00:00
pike
python fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe 2004-12-13 20:22:19 +00:00
ruby warning fixes 2004-12-13 22:12:48 +00:00
schemerunme Update overload_extend runme script to work properly 2004-11-04 02:20:04 +00:00
tcl simple const enum SWIGTYPE & typemap test and enum by value runtime test 2004-11-28 19:21:52 +00:00
testdir
.cvsignore
abstract_access.i adding more tests 2004-11-15 22:58:10 +00:00
abstract_inherit.i add/fix protected/private bases + template 2004-11-16 05:36:23 +00:00
abstract_inherit_ok.i
abstract_signature.i
abstract_typedef.i
abstract_typedef2.i
abstract_virtual.i
add_link.i
aggregate.i
anonymous_bitfield.i
argout.i
array_member.i
array_typedef_memberin.i
arrayref.i
arrays.i added more test cases and broken ones 2004-11-15 18:45:28 +00:00
arrays_dimensionless.i extra tests for dimensionless array parameters 2004-12-08 22:49:55 +00:00
arrays_global.i
arrays_global_twodim.i
arrays_scope.i
bloody_hell.i
bools.i
cast_operator.i
casts.i
char_constant.i fix bug 953142 2004-10-08 00:17:34 +00:00
char_strings.i
class_ignore.i
class_scope_weird.i
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 fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe 2004-12-13 20:22:19 +00:00
const_const.i
const_const_2.i
constant_pointers.i
constover.i
constructor_exception.i
constructor_explicit.i
constructor_value.i
contract.i
conversion.i
conversion_namespace.i
conversion_ns_template.i
cplusplus_throw.i
cpp_broken.i added more cases 2004-11-16 00:18:32 +00:00
cpp_enum.i
cpp_namespace.i
cpp_nodefault.i
cpp_static.i
cpp_typedef.i
default_args.i fix ruby warnings 2004-11-12 00:02:07 +00:00
default_constructor.i fix non public overload order 2004-11-28 09:15:58 +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
director_abstract.i Fix directors + protected pure virtual members + protected 2004-10-24 05:58:15 +00:00
director_basic.i new directorconnect and directorconnect_derived typemaps (Java) 2004-12-07 23:08:04 +00:00
director_constructor.i add test case using 'super' 2004-12-12 21:40:18 +00:00
director_default.i fix def args + director + constructors 2004-11-08 05:31:27 +00:00
director_detect.i
director_enum.i fix ruby warnings 2004-12-05 10:22:56 +00:00
director_exception.i
director_finalizer.i
director_frob.i more examples, and fixes 2004-10-18 02:08:55 +00:00
director_nested.i
director_protected.i adding more tests 2004-11-15 22:58:10 +00:00
director_redefined.i fix warnings for ruby, add another case 2004-10-30 11:51:19 +00:00
director_string.i fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe 2004-12-13 20:22:19 +00:00
director_unroll.i
director_using.i
director_wombat.i
dynamic_cast.i
enum_plus.i
enum_scope_template.i
enum_template.i ruby warnings suppression 2004-10-16 20:44:26 +00:00
enum_thorough.i const enum SWIGTYPE & typemap tests 2004-11-28 19:13:27 +00:00
enum_thorough_proper.i
enum_thorough_simple.i
enum_thorough_typesafe.i
enum_thorough_typeunsafe.i
enum_var.i
enums.i const enum SWIGTYPE & typemap tests 2004-11-28 19:13:27 +00:00
evil_diamond.i
evil_diamond_ns.i
evil_diamond_prop.i
exception_order.i
extend_default.i warning fix on Solaris 2004-11-09 21:22:04 +00:00
extend_placement.i default args added to test 2004-10-16 20:48:10 +00:00
extend_template.i
extend_template_ns.i
extern_throws.i
features.i adding more tests 2004-11-15 22:58:10 +00:00
file_test.i remove test.dat file 2004-11-16 05:25:17 +00:00
fragments.i
friends.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
function_typedef.i
global_ns_arg.i
grouping.i
ignore_parameter.i
import_nomodule.h
import_nomodule.i
imports.list
imports_a.h Updated documentation. 2004-10-17 08:38:54 +00:00
imports_a.i
imports_b.h fix import + typedefs. see example in imports_b.i 2004-10-29 22:23:19 +00:00
imports_b.i
inctest.i
inherit_missing.i
inherit_void_arg.i
inline_initializer.i
java_constants.i
java_enums.i const enum SWIGTYPE & typemap tests 2004-11-28 19:13:27 +00:00
java_jnitypes.i
java_lib_arrays.i
java_lib_various.i
java_pragmas.i
java_throws.i
java_typemaps_proxy.i
java_typemaps_typewrapper.i
kind.i
lextype.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
li_carrays.i new name mods 2004-11-01 22:57:56 +00:00
li_cdata.i new name mods 2004-11-01 22:57:56 +00:00
li_cmalloc.i new name mods 2004-11-01 22:57:56 +00:00
li_constraints.i new name mods 2004-11-01 22:57:56 +00:00
li_cpointer.i new name mods 2004-11-01 22:57:56 +00:00
li_cstring.i new name mods 2004-11-01 22:57:56 +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_pair.i new name mods 2004-11-01 22:57:56 +00:00
li_std_string.i new name mods 2004-11-01 22:57:56 +00:00
li_std_vector.i new name mods 2004-11-01 22:57:56 +00:00
li_typemaps.i new name mods 2004-11-01 22:57:56 +00:00
list_vector.i
long_long.i
long_long_apply.i
member_template.i
memberin1.i
minherit.i
mixed_types.i added more test cases and broken ones 2004-11-15 18:45:28 +00:00
multiple_inheritance.i adding more tests 2004-11-15 22:58:10 +00:00
multivalue.i
name.i deprecated %name warning suppression 2004-11-28 19:10:18 +00:00
name_cxx.i deprecated %name warning suppression 2004-11-28 19:10:18 +00:00
name_warnings.i
namespace_class.i recover pseudo nested class support 2004-11-13 01:25:56 +00:00
namespace_enum.i
namespace_extend.i
namespace_nested.i more examples, and fixes 2004-10-18 02:08:55 +00:00
namespace_spaces.i
namespace_template.i
namespace_typedef_class.i
namespace_typemap.i
namespace_union.i
namespace_virtual_method.i
nested.i
nested_comment.i added more cases 2004-11-16 00:18:32 +00:00
newobject1.i
newobject2.i - Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if 2004-10-21 21:53:54 +00:00
overload_complicated.i
overload_copy.i
overload_extend.i various fixes to remove warnings 2004-11-01 21:10:06 +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
overload_subtype.i
overload_template.i fixes for %template+member/static methods 2004-11-03 00:59:38 +00:00
pointer_in_out.i
pointer_reference.i
preproc.i resolve ruby warning 2004-12-01 01:06:33 +00:00
primitive_ref.i test for ref+int overload 2004-10-25 19:06:50 +00:00
primitive_types.i add typedef case 2004-12-11 09:04:27 +00:00
private_assign.i adding more tests 2004-11-15 22:58:10 +00:00
profiletest.i
protected_rename.i
pure_virtual.i
README
redefined.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
refcount.h
refcount.i
reference_global_vars.i
register_par.i add missing method bodies 2004-12-02 21:19:12 +00:00
rename_scope.i
ret_by_value.i
return_const_value.i
return_value_scope.i
rname.i %rename tests beefed up a bit 2004-11-09 21:24:21 +00:00
sizeof_pointer.i
sizet.i added more test cases and broken ones 2004-11-15 18:45:28 +00:00
smart_pointer_const.i
smart_pointer_const2.i
smart_pointer_extend.i more smart_pointer fixes + cases 2004-12-07 23:32:11 +00:00
smart_pointer_member.i more smart_pointer fixes + cases 2004-12-07 23:32:11 +00:00
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 Warning fixes 2004-11-02 21:27:32 +00:00
smart_pointer_protected.i
smart_pointer_rename.i
smart_pointer_simple.i
smart_pointer_static.i
smart_pointer_typedef.i
sneaky1.i
static_array_member.i
static_const_member.i
static_const_member_2.i
struct_rename.i
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
tag_no_clash_with_variable.i
template.i
template_arg_replace.i
template_arg_scope.i
template_arg_typename.i
template_array_numeric.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
template_base_template.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
template_classes.i
template_const_ref.i
template_construct.i
template_default.i
template_default2.i
template_default_arg.i adding more tests 2004-11-15 22:58:10 +00:00
template_default_inherit.i
template_default_pointer.i add template_default_pointer broken case 2004-12-01 01:14:56 +00:00
template_default_qualify.i
template_default_vw.i
template_enum.i
template_enum_ns_inherit.i
template_enum_typedef.i
template_explicit.i more examples, and fixes 2004-10-18 02:08:55 +00:00
template_expr.i added more test cases and broken ones 2004-11-15 18:45:28 +00:00
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 fix warning 2004-12-01 12:08:48 +00:00
template_int_const.i
template_ns.i
template_ns2.i
template_ns3.i
template_ns4.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
template_ns_enum.i
template_ns_enum2.i
template_ns_inherit.i
template_ns_scope.i
template_opaque.i C# fixes 2004-11-05 23:17:59 +00:00
template_partial_arg.i
template_qualifier.i
template_ref_type.i
template_rename.i
template_retvalue.i
template_specialization.i
template_specialization_defarg.i more examples, and fixes 2004-10-18 02:08:55 +00:00
template_specialization_enum.i ruby warning suppression 2004-10-16 20:56:21 +00:00
template_static.i
template_tbase_template.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
template_type_namespace.i
template_typedef.i better option name templatereduce 2004-10-28 19:31:33 +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_import.i
template_typedef_import.list
template_typedef_ptr.i ruby warning suppression 2004-10-29 21:13:29 +00:00
template_typemaps.i Recover original types in template expansions. 2004-10-27 01:57:36 +00:00
template_virtual.i add missing method bodies 2004-12-02 21:19:12 +00:00
template_whitespace.i
throw_exception.i
typedef_array_member.i added more test cases and broken ones 2004-11-15 18:45:28 +00:00
typedef_class.i
typedef_funcptr.i
typedef_inherit.i
typedef_mptr.i
typedef_reference.i
typedef_scope.i
typemap_namespace.i
typemap_ns_using.i
typemap_numinputs.i fix warnings 2004-11-07 02:36:07 +00:00
typemap_self.i
typemap_subst.i
typename.i
union_scope.i
unions.i
using1.i
using2.i
using_composition.i
using_extend.i
using_inherit.i
using_namespace.i more using+namespaces cases 2004-10-26 00:22:50 +00:00
using_pointers.i
using_private.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
using_protected.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
valuewrapper.i
valuewrapper_base.i
valuewrapper_const.i
valuewrapper_opaque.i various fixes to remove warnings 2004-11-01 21:10:06 +00:00
varargs.i
virtual_derivation.i
virtual_destructor.i
virtual_poly.i more fixes for %features, now doint it right, ie, deleting code instead of adding 2004-11-03 00:58:49 +00:00
voidtest.i
wrapmacro.i

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

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

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

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

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

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


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

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

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

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