Hello,

I'm creating an integration test and I'm wondering wheter there is an
easy way to retrieve an actual property value (raw value I guess) from a
local wiki.

An example from:

https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/tests/phpunit/Integration/JSONScript/TestCases/p-0413.json


                {
                        "type": "parser",
                        "about": "#12 ISO-style date with offset",
                        "subject": "Example/P0413/7",
                        "assert-store": {
                                "semantic-data": {
                                        "strictPropertyValueMatch": false,
                                        "propertyCount": 3,
                                        "propertyKeys": [
                                                "Has_date",
                                                "_SKEY",
                                                "_MDAT"
                                        ],
                                        "propertyValues": [
                                                "2000-02-11T20:00:01"
                                        ]
                                }
},


where:


{
        "page": "Example/P0413/7",
        "contents": "[[Has date::2000-02-11T22:00:01+02:00]]"
},

Summarizing, where/how can I get this: propertyValue ->
"2000-02-11T20:00:01" in a local wiki I might be testing the same thing.

Thanks!

-- 
Toni Hermoso Pulido
http://www.cau.cat
http://www.similis.cc

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to