swig/Examples/test-suite/csharp
2005-12-21 22:50:08 +00:00
..
.cvsignore *** empty log message *** 2005-09-24 10:05:33 +00:00
aggregate_runme.cs All tests now use the -namespace commandline option 2004-02-24 21:06:54 +00:00
bools_runme.cs test from Mark Traudt 2004-07-23 22:46:19 +00:00
char_strings_runme.cs char strings runtime test 2004-08-29 20:42:25 +00:00
constover_runme.cs All tests now use the -namespace commandline option 2004-02-24 21:06:54 +00:00
csharp_attributes_runme.cs fix for new member variable function names 2005-06-23 20:57:05 +00:00
csharp_exceptions_runme.cs Fix undefined behaviour when throwing exceptions 2005-03-08 22:06:53 +00:00
csharp_typemaps_runme.cs C# attribute support added - %csattributes feature, %csattributes typemap 2005-05-12 20:19:47 +00:00
default_args_runme.cs more %rename/%ignore tests 2004-11-09 21:27:02 +00:00
default_constructor_runme.cs All tests now use the -namespace commandline option 2004-02-24 21:06:54 +00:00
enum_thorough_runme.cs Java/C# - test extra constructor to handle enum items initialised by another enum item for %javaconst(1)/%csconst(1) 2005-11-26 08:37:20 +00:00
enum_thorough_simple_runme.cs Java/C# - test extra constructor to handle enum items initialised by another enum item for %javaconst(1)/%csconst(1) 2005-11-26 08:37:20 +00:00
enum_thorough_typesafe_runme.cs Java/C# - test extra constructor to handle enum items initialised by another enum item for %javaconst(1)/%csconst(1) 2005-11-26 08:37:20 +00:00
imports_runme.cs enums added for testing across different SWIG generated modules 2004-04-22 20:32:48 +00:00
intermediary_classname_runme.cs test changing the intermediary classname from default 2005-12-21 22:50:08 +00:00
li_std_string_runme.cs variable tests and exception specification tests added 2005-04-14 20:11:34 +00:00
li_std_vector_runme.cs more pesky warnings removed 2005-05-13 21:39:09 +00:00
li_typemaps_runme.cs lib_xxx to li_xxx name change fixes 2004-11-02 22:31:12 +00:00
long_long_runme.cs All tests now use the -namespace commandline option 2004-02-24 21:06:54 +00:00
Makefile.in added csharp_features.i 2005-05-26 20:50:24 +00:00
overload_complicated_runme.cs All tests now use the -namespace commandline option 2004-02-24 21:06:54 +00:00
overload_template_runme.cs Mono 1.1 warning fixes 2005-03-06 19:15:19 +00:00
README csharp test-suite infrastructure 2003-03-04 23:00:21 +00:00
sneaky1_runme.cs All tests now use the -namespace commandline option 2004-02-24 21:06:54 +00:00
threads_runme.cs test strings in a multithreaded environment 2005-06-01 20:42:50 +00:00
throw_exception_runme.cs All tests now use the -namespace commandline option 2004-02-24 21:06:54 +00:00
varargs_runme.cs All tests now use the -namespace commandline option 2004-02-24 21:06:54 +00:00
virtual_poly_runme.cs Mono 1.1 warning fixes 2005-03-06 19:15:19 +00:00

SWIG testsuite README file
--------------------------

This testsuite is here to ensure SWIG can handle a wide range of c/c++
syntax. The testsuite comprises many testcases in this directory. Each
test case is tested under each of the language modules thereby
thoroughly testing all of SWIG. It ensures that each of the language
modules are at a similar standard.

Those modules that support shadow classes run the tests producing
shadow classes to test the full language module functionality.

Some test cases need a runtime test. These need implementing in each
of the language modules. The language modules look for a file in the
language specific test-suite directory which has _runme appended after
the testcase name. If one is found it will be run as part of the test.

Some language modules add to this common set of test cases for
language specific tests. These can be found in the appropriate
language test-suite directory. There is also a README in each of the
language module directories.

For each testcase a message showing which testcase is being tested is
displayed. Nothing else is printed unless the test fails.


Some Developer Guidelines
-------------------------

Note that the whole test suite need not be run each time a testcase is
modified. An individual testcase may be run by going to the language
module test-suite directory and using make testcasename.xxx where xxx
is the type of test (eg cpptest). See common.mk. make -s doesn't print
any junk on the screen and is useful for emulating the way make check
works from the SWIG root directory.

If there are runtime tests needed, don't print anything unless there
is an error in which case stderr is suggested.

Please set the name of the module to the same name as the testcase,
otherwise modules will not be found.