Skip to content

Commit d5c378c

Browse files
committed
Remaining expansion tests copied to toRdf.
1 parent 0c0754b commit d5c378c

File tree

251 files changed

+3702
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

251 files changed

+3702
-131
lines changed

tests/expand-manifest.jsonld

Lines changed: 88 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,6 +1779,94 @@
17791779
"input": "expand/js10-in.jsonld",
17801780
"expect": "expand/js10-out.jsonld",
17811781
"option": {"specVersion": "json-ld-1.1"}
1782+
}, {
1783+
"@id": "#tl001",
1784+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1785+
"name": "Language map with null value",
1786+
"purpose": "A language map may have a null value, which is ignored",
1787+
"option": {"specVersion": "json-ld-1.1"},
1788+
"input": "expand/l001-in.jsonld",
1789+
"expect": "expand/l001-out.jsonld"
1790+
}, {
1791+
"@id": "#tli01",
1792+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1793+
"name": "@list containing @list",
1794+
"purpose": "List of lists",
1795+
"option": {"specVersion": "json-ld-1.1"},
1796+
"input": "expand/li01-in.jsonld",
1797+
"expect": "expand/li01-out.jsonld"
1798+
}, {
1799+
"@id": "#tli02",
1800+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1801+
"name": "@list containing empty @list",
1802+
"purpose": "List of lists",
1803+
"option": {"specVersion": "json-ld-1.1"},
1804+
"input": "expand/li02-in.jsonld",
1805+
"expect": "expand/li02-out.jsonld"
1806+
}, {
1807+
"@id": "#tli03",
1808+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1809+
"name": "@list containing @list (with coercion)",
1810+
"purpose": "List of lists",
1811+
"option": {"specVersion": "json-ld-1.1"},
1812+
"input": "expand/li03-in.jsonld",
1813+
"expect": "expand/li03-out.jsonld"
1814+
}, {
1815+
"@id": "#tli04",
1816+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1817+
"name": "@list containing empty @list (with coercion)",
1818+
"purpose": "List of lists",
1819+
"option": {"specVersion": "json-ld-1.1"},
1820+
"input": "expand/li04-in.jsonld",
1821+
"expect": "expand/li04-out.jsonld"
1822+
}, {
1823+
"@id": "#tli05",
1824+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1825+
"name": "coerced @list containing an array",
1826+
"purpose": "List of lists",
1827+
"option": {"specVersion": "json-ld-1.1"},
1828+
"input": "expand/li05-in.jsonld",
1829+
"expect": "expand/li05-out.jsonld"
1830+
}, {
1831+
"@id": "#tli06",
1832+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1833+
"name": "coerced @list containing an empty array",
1834+
"purpose": "List of lists",
1835+
"option": {"specVersion": "json-ld-1.1"},
1836+
"input": "expand/li06-in.jsonld",
1837+
"expect": "expand/li06-out.jsonld"
1838+
}, {
1839+
"@id": "#tli07",
1840+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1841+
"name": "coerced @list containing deep arrays",
1842+
"purpose": "List of lists",
1843+
"option": {"specVersion": "json-ld-1.1"},
1844+
"input": "expand/li07-in.jsonld",
1845+
"expect": "expand/li07-out.jsonld"
1846+
}, {
1847+
"@id": "#tli08",
1848+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1849+
"name": "coerced @list containing deep empty arrays",
1850+
"purpose": "List of lists",
1851+
"option": {"specVersion": "json-ld-1.1"},
1852+
"input": "expand/li08-in.jsonld",
1853+
"expect": "expand/li08-out.jsonld"
1854+
}, {
1855+
"@id": "#tli09",
1856+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1857+
"name": "coerced @list containing multiple lists",
1858+
"purpose": "List of lists",
1859+
"option": {"specVersion": "json-ld-1.1"},
1860+
"input": "expand/li09-in.jsonld",
1861+
"expect": "expand/li09-out.jsonld"
1862+
}, {
1863+
"@id": "#tli10",
1864+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
1865+
"name": "coerced @list containing mixed list values",
1866+
"purpose": "List of lists",
1867+
"option": {"specVersion": "json-ld-1.1"},
1868+
"input": "expand/li10-in.jsonld",
1869+
"expect": "expand/li10-out.jsonld"
17821870
}, {
17831871
"@id": "#tm001",
17841872
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
@@ -2083,94 +2171,6 @@
20832171
"option": {"specVersion": "json-ld-1.1"},
20842172
"input": "expand/pi11-in.jsonld",
20852173
"expect": "expand/pi11-out.jsonld"
2086-
}, {
2087-
"@id": "#tl001",
2088-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2089-
"name": "Language map with null value",
2090-
"purpose": "A language map may have a null value, which is ignored",
2091-
"option": {"specVersion": "json-ld-1.1"},
2092-
"input": "expand/l001-in.jsonld",
2093-
"expect": "expand/l001-out.jsonld"
2094-
}, {
2095-
"@id": "#tli01",
2096-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2097-
"name": "@list containing @list",
2098-
"purpose": "List of lists",
2099-
"option": {"specVersion": "json-ld-1.1"},
2100-
"input": "expand/li01-in.jsonld",
2101-
"expect": "expand/li01-out.jsonld"
2102-
}, {
2103-
"@id": "#tli02",
2104-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2105-
"name": "@list containing empty @list",
2106-
"purpose": "List of lists",
2107-
"option": {"specVersion": "json-ld-1.1"},
2108-
"input": "expand/li02-in.jsonld",
2109-
"expect": "expand/li02-out.jsonld"
2110-
}, {
2111-
"@id": "#tli03",
2112-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2113-
"name": "@list containing @list (with coercion)",
2114-
"purpose": "List of lists",
2115-
"option": {"specVersion": "json-ld-1.1"},
2116-
"input": "expand/li03-in.jsonld",
2117-
"expect": "expand/li03-out.jsonld"
2118-
}, {
2119-
"@id": "#tli04",
2120-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2121-
"name": "@list containing empty @list (with coercion)",
2122-
"purpose": "List of lists",
2123-
"option": {"specVersion": "json-ld-1.1"},
2124-
"input": "expand/li04-in.jsonld",
2125-
"expect": "expand/li04-out.jsonld"
2126-
}, {
2127-
"@id": "#tli05",
2128-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2129-
"name": "coerced @list containing an array",
2130-
"purpose": "List of lists",
2131-
"option": {"specVersion": "json-ld-1.1"},
2132-
"input": "expand/li05-in.jsonld",
2133-
"expect": "expand/li05-out.jsonld"
2134-
}, {
2135-
"@id": "#tli06",
2136-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2137-
"name": "coerced @list containing an empty array",
2138-
"purpose": "List of lists",
2139-
"option": {"specVersion": "json-ld-1.1"},
2140-
"input": "expand/li06-in.jsonld",
2141-
"expect": "expand/li06-out.jsonld"
2142-
}, {
2143-
"@id": "#tli07",
2144-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2145-
"name": "coerced @list containing deep arrays",
2146-
"purpose": "List of lists",
2147-
"option": {"specVersion": "json-ld-1.1"},
2148-
"input": "expand/li07-in.jsonld",
2149-
"expect": "expand/li07-out.jsonld"
2150-
}, {
2151-
"@id": "#tli08",
2152-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2153-
"name": "coerced @list containing deep empty arrays",
2154-
"purpose": "List of lists",
2155-
"option": {"specVersion": "json-ld-1.1"},
2156-
"input": "expand/li08-in.jsonld",
2157-
"expect": "expand/li08-out.jsonld"
2158-
}, {
2159-
"@id": "#tli09",
2160-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2161-
"name": "coerced @list containing multiple lists",
2162-
"purpose": "List of lists",
2163-
"option": {"specVersion": "json-ld-1.1"},
2164-
"input": "expand/li09-in.jsonld",
2165-
"expect": "expand/li09-out.jsonld"
2166-
}, {
2167-
"@id": "#tli10",
2168-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
2169-
"name": "coerced @list containing mixed list values",
2170-
"purpose": "List of lists",
2171-
"option": {"specVersion": "json-ld-1.1"},
2172-
"input": "expand/li10-in.jsonld",
2173-
"expect": "expand/li10-out.jsonld"
21742174
}, {
21752175
"@id": "#tpr01",
21762176
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],

0 commit comments

Comments
 (0)