aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <[email protected]>2017-05-25 19:40:14 +0200
committerPino Toscano <[email protected]>2017-05-25 19:40:14 +0200
commit63c6f6d874ee08e888050c1ab7ca98e087e405ab (patch)
treefb4f94398d96f7e18008558d249f01eb25ae29eb
parent45afaadb19f67424857ed16ee58ebe03308d84c1 (diff)
tests: fix order of items in javaworld.xml.expected
Commit d02eaadfc364667856c132d3cdaa0ffc251fc947 switches from qSort to std::sort: this produces a different order, since - the items in this case have the same sorting index, which is -1 (see sortListToMatchSequence in rdf/document.cpp), because their id's do not match the id's of the sequence - std::sort does nothing, since the list is "already sorted" Thus, change the order of the items in the debug output of the resulting document to match the order of the items in the RDF document.
-rw-r--r--autotests/rdf/javaworld.xml.expected109
1 files changed, 54 insertions, 55 deletions
diff --git a/autotests/rdf/javaworld.xml.expected b/autotests/rdf/javaworld.xml.expected
index 3c63a7b..3c732a9 100644
--- a/autotests/rdf/javaworld.xml.expected
+++ b/autotests/rdf/javaworld.xml.expected
@@ -4,46 +4,6 @@ link: #http://www.javaworld.com/features/index.html#
description: #JW RSS feed for Featured Articles#
copyright: #Copyright(C) 1994 - 2012 Javaworld#
# Item begin ######################
-id: #http://www.javaworld.com//javaworld/jw-02-2012/120228-modernizing-it.html#
-title: #Electric Cloud CEO: We automate agile development#
-link: #http://www.javaworld.com/javaworld/jw-02-2012/120228-modernizing-it.html#
-description: #An explosion of tools and platforms is making app dev much more complex. Mike Maciag, CEO of Electric Cloud, offers cross-platform workflow and automation to rationalize it all.#
-datePublished: #Tue Feb 28 00:00:00 2012#
-dateUpdated: #Tue Feb 28 00:00:00 2012#
-# Item end ########################
-# Item begin ######################
-id: #http://www.javaworld.com//javaworld/jw-02-2012/120216-fatal-exception.html#
-title: #Google Chrome, HTML5, and the new Web platform#
-link: #http://www.javaworld.com/javaworld/jw-02-2012/120216-fatal-exception.html#
-description: #The Chrome dev team is working toward a vision of Web apps that offers a clean break from traditional websites.#
-datePublished: #Thu Feb 16 00:00:00 2012#
-dateUpdated: #Thu Feb 16 00:00:00 2012#
-# Item end ########################
-# Item begin ######################
-id: #http://www.javaworld.com//javaworld/jw-02-2012/120224-bjarne-stroustrup-interview.html#
-title: #Stroustrup reveals what&apos;s new in C++ 11#
-link: #http://www.javaworld.com/javaworld/jw-02-2012/120224-bjarne-stroustrup-interview.html#
-description: #Latest version of language isn't a major overhaul, but offers many small upgrades to appeal to different areas of development.#
-datePublished: #Fri Feb 24 00:00:00 2012#
-dateUpdated: #Fri Feb 24 00:00:00 2012#
-# Item end ########################
-# Item begin ######################
-id: #http://www.javaworld.com//javaworld/jw-02-2012/120222-node-js-tools-remake-server-side.html#
-title: #Node.js tools: Server-side JavaScript comes of age#
-link: #http://www.javaworld.com/javaworld/jw-02-2012/120222-node-js-tools-remake-server-side.html#
-description: #Node's ecosystem is growing at an exponential rate, which is only natural when you start from scratch. Still, the plethora of Node-inspired tools amount to a diverse and sustainable infrastructure, which could ultimatey redefine the web development stack.#
-datePublished: #Wed Feb 22 00:00:00 2012#
-dateUpdated: #Wed Feb 22 00:00:00 2012#
-# Item end ########################
-# Item begin ######################
-id: #http://www.javaworld.com//javaworld/jw-02-2012/120214-jtip-rss-for-android.html#
-title: #Java tip: Set up an RSS feed for your Android application#
-link: #http://www.javaworld.com/javaworld/jw-02-2012/120214-jtip-rss-for-android.html#
-description: #Get a hands-on introduction to using <code>javax.xml.parsers.SAXParser</code> to parse an RSS feed in XML format. While some familiarity with Java application development is assumed, this Java tip is suitable for developers new to Java mobile development.#
-datePublished: #Tue Feb 14 00:00:00 2012#
-dateUpdated: #Tue Feb 14 00:00:00 2012#
-# Item end ########################
-# Item begin ######################
id: #http://www.javaworld.com//javaworld/jw-01-2012/120126-fatal-exception.html#
title: #Here&apos;s how to solve America&apos;s developer shortage#
link: #http://www.javaworld.com/javaworld/jw-01-2012/120126-fatal-exception.html#
@@ -52,14 +12,6 @@ datePublished: #Thu Jan 26 00:00:00 2012#
dateUpdated: #Thu Jan 26 00:00:00 2012#
# Item end ########################
# Item begin ######################
-id: #http://www.javaworld.com//javaworld/jw-02-2012/120208-mongodb-review.html#
-title: #Flexing NoSQL: MongoDB in review#
-link: #http://www.javaworld.com/javaworld/jw-02-2012/120208-mongodb-review.html#
-description: #MongoDB shines with broad programming language support, SQL-like queries, and out-of-the-box scaling. Check the InfoWorld Review score card to see how MongoDB stacks up among NoSQL data stores.#
-datePublished: #Wed Feb 8 00:00:00 2012#
-dateUpdated: #Wed Feb 8 00:00:00 2012#
-# Item end ########################
-# Item begin ######################
id: #http://www.javaworld.com//javaworld/jw-02-2012/120201-opa-programming.html#
title: #Programming Opa: Web development, reimagined#
link: #http://www.javaworld.com/javaworld/jw-02-2012/120201-opa-programming.html#
@@ -68,6 +20,14 @@ datePublished: #Wed Feb 1 00:00:00 2012#
dateUpdated: #Wed Feb 1 00:00:00 2012#
# Item end ########################
# Item begin ######################
+id: #http://www.javaworld.com//javaworld/jw-02-2012/120202-environment-aware-maven-build.html#
+title: #Develop an environment-aware Maven build process#
+link: #http://www.javaworld.com/javaworld/jw-02-2012/120202-environment-aware-maven-build.html#
+description: #Including environment variables in your Maven build process could boost your team's efficiency at every stage of the software development lifecycle. Java developer Paul Spinelli demonstrates his custom approach to environment-aware Maven builds.#
+datePublished: #Thu Feb 2 00:00:00 2012#
+dateUpdated: #Thu Feb 2 00:00:00 2012#
+# Item end ########################
+# Item begin ######################
id: #http://www.javaworld.com//javaworld/jw-02-2012/120206-programmer-personality-types.html#
title: #Programmer personality types: 13 profiles in code#
link: #http://www.javaworld.com/javaworld/jw-02-2012/120206-programmer-personality-types.html#
@@ -76,12 +36,51 @@ datePublished: #Mon Feb 6 00:00:00 2012#
dateUpdated: #Mon Feb 6 00:00:00 2012#
# Item end ########################
# Item begin ######################
-id: #http://www.javaworld.com//javaworld/jw-02-2012/120202-environment-aware-maven-build.html#
-title: #Develop an environment-aware Maven build process#
-link: #http://www.javaworld.com/javaworld/jw-02-2012/120202-environment-aware-maven-build.html#
-description: #Including environment variables in your Maven build process could boost your team's efficiency at every stage of the software development lifecycle. Java developer Paul Spinelli demonstrates his custom approach to environment-aware Maven builds.#
-datePublished: #Thu Feb 2 00:00:00 2012#
-dateUpdated: #Thu Feb 2 00:00:00 2012#
+id: #http://www.javaworld.com//javaworld/jw-02-2012/120208-mongodb-review.html#
+title: #Flexing NoSQL: MongoDB in review#
+link: #http://www.javaworld.com/javaworld/jw-02-2012/120208-mongodb-review.html#
+description: #MongoDB shines with broad programming language support, SQL-like queries, and out-of-the-box scaling. Check the InfoWorld Review score card to see how MongoDB stacks up among NoSQL data stores.#
+datePublished: #Wed Feb 8 00:00:00 2012#
+dateUpdated: #Wed Feb 8 00:00:00 2012#
+# Item end ########################
+# Item begin ######################
+id: #http://www.javaworld.com//javaworld/jw-02-2012/120214-jtip-rss-for-android.html#
+title: #Java tip: Set up an RSS feed for your Android application#
+link: #http://www.javaworld.com/javaworld/jw-02-2012/120214-jtip-rss-for-android.html#
+description: #Get a hands-on introduction to using <code>javax.xml.parsers.SAXParser</code> to parse an RSS feed in XML format. While some familiarity with Java application development is assumed, this Java tip is suitable for developers new to Java mobile development.#
+datePublished: #Tue Feb 14 00:00:00 2012#
+dateUpdated: #Tue Feb 14 00:00:00 2012#
+# Item end ########################
+# Item begin ######################
+id: #http://www.javaworld.com//javaworld/jw-02-2012/120216-fatal-exception.html#
+title: #Google Chrome, HTML5, and the new Web platform#
+link: #http://www.javaworld.com/javaworld/jw-02-2012/120216-fatal-exception.html#
+description: #The Chrome dev team is working toward a vision of Web apps that offers a clean break from traditional websites.#
+datePublished: #Thu Feb 16 00:00:00 2012#
+dateUpdated: #Thu Feb 16 00:00:00 2012#
+# Item end ########################
+# Item begin ######################
+id: #http://www.javaworld.com//javaworld/jw-02-2012/120222-node-js-tools-remake-server-side.html#
+title: #Node.js tools: Server-side JavaScript comes of age#
+link: #http://www.javaworld.com/javaworld/jw-02-2012/120222-node-js-tools-remake-server-side.html#
+description: #Node's ecosystem is growing at an exponential rate, which is only natural when you start from scratch. Still, the plethora of Node-inspired tools amount to a diverse and sustainable infrastructure, which could ultimatey redefine the web development stack.#
+datePublished: #Wed Feb 22 00:00:00 2012#
+dateUpdated: #Wed Feb 22 00:00:00 2012#
+# Item end ########################
+# Item begin ######################
+id: #http://www.javaworld.com//javaworld/jw-02-2012/120224-bjarne-stroustrup-interview.html#
+title: #Stroustrup reveals what&apos;s new in C++ 11#
+link: #http://www.javaworld.com/javaworld/jw-02-2012/120224-bjarne-stroustrup-interview.html#
+description: #Latest version of language isn't a major overhaul, but offers many small upgrades to appeal to different areas of development.#
+datePublished: #Fri Feb 24 00:00:00 2012#
+dateUpdated: #Fri Feb 24 00:00:00 2012#
+# Item end ########################
+# Item begin ######################
+id: #http://www.javaworld.com//javaworld/jw-02-2012/120228-modernizing-it.html#
+title: #Electric Cloud CEO: We automate agile development#
+link: #http://www.javaworld.com/javaworld/jw-02-2012/120228-modernizing-it.html#
+description: #An explosion of tools and platforms is making app dev much more complex. Mike Maciag, CEO of Electric Cloud, offers cross-platform workflow and automation to rationalize it all.#
+datePublished: #Tue Feb 28 00:00:00 2012#
+dateUpdated: #Tue Feb 28 00:00:00 2012#
# Item end ########################
# Feed end ########################
-