Commit 11f202df authored by Boudewijn Rempt's avatar Boudewijn Rempt

Unbreak the document saving tests

Deleting the document in a test gives problems, so leak it for now
parent ecd34e99
......@@ -57,7 +57,7 @@ void KisKraSaverTest::testRoundTrip()
KisCountVisitor cv1(list, KoProperties());
doc->image()->rootLayer()->accept(cv1);
delete doc;
//delete doc;
KisPart2 part;
KisDoc2 doc2(&part);
......
......@@ -75,7 +75,7 @@ void KisKraSaveXmlVisitorTest::testCreateDomDocument()
QCOMPARE((int)visitor.m_count, (int)cv.count());
delete doc;
//delete doc;
}
QTEST_KDEMAIN(KisKraSaveXmlVisitorTest, GUI)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment