aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-01-03 15:33:07 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:12:52 -0300
commit05f8c6272fec133e64ca0d23a1622d9c086b02b2 (patch)
tree191e3d6334ab2c4f3507e533920ada968e238adc /tests/libsample
parent214dad590fc7e9ff461f2e1fe5ea407caed98ec3 (diff)
Added test case for Bug #572.
Bug #572: Giving unicode value as 'body' argument to WebView's load method crashes python. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/libsample')
-rw-r--r--tests/libsample/echo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/echo.h b/tests/libsample/echo.h
index 40aed3047..cc35ccd1a 100644
--- a/tests/libsample/echo.h
+++ b/tests/libsample/echo.h
@@ -24,6 +24,7 @@
#define ECHO_H
#include "libsamplemacros.h"
+#include "str.h"
class ObjectType;
@@ -34,6 +35,7 @@ public:
~Echo(){}
void doNothingWithConstBool(const bool hi) {}
+ void methodWithNamedArg(const Str& string = Str("")) {}
// These method are here just for compilation test purposes
Echo& operator<<(unsigned int item) { return *this; }