Module talk:Statement/sandbox/testcases

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Wikitext usage tests

[edit]

The following should look identical:

Expected Actual
[ᵏǁʰóːsa] [ᵏǁʰóːsa]
https://lib.digitalnc.org/record/35438 https://lib.digitalnc.org/record/35438
Q1426529 Q1426529
Q43200 Q43200
some value some value
no value
c'hoari c'hoari
שלום שלום
+2004-01-02T00:00:00Z +2004-01-02T00:00:00Z
2004-01-02 2004-01-02
1972-04 1972-04
1814 1814
1727 1727
Can't sleep, clown will eat me Can't sleep, clown will eat me
https://www.flickr.com/people/24662369@N07 https://www.flickr.com/people/24662369@N07
Q33231 Q33231
It’s the BI-ble, not the Straight-ble. It’s the BI-ble, not the Straight-ble.
+2008-07-08T00:00:00Z +2008-07-08T00:00:00Z
1925-01 1925-01
1410 1410
-0700 -0700

Module usage tests

[edit]

✘[No] 1 test failed.

Name Expected Actual
✓[OK] testMainDateDay
✓[OK] testMainDateDecade
✓[OK] testMainDateMonth
✓[OK] testMainDateYear
✓[OK] testMainEntityIdBi
✓[OK] testMainEntityIdBiFromWikidata
✘[No] testMainEntityIdNovalue Module:Statement/sandbox/testcases:54: Failed to assert that nil equals expected function
✓[OK] testMainEntityIdSomevalue
✓[OK] testMainMonolingualTextBr
✓[OK] testMainMonolingualTextHe
✓[OK] testMainStringXhosa
✓[OK] testMainStringXhosaFromFullEntity
✓[OK] testMainTimeInception
✓[OK] testMainUrl
✓[OK] testQualDateBCE
✓[OK] testQualDateDecade
✓[OK] testQualDateMonth
✓[OK] testQualDateYear
✓[OK] testQualEntityIdPhotographer
✓[OK] testQualMonolingualTextInscription
✓[OK] testQualMonolingualTextInscriptionMultiple
✓[OK] testQualStringWikimediaUsername
✓[OK] testQualTimeValuedImage
✓[OK] testQualUrl