projects
/
web/konrad/chester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
more convenient and flexible implementation of dptr;
[web/konrad/chester.git]
/
tests
/
dptrtest.cpp
diff --git
a/tests/dptrtest.cpp
b/tests/dptrtest.cpp
index
273106c
..
9fe6620
100644
(file)
--- 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