Add and improve Ruby test cases in the context of nesting and namespaces
This is done in preparation for adding namespace support to the Ruby part of SWIG. Some existing test cases were reorganized or duplicated for flat/nonflat nesting. For some a Ruby test script was added. Finally the ruby/Makefile.in was improved so that for test cases without an explicit test script, the generated wrapper library will be loaded by the Ruby interpreter to ensure loading works fine.
This commit is contained in:
parent
b6c2438d7d
commit
7963445048
38 changed files with 1109 additions and 37 deletions
|
|
@ -1,9 +1,8 @@
|
|||
// This is a copy of the multiple_inheritance_abstract test and extended for testing %shared_ptr and %interface_impl
|
||||
%module multiple_inheritance_shared_ptr
|
||||
%module(ruby_minherit="1") multiple_inheritance_shared_ptr
|
||||
|
||||
%warnfilter(SWIGWARN_RUBY_MULTIPLE_INHERITANCE,
|
||||
SWIGWARN_D_MULTIPLE_INHERITANCE,
|
||||
SWIGWARN_PHP_MULTIPLE_INHERITANCE); /* languages not supporting multiple inheritance or %interface */
|
||||
%warnfilter(SWIGWARN_D_MULTIPLE_INHERITANCE,
|
||||
SWIGWARN_PHP_MULTIPLE_INHERITANCE); /* languages not supporting multiple inheritance */
|
||||
|
||||
// Typemap changes required to mix %shared_ptr and %interface_impl
|
||||
// Note we don't have a way to use $javainterfacename/$csinterfacename (yet),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue