Commit graph

63 commits

Author SHA1 Message Date
William S Fulton
127692059c jdk 5.0 fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:23:28 +00:00
William S Fulton
647ec0d634 tests for default arguments in templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:03:08 +00:00
William S Fulton
e65ccbb014 added runtime test for templated function overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:54:27 +00:00
William S Fulton
d317db5aa7 Runtime test for templates and default args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:05:50 +00:00
William S Fulton
fd518ef5e6 test for default argument in director virtual methods and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:12:37 +00:00
William S Fulton
9a8f7b5c44 features for constructor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:33:28 +00:00
William S Fulton
f55ef1fa5f %extend and default args tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:01:23 +00:00
William S Fulton
dcb1861516 default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:11 +00:00
William S Fulton
64e379ff00 Restore multiple build directories for test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-10 22:25:02 +00:00
William S Fulton
1d8de08df0 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:43:15 +00:00
William S Fulton
b3ff7ede32 char strings runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:42:25 +00:00
William S Fulton
5e87e8f3de std::string throws typemaps test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-23 21:52:21 +00:00
William S Fulton
2fce1634c7 Test for %javaexception classes being added to a method's throws clause
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:07:15 +00:00
William S Fulton
858a8c39d9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:15:26 +00:00
William S Fulton
e11d8b931d Fix for JDK1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:58 +00:00
William S Fulton
dc55225be7 Proper enum test added. Needs JDK1.5 beta 2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:18 +00:00
Marcelo Matus
0603e7529b added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 18:11:38 +00:00
William S Fulton
b0bad1f717 New default Java enum wrapping approach which uses the type safe enum pattern
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 19:58:10 +00:00
William S Fulton
197b15b0ec Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
William S Fulton
cff68da57b overloading when SWIG cannot disambiguate parameters tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:45:11 +00:00
Marcelo Matus
e63a259672 also, change the module name to director_frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:52:06 +00:00
Marcelo Matus
f7a318c637 using better names for frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:41:37 +00:00
William S Fulton
62c17bc996 Improved runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 21:23:31 +00:00
Marcelo Matus
6b0485b6b5 fixes for the nodirector feature and the '0' director member case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 00:46:08 +00:00
Marcelo Matus
b45d143ea2 added a reference polymorphic return type case, and
some extra test for the Java side.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-24 06:53:47 +00:00
William S Fulton
36a25d1f78 Downcast not needed for narrow() call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:59:40 +00:00
William S Fulton
9129f61a39 Fix test by using downcasts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:51:19 +00:00
Marcelo Matus
a152fd46a8 using static narrow methods instead of %extended ones.
now it looks more natural and similar to the CORBA downcasting mechanism.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 10:10:04 +00:00
Marcelo Matus
8cc5b25f18 fix bad variable name in example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 06:32:02 +00:00
Marcelo Matus
c5cf57b254 Added a simple example where the current universal
Java wrapping mechanism doesn't work, showing the
need to use a different way to wrap polymorphic classes.

They are two runtime examples: one for java, which is
failing, and one for python, which works fine.

Detailed description of the case can be found
in the three files committed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 06:26:44 +00:00
William S Fulton
5fb27bf2a3 Test typemaps are being found for templated classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 00:17:22 +00:00
William S Fulton
187bc5e0a9 arrays of structures runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 00:02:33 +00:00
William S Fulton
51803c4b21 Director protected method wrapping tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:21:17 +00:00
William S Fulton
531e78b236 Added %javamethodmodifiers check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:20:42 +00:00
William S Fulton
b9fa8132dd *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-11 21:44:56 +00:00
William S Fulton
5dfe42a6bc Added STRING_OUT typemap test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:03:30 +00:00
William S Fulton
313501d146 test non-public destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:31:24 +00:00
William S Fulton
a7ae5a021e contract assertion test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:19:47 +00:00
William S Fulton
b204646590 added check that pure virtual method is handled by throwing an exception if Java derived class does not provide an implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:33:17 +00:00
William S Fulton
15a7c686df Java specific test to test the various.i typemap library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 21:02:37 +00:00
William S Fulton
7567736299 Enhanced to check typedef'd parameters in directors - Scott Michel contribution.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:06:09 +00:00
William S Fulton
afb28e916e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:07:12 +00:00
William S Fulton
638ec81f42 Oops forgot the wombat runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 08:42:37 +00:00
William S Fulton
91b4e247bb Some director runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:54:14 +00:00
William S Fulton
247ef8dd93 test fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:50:41 +00:00
William S Fulton
c4b43ef489 std::string runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:17:13 +00:00
William S Fulton
3edea4bfd4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:58:14 +00:00
William S Fulton
555b0080db director basic runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:36:14 +00:00
William S Fulton
0cc299f6d8 Multiple build directory support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 15:15:50 +00:00
William S Fulton
a50e01bae6 Makefile replaced with Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-31 16:22:43 +00:00