[MediaWiki-commits] [Gerrit] Prepare RDF test data for new data-values/time release - change (mediawiki...Wikibase)

2015-04-20 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Prepare RDF test data for new data-values/time release
..


Prepare RDF test data for new data-values/time release

This is done in preparation for the comming release 0.7 of
data-values/time. The year in a TimeValue will always be padded to
have 4 digits, but additional leading zeros will be trimmed. By
using test data that already comply to this convention the tests
become (almost) independent of the time component's version.

Bug: T96135
Bug: T96137
Change-Id: I9d2d4c9757a706e2378fa7c78635f189e5ad60f4
---
M repo/tests/phpunit/data/rdf/Q4.json
M repo/tests/phpunit/data/rdf/Q4_claims.nt
M repo/tests/phpunit/data/rdf/Q4_values.nt
M repo/tests/phpunit/data/rdf/Q6.json
M repo/tests/phpunit/data/rdf/Q6_qualifiers.nt
M repo/tests/phpunit/data/rdf/Q7.json
M repo/tests/phpunit/data/rdf/Q7_Q9_dedup.nt
M repo/tests/phpunit/data/rdf/Q7_references.nt
M repo/tests/phpunit/data/rdf/Q7_refs.nt
M repo/tests/phpunit/data/rdf/Q8.json
M repo/tests/phpunit/data/rdf/Q8_baddates.nt
M repo/tests/phpunit/data/rdf/Q9.json
M repo/tests/phpunit/data/rdf/dump_refs.nt
13 files changed, 202 insertions(+), 202 deletions(-)

Approvals:
  Daniel Kinzler: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/tests/phpunit/data/rdf/Q4.json 
b/repo/tests/phpunit/data/rdf/Q4.json
index 84e5229..d4a6660 100644
--- a/repo/tests/phpunit/data/rdf/Q4.json
+++ b/repo/tests/phpunit/data/rdf/Q4.json
@@ -175,7 +175,7 @@
 "datatype": "time",
 "datavalue": {
 "value": {
-"time": "-200-00-00T00:00:00Z",
+"time": "-0200-00-00T00:00:00Z",
 "timezone": 0,
 "before": 0,
 "after": 0,
diff --git a/repo/tests/phpunit/data/rdf/Q4_claims.nt 
b/repo/tests/phpunit/data/rdf/Q4_claims.nt
index bdeb059..ea212ca 100644
--- a/repo/tests/phpunit/data/rdf/Q4_claims.nt
+++ b/repo/tests/phpunit/data/rdf/Q4_claims.nt
@@ -61,7 +61,7 @@
 

  
 .
 

  
 .
 

  
 .
-
  
 .
+
  
 .
 

  
"-0200-01-01T00:00:00Z"^^ .
 

  
 .
 

  
 .
@@ -86,8 +86,8 @@
  
 
"+19.766459987520822323858737945556640625"^^
 .
  
 "1" .
  
 
"+19.768999835154085303656756877899169921875"^^
 .
- 
 
 .
- 
 
 .
- 
 
"9"^^ .
- 
 
"-0200-01-01T00:00:00Z"^^ .
- 


[MediaWiki-commits] [Gerrit] Prepare RDF test data for new data-values/time release - change (mediawiki...Wikibase)

2015-04-15 Thread WMDE
Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/204258

Change subject: Prepare RDF test data for new data-values/time release
..

Prepare RDF test data for new data-values/time release

This is done in preparation for the comming release 0.7 of
data-values/time. The year in a TimeValue will always be padded to
have 4 digits, but additional leading zeros will be trimmed. By
using test data that already comply to this convention the tests
become (almost) independent of the time component's version.

Bug: T96135
Bug: T96137
Change-Id: I9d2d4c9757a706e2378fa7c78635f189e5ad60f4
---
M repo/tests/phpunit/data/rdf/Q4.json
M repo/tests/phpunit/data/rdf/Q4_claims.nt
M repo/tests/phpunit/data/rdf/Q4_values.nt
M repo/tests/phpunit/data/rdf/Q6.json
M repo/tests/phpunit/data/rdf/Q6_qualifiers.nt
M repo/tests/phpunit/data/rdf/Q7.json
M repo/tests/phpunit/data/rdf/Q7_Q9_dedup.nt
M repo/tests/phpunit/data/rdf/Q7_references.nt
M repo/tests/phpunit/data/rdf/Q7_refs.nt
M repo/tests/phpunit/data/rdf/Q8.json
M repo/tests/phpunit/data/rdf/Q8_baddates.nt
M repo/tests/phpunit/data/rdf/Q9.json
M repo/tests/phpunit/data/rdf/dump_refs.nt
13 files changed, 208 insertions(+), 208 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/58/204258/1

diff --git a/repo/tests/phpunit/data/rdf/Q4.json 
b/repo/tests/phpunit/data/rdf/Q4.json
index 84e5229..d4a6660 100644
--- a/repo/tests/phpunit/data/rdf/Q4.json
+++ b/repo/tests/phpunit/data/rdf/Q4.json
@@ -175,7 +175,7 @@
 "datatype": "time",
 "datavalue": {
 "value": {
-"time": "-200-00-00T00:00:00Z",
+"time": "-0200-00-00T00:00:00Z",
 "timezone": 0,
 "before": 0,
 "after": 0,
diff --git a/repo/tests/phpunit/data/rdf/Q4_claims.nt 
b/repo/tests/phpunit/data/rdf/Q4_claims.nt
index bdeb059..ea212ca 100644
--- a/repo/tests/phpunit/data/rdf/Q4_claims.nt
+++ b/repo/tests/phpunit/data/rdf/Q4_claims.nt
@@ -61,7 +61,7 @@
 

  
 .
 

  
 .
 

  
 .
-
  
 .
+
  
 .
 

  
"-0200-01-01T00:00:00Z"^^ .
 

  
 .
 

  
 .
@@ -86,8 +86,8 @@
  
 
"+19.766459987520822323858737945556640625"^^
 .
  
 "1" .
  
 
"+19.768999835154085303656756877899169921875"^^
 .
- 
 
 .
- 
 
 .
- 
 
"9"^^ .
- 
 
"-0200-01-01T00:00:00Z"^^ .
-