debugger: add QXmlAttributes manual test

This commit is contained in:
hjk
2011-03-29 14:57:15 +02:00
parent 7f34b5008b
commit f130cd16a8
5 changed files with 147 additions and 4 deletions

View File

@@ -35,7 +35,7 @@
//template <typename T> class B; B foo() {}
#include "simple_gdbtest_app.h"
#include "../deeper/simple_gdbtest_app.h"
#include <QtCore/QDebug>
#include <QtCore/QDateTime>
@@ -76,6 +76,8 @@
#include <QtScript/QScriptEngine>
#include <QtScript/QScriptValue>
#include <QtXml/QXmlAttributes>
#include <QtNetwork/QHostAddress>
#include <deque>
@@ -1236,6 +1238,16 @@ void testQSharedPointer()
}
#endif
void testQXmlAttributes()
{
QXmlAttributes atts;
atts.append("name1", "uri1", "localPart1", "value1");
atts.append("name2", "uri2", "localPart2", "value2");
atts.append("name3", "uri3", "localPart3", "value3");
int n = atts.count();
++n;
}
void stringRefTest(const QString &refstring)
{
Q_UNUSED(refstring);
@@ -2547,6 +2559,7 @@ void testMPI()
int main(int argc, char *argv[])
{
testQXmlAttributes();
testQRegExp();
testInlineBreakpoints();
testLongEvaluation();