diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-08-16 11:05:32 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:18 -0300 |
commit | d151c052d5113fbe1e8d1b921dff3b45105e94ab (patch) | |
tree | 4b4245ceed20990602ceb48981ae65b53a8c9821 /tests | |
parent | 15b355dca205090adf9fe338f02963f945263d98 (diff) |
Added setTargetLangPackage and targetLangPackage methods to PrimitiveTypeEntry.sb-0.10.6
Updated tests.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testabstractmetatype.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testabstractmetatype.cpp b/tests/testabstractmetatype.cpp index 17e5278a9..ed39ebc3b 100644 --- a/tests/testabstractmetatype.cpp +++ b/tests/testabstractmetatype.cpp @@ -38,7 +38,7 @@ void TestAbstractMetaType::testConstCharPtrType() AbstractMetaType* rtype = func->type(); // Test properties of const char* QVERIFY(rtype); - QCOMPARE(rtype->package(), QString()); + QCOMPARE(rtype->package(), QString("Foo")); QCOMPARE(rtype->name(), QString("char")); QVERIFY(rtype->isConstant()); QVERIFY(!rtype->isArray()); @@ -107,7 +107,7 @@ void TestAbstractMetaType::testCharType() AbstractMetaType* rtype = func->type(); // Test properties of const char* QVERIFY(rtype); - QCOMPARE(rtype->package(), QString()); + QCOMPARE(rtype->package(), QString("Foo")); QCOMPARE(rtype->name(), QString("char")); QVERIFY(!rtype->isConstant()); QVERIFY(!rtype->isArray()); |