reenable missing INPUT/OUTPUT, and add tests for std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
81bf4de348
commit
829cd3a908
7 changed files with 38 additions and 11 deletions
|
|
@ -113,3 +113,9 @@ if li_std_string.cvar.Structure_StaticMemberString2 != s:
|
|||
if li_std_string.cvar.Structure_ConstStaticMemberString != "const static member string":
|
||||
raise RuntimeError, "ConstStaticMemberString test"
|
||||
|
||||
|
||||
if li_std_string.test_reference_input("hello") != "hello":
|
||||
raise RuntimeError
|
||||
s = li_std_string.test_reference_inout("hello")
|
||||
if s != "hellohello":
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue