From a981a2450a834370db511d8afa63da1c453847d9 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Tue, 11 Oct 2011 12:01:01 +1000 Subject: [PATCH] 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 Reviewed-by: Rohan McGovern --- .../patternistexamples/tst_patternistexamples.cpp | 20 ++++++++++---------- 1 file 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" } } -- 2.7.4