swig/Examples/test-suite/java
Vincent Couvert 7444913fda Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@13053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-09 14:28:04 +00:00
..
aggregate_runme.java
allprotected_runme.java remove svn:executable property where applied incorrectly 2008-11-26 21:54:49 +00:00
apply_signed_char_runme.java
apply_strings_runme.java
array_member_runme.java
arrays_global_twodim_runme.java
char_binary_runme.java Added some missing multi-argument typemaps: (char *STRING, size_t LENGTH) and (char *STRING, int LENGTH) - Java patch is from Volker Grabsch. Elements of the primitive_types.i testcase for this moved into char_binary.i. Documentation for this enhanced. 2011-01-14 19:06:43 +00:00
char_strings_runme.java More string tests: char const*const 2010-05-01 10:01:26 +00:00
cpp_typedef_runme.java
default_args_runme.java
default_constructor_runme.java
director_abstract_runme.java
director_basic_runme.java Fix director typemaps for pointers so that NULL pointers are correctly marshalled to C#/Java null in director methods 2008-07-14 21:09:23 +00:00
director_binary_string_runme.java Correct special variables in 'directorargout' typemap. This change will break any 'directorargout' typemaps you may have written. Please change: to and to \n Also fix the named 'directorargout' DIRECTOROUT typemaps for these languages which didn't previously compile and add in , etc expansion.\n [C#, Go, Java, D] Add support for the 'directorargout' typemap.\n [Java] Add (char *STRING, size_t LENGTH) director typemaps. 2011-12-20 20:50:36 +00:00
director_classes_runme.java
director_classic_runme.java remove svn:executable property where applied incorrectly 2008-11-26 21:54:49 +00:00
director_default_runme.java
director_enum_runme.java
director_exception_runme.java
director_frob_runme.java
director_ignore_runme.java remove svn:executable property where applied incorrectly 2008-11-26 21:54:49 +00:00
director_nspace_runme.java Add support for %nspace when using directors - Java 2012-01-06 18:57:25 +00:00
director_primitives_runme.java
director_protected_runme.java Any 'using' statements in the protected section of a class were previously ignored with dirprot mode, certainly with Java and C#. Also directors - a call to a method being defined in the base class, not overridden in a subcalss, but again overridden in a class derived from the first subclass was not being dispatched correcly to the most derived class - affecting non-scripting languages. Fix for C# is based on recent fix for D. 2011-02-01 07:02:50 +00:00
director_string_runme.java
director_thread_runme.java Add DetachCurrentThread back in for directors. The problems occuring on Solaris look like they were jdk bugs (1.4.2 and older) 2007-10-12 21:40:01 +00:00
director_unroll_runme.java
director_wombat_runme.java
dynamic_cast_runme.java
enum_thorough_proper_runme.java SF bug #3195112 - fix wrapping of enums that are type char 2011-03-26 15:28:31 +00:00
enum_thorough_runme.java SF bug #3195112 - fix wrapping of enums that are type char 2011-03-26 15:28:31 +00:00
enum_thorough_simple_runme.java SF bug #3195112 - fix wrapping of enums that are type char 2011-03-26 15:28:31 +00:00
enum_thorough_typeunsafe_runme.java SF bug #3195112 - fix wrapping of enums that are type char 2011-03-26 15:28:31 +00:00
extend_constructor_destructor_runme.java keyword variable workaround in testcase 2011-12-21 07:18:45 +00:00
extend_default_runme.java
extend_typedef_class_runme.java Fix %extend on typedef classes in a namespace using the typedef name 2011-09-08 18:18:33 +00:00
extern_declaration_runme.java
friends_runme.java Add in missing wrappers for friend functions for some target languages 2011-04-01 23:06:40 +00:00
global_namespace_runme.java Fix unary scope operator (::) (global scope) regression introduced in 2.0.0. The mangled symbol names were incorrect, sometimes resulting in types being incorrectly treated as opaque types. 2010-10-13 05:48:59 +00:00
ignore_parameter_runme.java
imports_runme.java
inctest_runme.java
inherit_target_language_runme.java Add test for notderived attribute in csbase/javabase typemap 2009-05-01 06:26:42 +00:00
intermediary_classname_runme.java reverse merge last commit - 11348 2009-07-02 22:40:49 +00:00
java_constants_runme.java
java_director_runme.java Fix for %%javaexception and directors so that all the appropriate throws clauses are generated 2009-12-23 01:05:17 +00:00
java_enums_runme.java
java_jnitypes_runme.java fix overloading of jboolean with other JNI types at the c++ level for some platforms (64bit Linux) 2009-09-02 20:49:55 +00:00
java_lib_arrays_dimensionless_runme.java
java_lib_arrays_runme.java Marshalling char[] and char[ANY] to Java byte[] is now a bit easier 2011-06-17 06:41:53 +00:00
java_lib_various_runme.java char **STRING_ARRAY typemaps fixed to handle null pointers 2012-04-28 14:29:23 +00:00
java_pgcpp_runme.java Strip C comments from the java typemaps when determining to use the premature garbage collection prevention parameter 2007-10-12 21:41:27 +00:00
java_pragmas_runme.java
java_prepost_runme.java pre, post, cshin, pgcppname attribute tests for javain/csin typemap 2007-04-17 22:48:38 +00:00
java_throws_runme.java Fix testcase comment 2009-08-16 00:09:43 +00:00
java_typemaps_proxy_runme.java
java_typemaps_typewrapper_runme.java
li_boost_intrusive_ptr_runme.java Add boost::intrusive_ptr wrappers from Mike Rowbotham 2008-12-28 20:32:44 +00:00
li_boost_shared_ptr_bits_runme.java Fix #3024875 - shared_ptr of classes with non-public destructors. This also fixes the 'unref' feature when used on classes with non-public destructors. 2010-07-07 18:19:01 +00:00
li_boost_shared_ptr_runme.java add test for inheritance of 3 classes deep which exposes a problem in the python shared_ptr wrappers. Manually added the %types for now. 2008-12-06 17:10:53 +00:00
li_boost_shared_ptr_template_runme.java %shared_ptr fixes when the type is a template using template parameters that are typedef'd to another type. Also fixed %shared_ptr when the template parameter has a default value. 2011-08-13 00:36:12 +00:00
li_carrays_runme.java
li_std_except_runme.java
li_std_string_runme.java
li_std_vector_enum_runme.java Fix #3475492 - iterating through std::vector wrappers of enumerations. 2012-03-13 07:10:24 +00:00
li_std_vector_runme.java
li_typemaps_runme.java
long_long_runme.java
Makefile.in Add JNI checking when running Java test-suite 2012-03-29 20:27:56 +00:00
member_pointer_runme.java Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples 2007-08-09 23:47:13 +00:00
memberin_extend_runme.java add test for %extend on member variable 2009-07-09 19:56:47 +00:00
minherit2_runme.java
multiple_inheritance_runme.java
nested_class_runme.java Improved C++ nested class support - nested typedef'd classes now parsed and treated as forward class declaration 2009-11-23 23:02:01 +00:00
nested_structs_runme.java Fix multiple declarations of nested structs (C code) 2009-11-18 20:24:06 +00:00
nested_workaround_runme.java add missing nested_workaround runtime test 2009-11-17 19:28:29 +00:00
nspace_extend_runme.java Test %extend and nspace feature 2010-03-08 23:02:53 +00:00
nspace_runme.java [D] nspace support. 2011-03-13 00:32:26 +00:00
operator_overload_runme.java
overload_complicated_runme.java remove svn:executable property where applied incorrectly 2008-11-26 21:54:49 +00:00
overload_template_runme.java Rename max() to maximum() as max() is a built-in function in PHP. 2009-08-14 01:33:23 +00:00
pointer_reference_runme.java Fix typecheck typemaps for SWIGTYPE *const& 2011-01-30 00:42:27 +00:00
preproc_line_file_runme.java Fix correct line number reporting in errors/warnings when a macro definition ends with '/' and it is not the end of a C comment - swig.swg has some of these macro definitions. 2010-09-11 11:02:18 +00:00
primitive_ref_runme.java
profiletest_runme.java
README
rename1_runme.java more thorough %rename tests including conversion operator %rename 2007-05-26 00:05:32 +00:00
rename2_runme.java more thorough %rename tests including conversion operator %rename 2007-05-26 00:05:32 +00:00
rename3_runme.java more thorough %rename tests including conversion operator %rename 2007-05-26 00:05:32 +00:00
rename4_runme.java more thorough %rename tests including conversion operator %rename 2007-05-26 00:05:32 +00:00
rename_pcre_encoder_runme.java Ignore non-matching regex renames when searching renames list. 2010-11-16 14:09:39 +00:00
rename_pcre_enum_runme.java Add support for "[not]regexmatch" and "regextarget" to %rename. 2010-07-22 17:02:10 +00:00
ret_by_value_runme.java
rname_runme.java Fix rname testcase when run under OpenJDK icedtea on Linux because libjvm.so also contains a class called Base. Also remove need for Go specific handling in this testcase. 2011-01-05 21:15:10 +00:00
sizet_runme.java
smart_pointer_const_overload_runme.java Apply patch #3066958 from Mikael Johansson to fix default smart pointer handling when the smart pointer contains both a const and non-const operator->. 2010-10-03 13:12:00 +00:00
special_variable_macros_runme.java merge from trunk 2010-05-06 07:08:16 +00:00
special_variables_runme.java Fix test for the extra whitespace in template parameter lists 2008-02-13 23:59:01 +00:00
template_classes_runme.java
template_default_arg_runme.java
template_default_class_parms_runme.java Add setter tests to test case 2011-07-01 20:34:38 +00:00
template_default_class_parms_typedef_runme.java Fix some scope and symbol lookup problems when template default parameters are being used with typedef - add the fully expanded template into the c symbol table and scope table. 2011-07-01 22:59:55 +00:00
template_methods_runme.java Fix %template seg fault on some cases of overloading the templated method. 2009-08-15 10:40:19 +00:00
template_nested_runme.java Fix nested template classes within a namespace generating uncompileable code by incorrectly adding in symbols into the symbol tables and not setting the scope correctly after the nested template was parsed 2009-11-08 00:14:47 +00:00
template_nested_typemaps_runme.java minor improvement to testcase 2009-10-24 21:58:06 +00:00
template_partial_specialization_runme.java Fix partial specialization and explicit specialization lookup 2009-10-20 17:50:36 +00:00
template_partial_specialization_typedef_runme.java Fix partial specialization and explicit specialization lookup 2009-10-20 17:50:36 +00:00
template_template_parameters_runme.java Fix template template parameters with default arguments 2007-12-06 22:35:43 +00:00
template_typedef_inherit_runme.java Add testcase for bug #3378145 which was fixed in r12764 2011-07-28 06:29:20 +00:00
typemap_arrays_runme.java Fix expansion in array typemaps 2010-12-14 21:38:36 +00:00
typemap_namespace_runme.java
typemap_out_optimal_runme.java add test for optimal attribute in out typemap 2009-04-30 06:12:32 +00:00
unions_runme.java
using_pointers_runme.java
varargs_runme.java
virtual_poly_runme.java
wallkw_runme.java Fix wallkw runtime test since D was added 2010-12-08 19:58:19 +00:00

See ../README for common README file.

The Java implementation of the test-suite is a little different to the other languages in that all of SWIGs output goes into a subdirectory named after the individual test case. This is so that all the shadow classes can be compiled as Java classes have to go into separate files. Otherwise the Makefile wouldn't know which .java files would be relevant to the testcase. For this to work the testcase must go into a Java package.

Any testcases which have _runme.java appended after the testcase name will be detected and run.