Commit 778108eb authored by hjk's avatar hjk Committed by hjk

debugger: add an (inactive) manual test for the std::unique_ptr dumper

Change-Id: I4876bc81514e48ee61ee17ac8933d71c6a82b545
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 87de8197
......@@ -163,6 +163,7 @@ void dummyStatement(...) {}
#include <iterator>
#include <fstream>
#include <map>
#include <memory>
#include <list>
#include <limits>
#include <set>
......@@ -2647,6 +2648,27 @@ namespace stdmap {
} // namespace stdmap
namespace stdptr {
void testStdUniquePtr()
{
#ifdef USE_CXX11
std::unique_ptr<int> p(new 32);
BREAK_HERE;
// Check p 32 std::unique_ptr<int>.
// Continue.
dummyStatement(&p);
#endif
}
void testStdPtr()
{
testStdUniquePtr();
}
} // namespace stdptr
namespace stdset {
void testStdSetInt()
......@@ -5897,6 +5919,7 @@ int main(int argc, char *argv[])
stdstream::testStdStream();
stdstring::testStdString();
stdvector::testStdVector();
stdptr::testStdPointer();
qbytearray::testQByteArray();
qdatetime::testDateTime();
......
......@@ -25,6 +25,7 @@ maemo5 {
exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += USE_PRIVATE
exists(/usr/include/boost/optional.hpp): DEFINES += USE_BOOST
exists(/usr/include/eigen2/Eigen/Core): DEFINES += USE_EIGEN
false: DEFINES += USE_CXX11
# Use for semi-automated testing
#DEFINES += USE_AUTORUN=1
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