X-Git-Url: http://git.silmor.de/gitweb/?p=web%2Fkonrad%2Fchester.git;a=blobdiff_plain;f=tests%2Fdptrtest.cpp;fp=tests%2Fdptrtest.cpp;h=9fe66208210d4039268ba7309ae34f7abf2f91f7;hp=273106cde97b56d48a618b12bd7af447441d424c;hb=403108e7d6979a8ef4dce3dd4f23341d6fb1fada;hpb=1a6e626b9c76f45fc1c330231d3c449305f32db9 diff --git a/tests/dptrtest.cpp b/tests/dptrtest.cpp index 273106c..9fe6620 100644 --- a/tests/dptrtest.cpp +++ b/tests/dptrtest.cpp @@ -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