summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h')
-rw-r--r--tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h
index bf01fdcfcd..3f00db5519 100644
--- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h
+++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h
@@ -136,6 +136,12 @@ template<> struct TestValueFactory<QMetaType::Short> {
template<> struct TestValueFactory<QMetaType::Char> {
static char *create() { return new char('c'); }
};
+template<> struct TestValueFactory<QMetaType::Char16> {
+ static char16_t *create() { return new char16_t('c'); }
+};
+template<> struct TestValueFactory<QMetaType::Char32> {
+ static char32_t *create() { return new char32_t('c'); }
+};
template<> struct TestValueFactory<QMetaType::ULong> {
static ulong *create() { return new ulong(ULONG_MAX); }
};