From d151c052d5113fbe1e8d1b921dff3b45105e94ab Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Tue, 16 Aug 2011 11:05:32 -0300 Subject: Added setTargetLangPackage and targetLangPackage methods to PrimitiveTypeEntry. Updated tests. Reviewed by Hugo Parente Reviewed by Lauro Moura --- tests/testabstractmetatype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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()); -- cgit v1.2.3