forked from qt-creator/qt-creator
Amend gdbdebugger tests (Mac blackteam testing)
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__llvm__)
|
#if defined(__GNUC__) && !defined(__llvm__) && !defined(Q_OS_MAC)
|
||||||
# define USE_GCC_EXT 1
|
# define USE_GCC_EXT 1
|
||||||
# include <hash_set>
|
# include <hash_set>
|
||||||
#endif
|
#endif
|
||||||
@@ -482,6 +482,7 @@ QHash<int, float> testQHash()
|
|||||||
|
|
||||||
void testQImage()
|
void testQImage()
|
||||||
{
|
{
|
||||||
|
// only works with Python dumper
|
||||||
QImage im(QSize(200, 200), QImage::Format_RGB32);
|
QImage im(QSize(200, 200), QImage::Format_RGB32);
|
||||||
im.fill(QColor(200, 100, 130).rgba());
|
im.fill(QColor(200, 100, 130).rgba());
|
||||||
QPainter pain;
|
QPainter pain;
|
||||||
@@ -881,6 +882,7 @@ void testQPixmap()
|
|||||||
|
|
||||||
void testQRegion()
|
void testQRegion()
|
||||||
{
|
{
|
||||||
|
// only works with Python dumper
|
||||||
QRegion region;
|
QRegion region;
|
||||||
region += QRect(100, 100, 200, 200);
|
region += QRect(100, 100, 200, 200);
|
||||||
region += QRect(300, 300, 400, 500);
|
region += QRect(300, 300, 400, 500);
|
||||||
@@ -1163,6 +1165,7 @@ std::set<int> testStdSet()
|
|||||||
|
|
||||||
std::stack<int> testStdStack()
|
std::stack<int> testStdStack()
|
||||||
{
|
{
|
||||||
|
// only works with Python dumper
|
||||||
std::stack<int *> plist1;
|
std::stack<int *> plist1;
|
||||||
plist1.push(new int(1));
|
plist1.push(new int(1));
|
||||||
plist1.push(0);
|
plist1.push(0);
|
||||||
|
Reference in New Issue
Block a user