This commit is contained in:
Roberto Raggi
2009-12-07 12:00:35 +01:00
parent 9e939c1931
commit 3fb1bc46ae

View File

@@ -82,7 +82,7 @@ void tst_Lookup::base_class_defined_1()
QCOMPARE(doc->globalSymbolCount(), 2U); QCOMPARE(doc->globalSymbolCount(), 2U);
Snapshot snapshot; Snapshot snapshot;
snapshot.insert(doc->fileName(), doc); snapshot.insert(doc);
Document::Ptr emptyDoc = Document::create("<empty>"); Document::Ptr emptyDoc = Document::create("<empty>");
@@ -133,7 +133,7 @@ void tst_Lookup::simple_class_1()
QCOMPARE(doc->globalSymbolCount(), 2U); QCOMPARE(doc->globalSymbolCount(), 2U);
Snapshot snapshot; Snapshot snapshot;
snapshot.insert(doc->fileName(), doc); snapshot.insert(doc);
Document::Ptr emptyDoc = Document::create("<empty>"); Document::Ptr emptyDoc = Document::create("<empty>");
@@ -199,7 +199,7 @@ void tst_Lookup::class_with_baseclass()
QCOMPARE(doc->globalSymbolCount(), 3U); QCOMPARE(doc->globalSymbolCount(), 3U);
Snapshot snapshot; Snapshot snapshot;
snapshot.insert(doc->fileName(), doc); snapshot.insert(doc);
Document::Ptr emptyDoc = Document::create("<empty>"); Document::Ptr emptyDoc = Document::create("<empty>");
@@ -266,7 +266,7 @@ void tst_Lookup::class_with_protocol_with_protocol()
QCOMPARE(doc->globalSymbolCount(), 4U); QCOMPARE(doc->globalSymbolCount(), 4U);
Snapshot snapshot; Snapshot snapshot;
snapshot.insert(doc->fileName(), doc); snapshot.insert(doc);
Document::Ptr emptyDoc = Document::create("<empty>"); Document::Ptr emptyDoc = Document::create("<empty>");