more convenient and flexible implementation of dptr;
[web/konrad/chester.git] / tests / dptrtest.cpp
index 273106c..9fe6620 100644 (file)
@@ -42,5 +42,11 @@ void DPtrTest::sharedDP()
        QCOMPARE(o3.num(),5);
 }
 
+void DPtrTest::noncopyDP()
+{
+       ClassWithNDptr np;
+       QCOMPARE(np.toString(),(QString)"QObject");
+}
+
 
 QTEST_MAIN(DPtrTest)
\ No newline at end of file