swig/SWIG/Examples/test-suite
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2004-10-30 11:17:20 +00:00
..
chicken
csharp default args and overloading runtime tests added 2004-10-29 22:52:47 +00:00
errors
guile
guilescm
java no message 2004-10-29 22:39:04 +00:00
mzscheme
ocaml
perl5
php4 Removed default arg test cases as the tests were moved into default_args.i some while back 2004-10-29 21:19:15 +00:00
pike
python fix import + typedefs. see example in imports_b.i 2004-10-29 22:23:19 +00:00
ruby
schemerunme
tcl
testdir
.cvsignore
abstract_access.i
abstract_inherit.i
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
arrays_dimensionless.i
arrays_global.i
arrays_global_twodim.i
arrays_scope.i
bloody_hell.i
bools.i
cast_operator.i
casts.i
char_constant.i
char_strings.i
class_ignore.i
class_scope_weird.i
clientdata_prop.list
clientdata_prop_a.h
clientdata_prop_a.i
clientdata_prop_b.h
clientdata_prop_b.i
common.mk add patch 962168 for Multiple Inheritance problem, seems to be working fine 2004-10-30 11:17:20 +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_enum.i
cpp_namespace.i
cpp_nodefault.i
cpp_static.i
cpp_typedef.i
default_args.i
default_constructor.i
defvalue_constructor.i
derived_byvalue.i
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
director_default.i
director_detect.i
director_enum.i add patch 1025861 for director + exceptions, fix director + enums 2004-10-30 10:58:16 +00:00
director_exception.i
director_finalizer.i
director_frob.i
director_nested.i
director_protected.i
director_redefined.i
director_unroll.i
director_using.i
director_wombat.i
dynamic_cast.i
enum_plus.i
enum_scope_template.i
enum_template.i
enum_thorough.i
enum_thorough_proper.i
enum_thorough_simple.i
enum_thorough_typesafe.i
enum_thorough_typeunsafe.i
enum_var.i
enums.i
evil_diamond.i
evil_diamond_ns.i
evil_diamond_prop.i
exception_order.i
extend_default.i
extend_placement.i
extend_template.i
extend_template_ns.i
extern_throws.i
features.i
file_test.i
fragments.i
friends.i segfault test added - global scope operator 2004-10-29 21:07:51 +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
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
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
lib_carrays.i
lib_cdata.i
lib_cmalloc.i
lib_constraints.i
lib_cpointer.i
lib_cstring.i
lib_math.i
lib_std_deque.i
lib_std_pair.i
lib_std_string.i
lib_std_vector.i
lib_typemaps.i
list_vector.i
long_long.i
long_long_apply.i
member_template.i
memberin1.i
minherit.i
mixed_types.i removed problem test for gcc-3.3.0+ until resolved 2004-10-29 23:01:17 +00:00
multiple_inheritance.i
multivalue.i
name.i
name_cxx.i
name_inherit.i
name_warnings.i
namespace_enum.i
namespace_extend.i
namespace_nested.i
namespace_spaces.i
namespace_template.i
namespace_typedef_class.i
namespace_typemap.i
namespace_union.i
namespace_virtual_method.i
nested.i
newobject1.i
newobject2.i
overload_complicated.i
overload_copy.i
overload_extend.i
overload_extendc.i
overload_simple.i
overload_subtype.i
overload_template.i
pointer_in_out.i
pointer_reference.i
preproc.i ruby warning suppression 2004-10-29 21:13:29 +00:00
primitive_ref.i test for ref+int overload 2004-10-25 19:06:50 +00:00
primitive_types.i
private_assign.i
profiletest.i
protected_rename.i
pure_virtual.i
README
redefined.i
refcount.h
refcount.i
reference_global_vars.i
rename_scope.i
ret_by_value.i
return_const_value.i
return_value_scope.i
rname.i
sizeof_pointer.i
smart_pointer_const.i
smart_pointer_const2.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
static_array_member.i
static_const_member.i
static_const_member_2.i
struct_rename.i
struct_value.i
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
template_base_template.i
template_classes.i
template_const_ref.i
template_construct.i
template_default.i
template_default2.i
template_default_arg.i
template_default_inherit.i
template_default_qualify.i
template_default_vw.i
template_enum.i
template_enum_ns_inherit.i
template_enum_typedef.i
template_explicit.i
template_extend1.i
template_extend2.i
template_extend_overload.i
template_extend_overload_2.i
template_forward.i
template_inherit.i
template_inherit_abstract.i
template_int_const.i
template_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_qualifier.i
template_ref_type.i
template_rename.i
template_retvalue.i
template_specialization.i
template_specialization_defarg.i
template_specialization_enum.i
template_static.i
template_tbase_template.i
template_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
template_whitespace.i
throw_exception.i
typedef_array_member.i
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_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
using_protected.i
valuewrapper.i
valuewrapper_base.i
valuewrapper_const.i
valuewrapper_opaque.i fix another warning 2004-10-22 07:26:49 +00:00
varargs.i
virtual_derivation.i
virtual_destructor.i
virtual_poly.i
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.