swig/SWIG/Examples/test-suite
2006-02-03 22:16:01 +00:00
..
allegrocl *** empty log message *** 2006-01-30 19:14:40 +00:00
cffi Add test suites for CLISP, CFFI, UFFI. 2006-01-14 13:36:28 +00:00
chicken add %naturalvar to std::string and remove local li_std_string.i, so Mattias can finish the examples here :) 2006-01-30 19:52:57 +00:00
clisp Add test suites for CLISP, CFFI, UFFI. 2006-01-14 13:36:28 +00:00
csharp add in const std::string variable tests 2006-01-29 14:47:38 +00:00
errors
guile Add test suites for CLISP, CFFI, UFFI. 2006-01-14 13:36:28 +00:00
guilescm Add test suites for CLISP, CFFI, UFFI. 2006-01-14 13:36:28 +00:00
java add in const std::string variable tests 2006-01-29 14:47:38 +00:00
lua bugfix #1356577, changed double=>lua_number in a few places. 2006-02-02 01:41:06 +00:00
mzscheme
ocaml
perl5 fix varout typemaps for swigtypes 2006-02-02 21:31:19 +00:00
php4 Add in runtime tests for std::string variables 2006-01-29 15:52:48 +00:00
pike
python back to original makefile, the changes didn't speed things up at all and it is better not to duplicate the build code. 2006-02-03 22:16:01 +00:00
ruby cosmetic fix 2006-02-02 23:24:01 +00:00
schemerunme Fix test case. 2006-01-30 19:03:09 +00:00
tcl add/fix std_string test with %naturalvar 2006-01-30 06:14:35 +00:00
testdir
uffi Add test suites for CLISP, CFFI, UFFI. 2006-01-14 13:36:28 +00:00
.cvsignore
abstract_access.i
abstract_inherit.i
abstract_inherit_ok.i
abstract_signature.i
abstract_typedef.i
abstract_typedef2.i
abstract_virtual.i
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 test to make sure that variables do not use %exception by default 2006-02-03 21:59:37 +00:00
anonymous_bitfield.i
argout.i
array_member.i
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
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 add test for %newobject 2006-01-19 08:35:18 +00:00
class_ignore.i
class_scope_weird.i add macro to disable the extra qualifications in members, which seems to be no standard and not supported in gcc4.1 or so 2006-01-21 08:24:52 +00:00
clientdata_prop.list
clientdata_prop_a.h
clientdata_prop_a.i
clientdata_prop_b.h
clientdata_prop_b.i
common.mk add allowexcept feature test 2006-02-01 21:15:45 +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
constructor_exception.i
constructor_explicit.i
constructor_value.i
contract.i
conversion.i
conversion_namespace.i
conversion_ns_template.i
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
cpp_broken.i
cpp_enum.i
cpp_namespace.i
cpp_nodefault.i
cpp_static.i
cpp_typedef.i
csharp_attributes.i
csharp_exceptions.i vc++ warning suppression 2006-01-24 21:42:02 +00:00
csharp_features.i
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_constructor.i
director_default.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
director_detect.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
director_enum.i
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_finalizer.i
director_frob.i
director_nested.i
director_protected.i
director_redefined.i
director_string.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
director_unroll.i
director_using.i
director_wombat.i
director_wstring.i use include <> instead of "" for system files 2006-01-15 02:08:31 +00:00
disown.i
dynamic_cast.i
empty.i
enum_plus.i
enum_scope_template.i
enum_template.i fix extra ; 2006-01-19 04:49:10 +00:00
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 change variable name for Ruby 2006-01-29 01:14:57 +00:00
extend_default.i
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
file_test.i
fragments.i
friends.i add macro to disable the extra qualifications in members, which seems to be no standard and not supported in gcc4.1 or so 2006-01-21 08:24:52 +00:00
function_typedef.i
global_ns_arg.i add missing check for noargs 2006-02-03 09:08:27 +00:00
global_vars.i
grouping.i
ignore_parameter.i
immutable.i
import_nomodule.h
import_nomodule.i
imports.list
imports_a.h
imports_a.i
imports_b.h
imports_b.i
inctest.i
inherit.i
inherit_missing.i
inherit_same_name.i
inherit_void_arg.i
inline_initializer.i
intermediary_classname.i vc++ warning suppression 2006-01-24 21:42:02 +00:00
java_constants.i
java_director.i
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
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
li_cstring.i
li_cwstring.i
li_implicit.i
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 reenable missing INPUT/OUTPUT, and add tests for std::string 2006-01-30 19:55:43 +00:00
li_std_vector.i
li_std_wstring.i remove vc++ noise 2006-01-21 00:02:05 +00:00
li_stdint.i
li_typemaps.i
li_windows.i
list_vector.i
long_long.i
long_long_apply.i
member_template.i
memberin1.i
minherit.i
mixed_types.i
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
multivalue.i
name.i
name_cxx.i
name_warnings.i
namespace_class.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
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 fix php keyword warnings 2006-01-23 21:46:49 +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 silence warning for chicken 2006-01-29 18:54:24 +00:00
overload_subtype.i
overload_template.i
overload_template_fast.i
pointer_in_out.i
pointer_reference.i
preproc.i simple #warning and #error tests 2006-01-26 22:33:34 +00:00
primitive_ref.i
primitive_types.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
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
README
redefined.i
refcount.h
refcount.i
reference_global_vars.i
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
ret_by_value.i
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
smart_pointer_const.i
smart_pointer_const2.i
smart_pointer_extend.i
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
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 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
template_default2.i
template_default_arg.i
template_default_inherit.i
template_default_pointer.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_expr.i
template_extend1.i
template_extend2.i
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
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 fix extra ; 2006-01-19 04:49:10 +00:00
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_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
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
typedef_inherit.i
typedef_mptr.i
typedef_reference.i
typedef_scope.i
typedef_sizet.i
typedef_struct.i
typemap_namespace.i
typemap_ns_using.i
typemap_numinputs.i
typemap_self.i
typemap_subst.i
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
typename.i
union_scope.i
unions.i
using1.i
using2.i
using_composition.i
using_extend.i
using_inherit.i
using_namespace.i
using_pointers.i remove vc++ noise 2006-01-21 00:02:05 +00:00
using_private.i
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
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.