swig/Examples/test-suite
Dave Beazley 556b711f62 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 17:44:51 +00:00
..
csharp varargs runtime test 2003-03-19 20:50:05 +00:00
errors
guile
java DYLD_LIBRARY_PATH added for Mac OS X 2003-04-17 20:43:07 +00:00
mzscheme removed 2003-04-29 11:11:15 +00:00
ocaml Fix for C++ tests. 2003-04-19 02:54:41 +00:00
perl5
php4
pike
python Little bug fix for this run test. 2003-04-29 16:49:16 +00:00
ruby A little more work on the Ruby support for C++ polymorphism. Exception 2003-04-29 16:08:16 +00:00
tcl
abstract_inherit.i
abstract_inherit_ok.i
abstract_signature.i
abstract_typedef.i Changed the class name "Object" to "AbstractBaseClass" in the 2003-03-07 18:28:44 +00:00
abstract_typedef2.i
abstract_virtual.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
add_link.i
anonymous_arg.i
anonymous_bitfield.i
argout.i
array_typedef_memberin.i new test 2003-04-30 17:44:51 +00:00
arrayptr.i
arrayref.i
arrays.i Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
arrays_global.i Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
arrays_global_twodim.i
arrays_scope.i
bloody_hell.i *** empty log message *** 2003-04-15 17:03:22 +00:00
bool_default.i
bools.i
cast_operator.i *** empty log message *** 2003-02-27 19:37:29 +00:00
casts.i
char_constant.i
class_ignore.i
class_scope_weird.i new test 2003-03-20 19:36:16 +00:00
common.mk new test 2003-04-30 17:44:51 +00:00
const_const.i
const_const_2.i
constant_pointers.i
constover.i
constructor_exception.i Changed the class name from Object to SomeClass in the 2003-03-07 18:30:06 +00:00
constructor_explicit.i
constructor_value.i
conversion.i
conversion_namespace.i
conversion_ns_template.i
cplusplus_throw.i Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
cpp_enum.i
cpp_enum_scope.i
cpp_macro_noarg.i
cpp_namespace.i
cpp_nodefault.i
cpp_static.i
cpp_typedef.i
default_cast.i
default_char.i new tests 2003-03-27 22:54:37 +00:00
default_constructor.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
default_ns.i
default_ref.i
defineop.i
defines.i Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
director_basic.i four new director tests 2003-03-07 10:30:11 +00:00
director_exception.i A little more work on the Ruby support for C++ polymorphism. Exception 2003-04-29 16:08:16 +00:00
director_finalizer.i four new director tests 2003-03-07 10:30:11 +00:00
director_unroll.i four new director tests 2003-03-07 10:30:11 +00:00
dynamic_cast.i
enum_plus.i
enum_scope.i
enum_scope_template.i
enum_var.i
enums.i enum renamed enums due to enum keyword in C# 2003-03-19 21:25:59 +00:00
evil_diamond.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
evil_diamond_ns.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
evil_diamond_prop.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
explicit.i
extend_placement.i new tests 2003-03-27 22:54:37 +00:00
extend_template.i
extend_template_ns.i
function_typedef.i new test 2003-03-17 17:56:53 +00:00
global_ns_arg.i
grouping.i
ignore_parameter.i
import_nomodule.h
import_nomodule.i *** empty log message *** 2003-03-07 18:12:40 +00:00
imports.list
imports_a.h
imports_a.i
imports_b.h
imports_b.i
inherit_missing.i
inline_initializer.i new test 2003-04-04 18:35:44 +00:00
java_constants.i
java_enums.i Modifications to testcase to test the enums and constants in a separate Java interface. 2003-04-03 12:30:26 +00:00
java_jnitypes.i
java_lib_arrays.i
java_pragmas.i
java_throws.i
java_typemaps_proxy.i
java_typemaps_typewrapper.i
kind.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_string.i *** empty log message *** 2003-03-08 05:13:19 +00:00
lib_std_vector.i Added pointer test case. 2003-04-01 17:57:30 +00:00
lib_typemaps.i
list_vector.i
long_long.i
long_long_apply.i New test. It exposes some missing long long typemaps in some languages. 2003-03-06 23:15:14 +00:00
macro_2.i
member_template.i
memberin1.i
minherit.i Also run the multiple inheritance test case (minherit.i) for Ruby, now. 2003-04-25 20:19:40 +00:00
multivalue.i
name.i
name_cxx.i
name_inherit.i
namespace_enum.i
namespace_extend.i
namespace_nested.i
namespace_template.i
namespace_typemap.i
namespace_virtual_method.i new tests 2003-04-23 18:00:17 +00:00
nested.i Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
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_1.i
preproc_2.i
preproc_3.i
preproc_4.i Added extra test-case 2003-04-11 16:26:10 +00:00
preproc_5.i More tests added 2003-03-07 16:11:13 +00:00
preproc_6.i *** empty log message *** 2003-04-25 15:03:40 +00:00
primitive_ref.i
private_assign.i
pure_virtual.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
README
reference_global_vars.i
rename_default.i
rename_scope.i
ret_by_value.i
return_value_scope.i
rname.i
sizeof_pointer.i
smart_pointer_const.i
smart_pointer_const2.i new test 2003-03-16 03:55:36 +00:00
smart_pointer_multi.i
smart_pointer_multi_typedef.i
smart_pointer_not.i
smart_pointer_overload.i
smart_pointer_protected.i
smart_pointer_rename.i
smart_pointer_simple.i
smart_pointer_typedef.i
sneaky1.i
static_array_member.i Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
static_const_member.i
static_const_member_2.i
struct_value.i
sym.i
template.i
template_arg_replace.i
template_arg_scope.i
template_arg_typename.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 new test 2003-03-11 19:23:57 +00:00
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 *** empty log message *** 2003-03-20 21:08:45 +00:00
template_extend_overload_2.i
template_forward.i
template_inherit.i
template_inherit_abstract.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
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_qualifier.i
template_rename.i
template_retvalue.i
template_specialization.i warning removal for C# 2003-03-19 23:03:27 +00:00
template_specialization_defarg.i
template_specialization_enum.i
template_static.i
template_tbase_template.i
template_type_namespace.i
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_import.i
template_typedef_import.list
template_virtual.i
template_whitespace.i
throw_exception.i
typedef_array_member.i
typedef_funcptr.i
typedef_inherit.i
typedef_mptr.i
typedef_reference.i
typedef_scope.i
typemap_namespace.i
typemap_ns_using.i
typemap_subst.i
typename.i
union_scope.i
unions.i Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
using1.i
using2.i
using_composition.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
using_extend.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
using_inherit.i
using_namespace.i Modified test cases to enable multiple inheritance mode for Ruby. 2003-04-29 16:48:24 +00:00
using_private.i
using_protected.i
valuewrapper.i Not linking fix 2003-04-03 12:10:03 +00:00
valuewrapper_base.i
varargs.i beefed up varargs test 2003-03-19 20:48:52 +00:00
virtual_destructor.i
voidtest.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.