summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-11 12:01:01 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-11 05:50:58 +0200
commita981a2450a834370db511d8afa63da1c453847d9 (patch)
tree4bf14a4dde3e137dbc4eea5dae8b118e7e964342 /tests
parent90083284a05cbedd08ae4aeff0a04663aeeaae98 (diff)
downloadqtxmlpatterns-a981a2450a834370db511d8afa63da1c453847d9.tar.gz
Fix compilation of patternistexamples autotest.
This test had a number of incorrect relative paths for including snippets. Change-Id: I85061fb119faf6aff19225316d15a917746cd761 Reviewed-on: http://codereview.qt-project.org/6371 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/patternistexamples/tst_patternistexamples.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/auto/patternistexamples/tst_patternistexamples.cpp b/tests/auto/patternistexamples/tst_patternistexamples.cpp
index 610f370..e71a47d 100644
--- a/tests/auto/patternistexamples/tst_patternistexamples.cpp
+++ b/tests/auto/patternistexamples/tst_patternistexamples.cpp
@@ -221,7 +221,7 @@ static QUrl abstractURI()
{
QUrl baseURI;
QUrl relative;
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qabstracturiresolver.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qabstracturiresolver.cpp"
}
class MyValue
@@ -298,7 +298,7 @@ MyTreeModel::MyTreeModel(const QXmlNamePool &np, const QFile &) : QSimpleXmlNode
{
}
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qsimplexmlnodemodel.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qsimplexmlnodemodel.cpp"
class MyMapper
{
@@ -307,10 +307,10 @@ public:
enum OutputType
{
};
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlforwarditerator.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlforwarditerator.cpp"
};
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp"
void tst_PatternistExamples::buildSnippets() const
{
@@ -324,7 +324,7 @@ void tst_PatternistExamples::buildSnippets() const
}
{
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp"
}
{
@@ -332,19 +332,19 @@ void tst_PatternistExamples::buildSnippets() const
{
QIODevice *myOutputDevice = 0;
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp"
}
{
QIODevice *myOutputDevice = 0;
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qxmlserializer.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlserializer.cpp"
}
{
QXmlNodeModelIndex myInstance;
const char **argv = 0;
typedef MyTreeModel ChemistryNodeModel;
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlnodemodel.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlnodemodel.cpp"
}
{
@@ -352,14 +352,14 @@ void tst_PatternistExamples::buildSnippets() const
{
QIODevice *myOutputDevice = 0;
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlreceiver.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlreceiver.cpp"
}
{
QXmlQuery query;
QString localName;
QVariant value;
-#include "../../doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp"
+#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp"
}
}