*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
704514563a
commit
ae3487fffe
5 changed files with 34 additions and 0 deletions
12
SWIG/Examples/test-suite/ruby/static_const_member_2_runme.rb
Normal file
12
SWIG/Examples/test-suite/ruby/static_const_member_2_runme.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
require 'static_const_member_2'
|
||||
|
||||
include Static_const_member_2
|
||||
|
||||
c = Test_int.new
|
||||
a = Test_int::Forward_field # should be available as a class constant
|
||||
a = Test_int::Current_profile # should be available as a class constant
|
||||
a = Test_int::RightIndex # should be available as a class constant
|
||||
a = Test_int::Backward_field # should be available as a class constant
|
||||
a = Test_int::LeftIndex # should be available as a class constant
|
||||
a = Test_int.cavity_flags
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
require 'template_construct'
|
||||
|
||||
8
SWIG/Examples/test-suite/ruby/template_extend1_runme.rb
Normal file
8
SWIG/Examples/test-suite/ruby/template_extend1_runme.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require 'template_extend1'
|
||||
|
||||
a = Template_extend1::LBaz.new
|
||||
b = Template_extend1::DBaz.new
|
||||
|
||||
raise RuntimeError unless a.foo() == "lBaz::foo"
|
||||
raise RuntimeError unless b.foo() == "dBaz::foo"
|
||||
|
||||
8
SWIG/Examples/test-suite/ruby/template_extend2_runme.rb
Normal file
8
SWIG/Examples/test-suite/ruby/template_extend2_runme.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require 'template_extend2'
|
||||
|
||||
a = Template_extend2::LBaz.new
|
||||
b = Template_extend2::DBaz.new
|
||||
|
||||
raise RuntimeError unless a.foo() == "lBaz::foo"
|
||||
raise RuntimeError unless b.foo() == "dBaz::foo"
|
||||
|
||||
4
SWIG/Examples/test-suite/ruby/typemap_ns_using_runme.rb
Normal file
4
SWIG/Examples/test-suite/ruby/typemap_ns_using_runme.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
require 'typemap_ns_using'
|
||||
|
||||
raise RuntimeError unless Typemap_ns_using.spam(37) == 37
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue