diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-11-04 13:10:53 +0100 |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-11-08 15:44:45 +0100 |
commit | d48a324d6670b14348d546db6a739ee138dab1e2 (patch) | |
tree | 865a0a552cf890d3eee7955634825ca33d0ca518 /tests/auto/qscriptengine | |
parent | 7b79a508bb16fd104ddf7d9a485d566ee2e051ba (diff) |
Add autotest that checks return value of QScriptContext::throwXXX()
The documentation says that they should return the error/value
that was thrown. When throwError() is called from a native function
call, the return value of the function will be ignored, so we need
a test that calls throwError() outside of a function context.
Reviewed-by: Jedrzej Nowacki
Diffstat (limited to 'tests/auto/qscriptengine')
0 files changed, 0 insertions, 0 deletions