swig/Examples/test-suite/python
Haoyu Bai 3d8ddfc442 Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken.
This is the (incomplemete) log produced by svnmerge.py:

Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from 
https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-11 17:18:07 +00:00
..
abstract_access_runme.py Added test case just to check a few things with protected/private virtual methods 2003-12-09 17:50:29 +00:00
abstract_typedef2_runme.py Now, this is a real broken case 2003-02-21 09:12:45 +00:00
abstract_typedef_runme.py The great merge 2002-11-30 22:01:28 +00:00
abstract_virtual_runme.py Added test that shows a problem in the 'abstract detection method' when virtual base classes are used (in different order) 2003-02-21 21:03:05 +00:00
abstractbase.i Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
abstractbase_runme3.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
argcargvtest.i vc++ warning fixes 2007-10-25 22:30:09 +00:00
argcargvtest_runme.py add missing typecheck typemap for argc,argv 2006-02-27 03:00:26 +00:00
array_member_runme.py new test 2003-05-29 18:30:10 +00:00
arrays_global_runme.py fix arrays_global and add more vector tests 2004-08-25 05:36:02 +00:00
autodoc.i add 'docstring' test-case 2006-02-02 17:18:37 +00:00
callback.i fix VC7.1 compilation problem 2005-03-01 00:00:19 +00:00
callback_runme.py fixes for python 2.1 2006-02-23 09:08:49 +00:00
class_ignore_runme.py The great merge 2002-11-30 22:01:28 +00:00
class_scope_weird_runme.py added more cases 2005-10-17 13:43:35 +00:00
compactdefaultargs_runme.py test compactdefaultargs feature 2005-09-30 21:32:12 +00:00
complextest.i fixes for latest stl changes 2004-10-10 07:58:03 +00:00
complextest_runme.py fix range problem for complex<float>, found by szabi@mplayerhq.hu 2004-03-29 21:37:09 +00:00
constover_runme.py The great merge 2002-11-30 22:01:28 +00:00
constructor_copy_runme.py generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options 2005-12-22 06:26:26 +00:00
contract_runme.py new test 2003-11-14 18:59:02 +00:00
cpp_enum_runme.py fix anon enums 2004-05-28 02:10:02 +00:00
cpp_namespace_runme.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
default_args_runme.py fixes for python 2.1 2006-02-23 09:08:49 +00:00
default_constructor_runme.py fix memory leaks in test 2006-01-28 19:18:47 +00:00
director_abstract_runme.py fixes for python 2.1 2006-02-23 09:13:16 +00:00
director_basic_runme.py change runtime examples to run with old python versions 2006-01-11 23:06:15 +00:00
director_classic_runme.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
director_default_runme.py added missing test 2004-11-08 06:12:07 +00:00
director_detect_runme.py change runtime examples to run with old python versions 2006-01-11 23:13:23 +00:00
director_enum_runme.py add tests for director+enums 2004-10-08 09:15:38 +00:00
director_exception_runme.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
director_extend_runme.py #1506840 testcase - directors with virtual extended methods 2006-09-23 00:00:58 +00:00
director_finalizer_runme.py add support for multi-inheritance at the python side and performance tunings 2005-11-07 12:40:16 +00:00
director_frob_runme.py also, change the module name to director_frob 2004-01-22 00:52:06 +00:00
director_nested_runme.py fixes for python 2.1 2006-02-23 09:08:49 +00:00
director_profile.i add more cases 2005-12-27 23:37:40 +00:00
director_profile_runme.py add director profile test 2005-11-21 20:28:18 +00:00
director_protected_runme.py Lateral change to add runtime "reprotection" at the python 2003-12-11 01:59:12 +00:00
director_stl.i add support for named warning codes 2006-01-06 11:42:24 +00:00
director_stl_runme.py new tests for string and directors+containers 2004-03-18 21:30:24 +00:00
director_string_runme.py remove debug 2006-05-05 23:24:58 +00:00
director_thread_runme.py fix for 1.5.2 2006-02-06 09:23:28 +00:00
director_unroll_runme.py fix comparison 2005-11-21 20:31:55 +00:00
director_wstring_runme.py add the runtime case 2005-10-21 11:01:40 +00:00
disown_runme.py add support for accessing 'self.thisown' 2005-12-09 01:12:26 +00:00
dynamic_cast_runme.py The great merge 2002-11-30 22:01:28 +00:00
empty_runme.py massive typemap unification 2005-10-18 13:24:15 +00:00
enum_template_runme.py strange cache effect, disable by now, see enum_template.i 2004-10-06 08:26:58 +00:00
enums_runme.py enum renamed enums due to enum keyword in C# 2003-03-19 21:25:59 +00:00
exception_order_runme.py add the %throws directive 2006-01-10 10:12:32 +00:00
extend_placement_runme.py default args added to test 2004-10-16 20:48:10 +00:00
extend_template_ns_runme.py The great merge 2002-11-30 22:01:28 +00:00
extend_template_runme.py The great merge 2002-11-30 22:01:28 +00:00
extend_variable_runme.py add Luigi's static patch for extended variables 2005-10-18 14:04:14 +00:00
file_test_runme.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
friends_runme.py These is the current tests for the friend function support. 2003-12-20 07:46:27 +00:00
fvirtual_runme.py variable name changes to remove php keywords 2008-06-24 20:11:46 +00:00
global_ns_arg_runme.py add missing check for noargs 2006-02-03 09:08:27 +00:00
grouping_runme.py The great merge 2002-11-30 22:01:28 +00:00
hugemod.pl Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
iadd.h adding more cases 2005-10-17 13:48:02 +00:00
iadd.i add iadd test case 2005-10-26 09:10:59 +00:00
iadd_runme.py add iadd test case 2005-10-26 09:10:59 +00:00
implicittest.i fix warning 2006-02-01 05:13:46 +00:00
import_nomodule_runme.py fix memory leaks 2005-12-16 01:21:59 +00:00
imports_runme.py fix import order 2005-08-23 10:41:29 +00:00
inctest_runme.py Added test for %import 2003-12-11 21:33:34 +00:00
inherit_missing_runme.py fix memory leaks 2005-12-16 01:21:59 +00:00
inout.i massive typemap unification 2005-10-18 13:24:15 +00:00
inout_runme.py add callback and inout tests 2004-10-02 01:33:38 +00:00
inplaceadd.i fix warnings/errors for gcc4.0, icc and valgrind 2005-10-19 14:26:13 +00:00
inplaceadd_runme.py fixes and more cases, as usual 2005-10-31 10:11:29 +00:00
input.i don't use Py_None directly nor &PyType_Type 2005-12-04 08:50:00 +00:00
input_runme.py fix typecheck for INPUT* type 2004-12-20 10:19:54 +00:00
keyword_rename_runme.py Added a test case for keyword renaming. 2008-06-07 11:20:07 +00:00
kwargs.i more fixes for %copyctor 2006-03-20 10:39:01 +00:00
kwargs_runme.py fix builtin names warnings, so they ony apply to functions, as reported by James Bigler and the 'max' name issue 2006-03-03 05:16:16 +00:00
langobj_runme.py fix memory PyObject * typemaps to avoid memory leaks with iterators 2006-01-11 23:05:12 +00:00
li_attribute_runme.py attribute tidy up. %attributeref replaces %attribute_ref 2007-10-17 21:27:21 +00:00
li_boost_shared_ptr_bits_runme.py Fix shared_ptr typemaps for use with %pythonnondynamic 2008-04-04 23:29:59 +00:00
li_boost_shared_ptr_runme.py Correct test for global shared_ptr variable 2008-04-04 23:26:54 +00:00
li_carrays_runme.py finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind 2005-10-20 09:47:56 +00:00
li_cmalloc_runme.py add more cases 2005-10-19 10:56:37 +00:00
li_cpointer_runme.py add more cases 2005-10-19 10:56:37 +00:00
li_cstring_runme.py massive typemap unification 2005-10-18 13:24:15 +00:00
li_cwstring_runme.py adding test for binary buffer 2005-09-06 06:31:25 +00:00
li_factory_runme.py fix for python 2.1 2006-03-05 06:36:55 +00:00
li_implicit_runme.py massive typemap unification 2005-10-18 13:24:15 +00:00
li_std_carray.i move iterator classes to pyiterator and add/test std_carray.i class 2005-12-19 10:43:26 +00:00
li_std_carray_runme.py change runtime examples to run with old python versions 2006-01-11 23:06:15 +00:00
li_std_map.i fix bug #1480074 2006-05-04 06:47:31 +00:00
li_std_map_runme.py fix bug #1480074 2006-05-04 06:47:31 +00:00
li_std_pair.i cosmetic updates 2005-02-24 23:39:15 +00:00
li_std_pair_runme.py adding more cases 2004-12-01 01:17:56 +00:00
li_std_set.i Use swig::PyObject_ptr name instead of swig::PyItem 2005-11-08 16:01:15 +00:00
li_std_set_runme.py change runtime examples to run with old python versions 2006-01-11 23:06:15 +00:00
li_std_stream.i clean wchar case 2005-06-13 16:42:39 +00:00
li_std_stream_runme.py change runtime examples to run with old python versions 2006-01-11 23:06:15 +00:00
li_std_string.i add/fix std_string test with %naturalvar 2006-01-30 06:14:35 +00:00
li_std_string_runme.py variable name changes to remove php keywords 2008-06-24 20:11:46 +00:00
li_std_vector.i Restore containers accepting NULL pointers when used in overloaded methods - problem reported by Josh Cherry 2008-01-22 23:33:59 +00:00
li_std_vector_runme.py Restore containers accepting NULL pointers when used in overloaded methods - problem reported by Josh Cherry 2008-01-22 23:33:59 +00:00
li_std_vectora.i renamed lib_xxxx to li_xxxx 2004-11-01 23:33:12 +00:00
li_std_wstream.i add wstream case 2005-04-03 03:15:16 +00:00
li_std_wstream_runme.py change runtime examples to run with old python versions 2006-01-11 23:06:15 +00:00
li_std_wstring.i remove vc++ noise 2006-01-21 00:02:05 +00:00
li_std_wstring_runme.py change runtime examples to run with old python versions 2006-01-11 23:06:15 +00:00
Makefile.in Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
member_pointer_runme.py Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples 2007-08-09 23:47:13 +00:00
minherit_runme.py The great merge 2002-11-30 22:01:28 +00:00
mod_runme.py avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example 2006-01-20 18:59:06 +00:00
multi_import_runme.py Added test suite entry for Bug #1735931 2007-10-12 17:04:24 +00:00
namespace_class_runme.py making sure the resolve_scope_node is working fine before release, and fix for unnamed namespace 2004-11-03 08:07:02 +00:00
namespace_typemap_runme.py The great merge 2002-11-30 22:01:28 +00:00
namespace_virtual_method_runme.py new tests 2003-04-23 18:00:17 +00:00
naturalvar_runme.py add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods. 2005-12-27 21:48:56 +00:00
nondynamic.i fixes for new flag attribute convention 2005-10-07 13:19:06 +00:00
nondynamic_runme.py add test for nondynamic 2004-09-26 00:52:24 +00:00
operbool_runme.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
overload_complicated_runme.py overloading when SWIG cannot disambiguate parameters tests added 2004-02-12 21:45:11 +00:00
overload_copy_runme.py The great merge 2002-11-30 22:01:28 +00:00
overload_extend_runme.py more cases, and C/C++ compatibility 2004-10-06 17:32:03 +00:00
overload_extendc_runme.py default args in C code test added 2004-10-20 21:06:10 +00:00
overload_rename_runme.py added more test cases and broken ones 2004-11-15 18:45:28 +00:00
overload_simple_cast.i add castmode in python and cleaning the castdispatch mechanism 2005-12-23 09:22:17 +00:00
overload_simple_cast_runme.py fix errors for 32bit arch. 2006-01-23 00:33:19 +00:00
overload_simple_runme.py fix overload + protected member issue reported by Colin McDonald 2006-02-20 16:52:28 +00:00
overload_subtype_runme.py The great merge 2002-11-30 22:01:28 +00:00
overload_template_fast_runme.py correct module name 2007-10-30 22:26:18 +00:00
overload_template_runme.py fixes for python 2.1 2006-02-23 09:08:49 +00:00
preproc_runme.py fix macro with empy args 2004-11-18 00:25:23 +00:00
primitive_ref_runme.py test for ref+int overload 2004-10-25 19:06:50 +00:00
primitive_types_runme.py fix warnings/errors for gcc4.0, icc and valgrind 2005-10-19 14:26:13 +00:00
profiletest_runme.py fix run test compile for the moment 2006-01-15 08:26:35 +00:00
profiletestc_runme.py add support for multi-inheritance at the python side and performance tunings 2005-11-07 12:40:16 +00:00
pybuf.i Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
pybuf_benchmark.i Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
pybuf_benchmark_runme.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
pybuf_benchmark_runme3.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
pybuf_runme3.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
pythonswig.supp Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig 2008-05-20 21:27:22 +00:00
README Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
refcount_runme.py add extended support for smart pointers 2006-02-04 09:48:40 +00:00
reference_global_vars_runme.py fix problem with 64bit machines 2004-09-17 21:45:42 +00:00
rename_scope_runme.py add test for rename 2006-02-17 20:46:13 +00:00
ret_by_value_runme.py add runme test 2004-10-02 02:31:30 +00:00
return_const_value_runme.py several fixes, see CHANGES.current 10/04/2004 2004-10-05 00:19:26 +00:00
simutry.i add missing virtual destructors 2006-02-23 07:08:11 +00:00
smart_pointer_extend_runme.py more smart pointers + extend fixes 2005-01-04 09:41:05 +00:00
smart_pointer_member_runme.py more smart_pointer fixes + cases 2004-12-07 23:32:11 +00:00
smart_pointer_multi_runme.py The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_multi_typedef_runme.py The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_not_runme.py The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_overload_runme.py The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_rename_runme.py The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_simple_runme.py The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_templatevariables_runme.py Fix template member variables wrapped by a smart pointer bug reported by Robert Lupton 2008-01-17 00:29:02 +00:00
smart_pointer_typedef_runme.py The great merge 2002-11-30 22:01:28 +00:00
sneaky1_runme.py fix for perl keyword 2006-03-07 23:05:11 +00:00
static_const_member_2_runme.py fix bug #1174705 2005-11-27 02:15:26 +00:00
std_containers.i remove vc++ noise 2006-01-21 00:02:05 +00:00
std_containers_runme.py fix to avoid copies when the wrapper class exists 2006-01-08 07:08:21 +00:00
struct_rename_runme.py new test 2003-09-01 17:54:18 +00:00
struct_value_runme.py The great merge 2002-11-30 22:01:28 +00:00
swigobject.i fix format warning 2006-02-05 04:08:28 +00:00
swigobject_runme.py fix hex pointer conversion 2005-03-02 17:55:13 +00:00
tag_no_clash_with_variable_runme.i *** empty log message *** 2004-04-27 17:33:52 +00:00
template_construct_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_default_arg_runme.py more examples, and fixes 2004-10-18 02:08:55 +00:00
template_extend1_runme.py new tests 2003-02-18 21:25:31 +00:00
template_extend2_runme.py new tests 2003-02-18 21:25:31 +00:00
template_inherit_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_matrix.i add more template+namespaces+matrix cases 2005-03-08 06:46:15 +00:00
template_matrix_runme.py add more template+namespaces+matrix cases 2005-03-08 06:46:15 +00:00
template_ns4_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_ns_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_opaque_runme.py add template_opaque 2004-05-28 02:13:30 +00:00
template_ref_type_runme.py new test 2003-06-03 19:08:09 +00:00
template_rename_runme.py fixes for %templates/%rename/%features + templates 2006-02-05 20:25:43 +00:00
template_static_runme.py fixes for python 2.1 2006-02-23 09:08:49 +00:00
template_tbase_template_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_type_namespace_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_typedef_cplx2_runme.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
template_typedef_cplx3_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_typedef_cplx4_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_typedef_cplx_runme.py Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
template_typedef_import_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_typedef_runme.py Fix ~15 tests, minor doc fixes, improve STL support. 2008-03-05 04:35:34 +00:00
typedef_class_runme.py new test 2003-05-28 17:30:04 +00:00
typedef_inherit_runme.py The great merge 2002-11-30 22:01:28 +00:00
typedef_scope_runme.py The great merge 2002-11-30 22:01:28 +00:00
typemap_namespace_runme.py The great merge 2002-11-30 22:01:28 +00:00
typemap_ns_using_runme.py The great merge 2002-11-30 22:01:28 +00:00
typename_runme.py The great merge 2002-11-30 22:01:28 +00:00
types_directive_runme.py Additions to %types so that a user can specify the code to go into the casting / conversion function 2008-01-31 22:48:24 +00:00
unions_runme.py The great merge 2002-11-30 22:01:28 +00:00
using1_runme.py The great merge 2002-11-30 22:01:28 +00:00
using2_runme.py The great merge 2002-11-30 22:01:28 +00:00
using_composition_runme.py Fix using statements for overloaded methods 2007-11-30 22:34:50 +00:00
using_extend_runme.py fix using + extend as reported by William 2006-02-22 01:21:43 +00:00
using_inherit_runme.py Fix using statements for overloaded methods 2007-11-30 22:34:50 +00:00
using_private_runme.py using for method with default args test added 2004-10-07 19:57:13 +00:00
using_protected_runme.py The great merge 2002-11-30 22:01:28 +00:00
varargs_runme.py add def arg case, as mentioned in the manual 2005-03-15 07:48:21 +00:00
vector.i add support for named warning codes 2006-01-06 11:42:24 +00:00
virtual_derivation_runme.py added test for simple virtual derivation, where ruby fails 2004-01-22 06:23:57 +00:00
virtual_poly_runme.py added a reference polymorphic return type case, and 2003-12-24 06:53:47 +00:00
voidtest_runme.py add test for 'void *' argument 2006-02-04 00:34:12 +00:00
wrapmacro_runme.py add python runme 2004-01-20 20:49:05 +00:00

See ../README for common README file.

Any testcases which have _runme.py (or _runme3.py for Python 3) appended after the testcase name will be detected and run.

If you intend to write a testcase for both Python 2.x and 3.x, do *not* directly put the _runme3.py in this directory. Just write Python 2.x's _runme.py testcase and it will be automatically converted to Python 3 code during test.

You can run make with PY3=y to run test case with Python 3.x, eg.
  $ make voidtest.cpptest PY3=y