Go to file
Timo Tijhof 1a38b42241 tests: Reformat tests, evaluate status in addition to I/O
Previously we only compared output, we now evaluate
status as well.

For example test {} => {} was misleading since the reason
it roundtripped was because it is *invalid* and we replace
invalid blobs with an empty object in blob storage.

But in the API this'll never get used because getStatus
will have a fatal error in it. Which overrides the data.
The tests were previously looking in the data whilst ignoring
the return status.

Change-Id: I9809f126c1615c9bc9c28ce2d8bb7953058cbf6e
2013-05-16 01:25:09 +02:00
api API: Update/Normalise before outputting 2013-04-23 23:52:37 +00:00
resources TemplateDataBlob: Implement 'type' and 'label' 2013-05-09 02:49:56 +00:00
tests tests: Reformat tests, evaluate status in addition to I/O 2013-05-16 01:25:09 +02:00
.gitignore Add .gitreview and .gitignore 2013-02-14 15:36:56 +00:00
.gitreview Add .gitreview and .gitignore 2013-02-14 15:36:56 +00:00
spec.templatedata.json spec: Update specification for InterfaceText structure 2013-05-15 23:38:37 +02:00
TemplateData.hooks.php Add unit tests and fix implemention accordingly 2013-04-22 07:42:49 +00:00
TemplateData.i18n.php Localisation updates from http://translatewiki.net. 2013-05-15 21:10:06 +00:00
TemplateData.php TemplateDataBlob: Implement 'type' and 'label' 2013-05-09 02:49:56 +00:00
TemplateDataBlob.php TemplateDataBlob: Improve error handling 2013-05-09 07:12:05 +00:00