swig/Examples/test-suite/csharp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2009-08-15 23:22:20 +00:00
..
aggregate_runme.cs
allprotected_runme.cs
apply_strings_runme.cs
bools_runme.cs remove executable bits 2009-05-01 06:21:56 +00:00
catches_runme.cs Fix exception handling when %catches is used in C# 2009-08-15 23:22:20 +00:00
char_strings_runme.cs Add non-const char *& runtime tests 2009-08-13 23:37:05 +00:00
constover_runme.cs
csharp_attributes_runme.cs
csharp_exceptions_runme.cs
csharp_lib_arrays_runme.cs reverse merge last commit - 11348 2009-07-02 22:40:49 +00:00
csharp_prepost_runme.cs
csharp_typemaps_runme.cs
default_args_runme.cs
default_constructor_runme.cs
director_basic_runme.cs
director_classes_runme.cs
director_classic_runme.cs remove executable bits 2009-05-01 06:21:56 +00:00
director_ignore_runme.cs
director_primitives_runme.cs
director_protected_runme.cs
director_string_runme.cs
enum_thorough_runme.cs remove perl specific modifications to the enum_thorough test 2009-06-16 20:26:28 +00:00
enum_thorough_simple_runme.cs remove perl specific modifications to the enum_thorough test 2009-06-16 20:26:28 +00:00
enum_thorough_typesafe_runme.cs remove perl specific modifications to the enum_thorough test 2009-06-16 20:26:28 +00:00
exception_order_runme.cs Fix exception handling when %catches is used in C# 2009-08-15 23:22:20 +00:00
imports_runme.cs
inherit_target_language_runme.cs Add test for notderived attribute in csbase/javabase typemap 2009-05-01 06:26:42 +00:00
intermediary_classname_runme.cs reverse merge last commit - 11348 2009-07-02 22:40:49 +00:00
li_attribute_runme.cs Add %attributeval and %attributestring to attribute.swg library 2009-02-13 22:42:45 +00:00
li_boost_shared_ptr_runme.cs
li_std_except_runme.cs
li_std_map_runme.cs use so that macros are no longer needed for std::map wrappers 2009-08-04 17:58:17 +00:00
li_std_string_runme.cs
li_std_vector_runme.cs Add std::vector copy constructor to proxy 2009-05-26 06:23:39 +00:00
li_std_wstring_runme.cs remove executable bits 2009-05-01 06:21:56 +00:00
li_typemaps_runme.cs
long_long_runme.cs
Makefile.in remove unnecessary extra semicolons in the tesuite 2009-08-09 22:52:08 +00:00
member_pointer_runme.cs
operator_overload_runme.cs
overload_complicated_runme.cs remove executable bits 2009-05-01 06:21:56 +00:00
overload_template_runme.cs Rename max() to maximum() as max() is a built-in function in PHP. 2009-08-14 01:33:23 +00:00
pointer_reference_runme.cs
README
sizet_runme.cs
sneaky1_runme.cs
special_variable_macros_runme.cs fix $typemap() when the type contains template parameters 2009-08-05 21:40:49 +00:00
threads_runme.cs
throw_exception_runme.cs
typemap_namespace_runme.cs
typemap_out_optimal_runme.cs remove executable bits 2009-05-01 06:21:56 +00:00
varargs_runme.cs
virtual_poly_runme.cs

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.