Commit graph

60 commits

Author SHA1 Message Date
William S Fulton
58499d01ea Fix undefined behaviour when throwing exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 22:06:53 +00:00
William S Fulton
ccf1d01c37 null checks added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:51:09 +00:00
William S Fulton
9c094a08ee More error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:19:40 +00:00
William S Fulton
9f10b7bff0 Fixes to run on Mono 1.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:17:28 +00:00
William S Fulton
fd1f0b5df6 Mono 1.1 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:15:19 +00:00
William S Fulton
6c63b1c5b9 Fixes for new Exception mechanism, but still failing.
Debug code left in for testing on other systems.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 21:00:09 +00:00
William S Fulton
44d0eb2840 test all the C# exceptions that can be thrown from unmanaged code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:59:40 +00:00
William S Fulton
b33ec1cc24 test new exception mechanism in multithreaded environment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:22:54 +00:00
William S Fulton
cb7abaef11 more c# exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:42:39 +00:00
William S Fulton
cca585acc8 New C# exceptions test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-05 00:49:22 +00:00
William S Fulton
e439980660 exceptions runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-05 00:46:43 +00:00
William S Fulton
1594f6de8a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 21:43:06 +00:00
William S Fulton
344b31d2c5 const enum SWIGTYPE & typemap tests
more enum tests


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:20:22 +00:00
William S Fulton
0b150a96bb more %rename/%ignore tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:27:02 +00:00
William S Fulton
1562206701 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:17:11 +00:00
William S Fulton
bc3e8ba618 forgotten runtime test for std::vector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:29:36 +00:00
William S Fulton
80c1b147c7 lib_xxx to li_xxx name change fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:31:12 +00:00
William S Fulton
b90e7d607d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:13:03 +00:00
William S Fulton
71e8b429be test for default args in const methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:26:26 +00:00
William S Fulton
2fb4abda14 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:25:39 +00:00
William S Fulton
c5ec1dea4b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:14:01 +00:00
William S Fulton
c611933db3 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@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
William S Fulton
5f7c3f7e26 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:53:39 +00:00
William S Fulton
ba09ead729 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@6584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:03:04 +00:00
William S Fulton
a6bbe5c897 default args and overloading runtime tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:52:47 +00:00
William S Fulton
efb2893efd no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:39:04 +00:00
William S Fulton
7fa4ac798c C# INOUT, INPUT, OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:09:40 +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
b0127065d1 test from Mark Traudt
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-23 22:46:19 +00:00
William S Fulton
d38c2ac031 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:52:27 +00:00
William S Fulton
ec49fab0da Further enum wrapping approaches and tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:02:56 +00:00
William S Fulton
3c7e02750a enums added for testing across different SWIG generated modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:32:48 +00:00
William S Fulton
73a69ab9b0 C# runtime tests for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:30:02 +00:00
William S Fulton
8bef639f31 All tests now use the -namespace commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:06:54 +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
William S Fulton
72c68c375c Added a reference polymorphic return type case test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:08:18 +00:00
William S Fulton
f9fd7b97cb Cast not needed for narrow() call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:59:27 +00:00
William S Fulton
a272be6e65 C# runtime test, based on Java one.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:51:46 +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
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
4fc81e0249 simple runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:50:00 +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
7b32421774 std::string runtime tests. Based on Ruby test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:15:46 +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
12267cef8a some char * wrapping runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-03 22:10:01 +00:00
William S Fulton
99309ad9f8 Minor warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 16:03:52 +00:00
William S Fulton
cc158c0601 Stuff to get Microsoft .NET C# compiler working with the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 16:03:36 +00:00