Commit graph

221 commits

Author SHA1 Message Date
William S Fulton
0dc3099ead *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:13:03 +00:00
William S Fulton
6784d7e6cc test for default args in const methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:26:26 +00:00
William S Fulton
89782ca04e lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:18:22 +00:00
William S Fulton
dc903c677a lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
William S Fulton
40c6de5b56 lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses which won't load libraries starting with lib.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:03:04 +00:00
William S Fulton
3ced17bd35 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:39:04 +00:00
William S Fulton
dba6605992 director enum runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:19:10 +00:00
William S Fulton
dbb0c18d3e runtime tests for templated functions in a namespace added (overloading and default arg tests)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:07:53 +00:00
William S Fulton
08100cf196 jdk 5.0 fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:23:28 +00:00
William S Fulton
0835a9ac15 tests for default arguments in templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:03:08 +00:00
William S Fulton
14c3a84d40 added runtime test for templated function overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:54:27 +00:00
William S Fulton
76e6c3f858 Runtime test for templates and default args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:05:50 +00:00
William S Fulton
652d2efc3f test for default argument in director virtual methods and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:12:37 +00:00
William S Fulton
19ea3b5242 features for constructor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:33:28 +00:00
William S Fulton
2b742879a0 %extend and default args tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:01:23 +00:00
William S Fulton
ef4a61258a default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:11 +00:00
William S Fulton
847a59246b Restore multiple build directories for test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-10 22:25:02 +00:00
William S Fulton
0afaec28ef no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:43:15 +00:00
William S Fulton
bee48640d5 char strings runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:42:25 +00:00
William S Fulton
a1165fe106 std::string throws typemaps test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-23 21:52:21 +00:00
William S Fulton
24f91357f2 Test for %javaexception classes being added to a method's throws clause
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:07:15 +00:00
William S Fulton
bc28240f48 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:15:26 +00:00
William S Fulton
5fa2399106 Fix for JDK1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:58 +00:00
William S Fulton
2252e3bb13 Proper enum test added. Needs JDK1.5 beta 2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:18 +00:00
Marcelo Matus
eea53dbb48 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 18:11:38 +00:00
William S Fulton
1b1dadc9de New default Java enum wrapping approach which uses the type safe enum pattern
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 19:58:10 +00:00
William S Fulton
d3d9210bd0 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/SWIG@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
William S Fulton
f4a2470325 overloading when SWIG cannot disambiguate parameters tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:45:11 +00:00
Marcelo Matus
05d6e6b04f also, change the module name to director_frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:52:06 +00:00
Marcelo Matus
e524a03a55 using better names for frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:41:37 +00:00
William S Fulton
c4d49d6c2a Improved runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 21:23:31 +00:00
Marcelo Matus
9cfb9a490b fixes for the nodirector feature and the '0' director member case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 00:46:08 +00:00
Marcelo Matus
ac011192ae 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/SWIG@5596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-24 06:53:47 +00:00
William S Fulton
a7844fd600 Downcast not needed for narrow() call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:59:40 +00:00
William S Fulton
c81661122e Fix test by using downcasts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:51:19 +00:00
Marcelo Matus
394aacb890 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/SWIG@5587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 10:10:04 +00:00
Marcelo Matus
8c7824b76e fix bad variable name in example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 06:32:02 +00:00
Marcelo Matus
c85521c002 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/SWIG@5582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 06:26:44 +00:00
William S Fulton
6bd65bba28 Test typemaps are being found for templated classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 00:17:22 +00:00
William S Fulton
feae681f4e arrays of structures runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 00:02:33 +00:00
William S Fulton
fc6bdd5217 Director protected method wrapping tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:21:17 +00:00
William S Fulton
0116de6769 Added %javamethodmodifiers check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:20:42 +00:00
William S Fulton
76e67c8cee *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-11 21:44:56 +00:00
William S Fulton
e1fd92428f Added STRING_OUT typemap test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:03:30 +00:00
William S Fulton
930a6922c5 test non-public destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:31:24 +00:00
William S Fulton
b7b24a1e11 contract assertion test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:19:47 +00:00
William S Fulton
c1fa548d3d 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/SWIG@5289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:33:17 +00:00
William S Fulton
3a6d631b08 Java specific test to test the various.i typemap library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 21:02:37 +00:00
William S Fulton
57b8d0ea70 Enhanced to check typedef'd parameters in directors - Scott Michel contribution.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:06:09 +00:00
William S Fulton
dc8dc4f78e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:07:12 +00:00