more %ignore tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ed85b98a2d
commit
263b2af0c5
1 changed files with 24 additions and 3 deletions
|
|
@ -25,19 +25,40 @@ try:
|
|||
error = 1
|
||||
except:
|
||||
error = 0
|
||||
if error: raise RuntimeError,"ignore is not working"
|
||||
if error: raise RuntimeError,"Foo::Foo ignore is not working"
|
||||
|
||||
try:
|
||||
f = default_args.Foo(1,2)
|
||||
error = 1
|
||||
except:
|
||||
error = 0
|
||||
if error: raise RuntimeError,"ignore is not working"
|
||||
if error: raise RuntimeError,"Foo::Foo ignore is not working"
|
||||
|
||||
try:
|
||||
f = default_args.Foo(1,2,3)
|
||||
error = 1
|
||||
except:
|
||||
error = 0
|
||||
if error: raise RuntimeError,"ignore is not working"
|
||||
if error: raise RuntimeError,"Foo::Foo ignore is not working"
|
||||
|
||||
try:
|
||||
m = f.meth(1)
|
||||
error = 1
|
||||
except:
|
||||
error = 0
|
||||
if error: raise RuntimeError,"Foo::meth ignore is not working"
|
||||
|
||||
try:
|
||||
m = f.meth(1,2)
|
||||
error = 1
|
||||
except:
|
||||
error = 0
|
||||
if error: raise RuntimeError,"Foo::meth ignore is not working"
|
||||
|
||||
try:
|
||||
m = f.meth(1,2,3)
|
||||
error = 1
|
||||
except:
|
||||
error = 0
|
||||
if error: raise RuntimeError,"Foo::meth ignore is not working"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue