fixed test case: dynamic_casts, exception_partial_info, li_std_string, size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6ffd26cc1e
commit
e545d7b957
6 changed files with 77 additions and 10 deletions
|
|
@ -49,14 +49,14 @@ assert(ok==false and type(ex)=="string") -- failed & threw string
|
|||
ok,ex=pcall(test_const_reference_throw)
|
||||
assert(ok==false and type(ex)=="string") -- failed & threw string
|
||||
|
||||
-- const ptrs are thrown as str::string**
|
||||
-- not quite right
|
||||
-- const ptrs are now converted to lua strings
|
||||
-- they used to be std::string*
|
||||
ok,ex=pcall(test_const_pointer_throw)
|
||||
assert(ok==false and type(ex)=="userdata") -- failed & threw object
|
||||
assert(ok==false and type(ex)=="string") -- failed & threw object
|
||||
|
||||
-- ditto non const ptrs
|
||||
ok,ex=pcall(test_pointer_throw)
|
||||
assert(ok==false and type(ex)=="userdata") -- failed & threw object
|
||||
assert(ok==false and type(ex)=="string") -- failed & threw object
|
||||
|
||||
-- testing std::string variables
|
||||
-- Global variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue