rdflib.js
rdflib.js copied to clipboard
+ store.sequesterLists()
38 tests:
./node_modules/.bin/mocha --growl --compilers js:@babel/register tests/unit/store-sequesterLists.js
expect:
(node:17834) DeprecationWarning: "--compilers" will be removed in a future version of Mocha; see https://git.io/vdcSr for more info
Store.sequesterLists()
An rdflib store containing a well-formed rdf:Collection as subject
sequesterLists with failParam
✓ should not delete triples
✓ should not call failParam
✓ should generate a list of Collections
sequesterLists without failParam
✓ should remove the first/rest triples and return the list members
✓ should generate a list of Collections
An rdflib store containing a well-formed rdf:Collection as object
sequesterLists with failParam
✓ should not delete triples
✓ should not call failParam
✓ should generate a list of Collections
sequesterLists without failParam
✓ should remove the first/rest triples and return the list members
✓ should generate a list of Collections
An rdflib store containing a rdf:Collection with multiple rdf:first arcs on head
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should generate an empty list of Collections
An rdflib store containing a rdf:Collection with multiple rdf:first arcs on tail
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should generate an empty list of Collections
An rdflib store containing a rdf:Collection with multiple rdf:rest arcs on head
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should generate an empty list of Collections
An rdflib store containing a rdf:Collection with multiple rdf:rest arcs on tail
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should generate an empty list of Collections
An rdflib store containing a rdf:Collection with non-list arcs out
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should generate an empty list of Collections
An rdflib store containing a rdf:Collection with multiple incoming rdf:rest arcs
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should generate an empty list of Collections
An rdflib store containing a rdf:Collection with co-references out of head
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should generate an empty list of Collections
An rdflib store containing a rdf:Collection with co-references into head
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should generate an empty list of Collections
An rdflib store containing a rdf:Collection spread across graphs
sequesterLists with failParam
✓ should call failParam
✓ should not generate a list of Collections
sequesterLists without failParam
✓ should not delete triples
✓ should generate an empty list of Collections
38 passing (57ms)