aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlinstruction
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2012-05-04 13:14:43 +0100
committerQt by Nokia <qt-info@nokia.com>2012-05-04 18:15:03 +0200
commitff55f825234dc7ba7fa1436abebd59f2c0f5e5c9 (patch)
tree63cb8c0b8fe15eea40073f7ce1b478dc669fa3bf /tests/auto/qml/qqmlinstruction
parent31abe4e2cd65f1fdf9acec29effd85e6b1af73c3 (diff)
Minor optimizations and cleanup
Change-Id: Iecbd5c46af00f649b1f1d78cdf5f2b40a2844897 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'tests/auto/qml/qqmlinstruction')
-rw-r--r--tests/auto/qml/qqmlinstruction/tst_qqmlinstruction.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/auto/qml/qqmlinstruction/tst_qqmlinstruction.cpp b/tests/auto/qml/qqmlinstruction/tst_qqmlinstruction.cpp
index d0e818f076..18b3653607 100644
--- a/tests/auto/qml/qqmlinstruction/tst_qqmlinstruction.cpp
+++ b/tests/auto/qml/qqmlinstruction/tst_qqmlinstruction.cpp
@@ -86,10 +86,6 @@ void tst_qqmlinstruction::dump()
}
{
- QQmlCompiledData::TypeReference ref;
- ref.className = "Test";
- data->types << ref;
-
QQmlCompiledData::Instruction::CreateCppObject i;
i.type = 0;
i.data = -1;
@@ -476,7 +472,7 @@ void tst_qqmlinstruction::dump()
<< "Index\tOperation\t\tData1\tData2\tData3\tComments"
<< "-------------------------------------------------------------------------------"
<< "0\t\tINIT\t\t\t0\t3\t-1\t-1"
- << "1\t\tCREATECPP\t\t\t0\t\t\t\"Test\""
+ << "1\t\tCREATECPP\t\t\t0"
<< "2\t\tSETID\t\t\t0\t\t\t\"testId\""
<< "3\t\tSET_DEFAULT"
<< "4\t\tCREATE_COMPONENT\t3"