Add tests + small modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f961981748
commit
454b1c8ab6
12 changed files with 241 additions and 1 deletions
39
Examples/test-suite/scilab/access_change_runme.sci
Normal file
39
Examples/test-suite/scilab/access_change_runme.sci
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
exec("swigtest.start", -1);
|
||||
|
||||
try
|
||||
baseInt = new_BaseInt();
|
||||
catch
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
try
|
||||
delete_BaseInt(baseInt);
|
||||
catch
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
try
|
||||
derivedInt = new_DerivedInt();
|
||||
catch
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
try
|
||||
delete_DerivedInt(derivedInt);
|
||||
catch
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
try
|
||||
bottomInt = new_BottomInt();
|
||||
catch
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
try
|
||||
delete_BottomInt(bottomInt);
|
||||
catch
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue