Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+ store.sequesterLists() #322

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

+ store.sequesterLists() #322

wants to merge 1 commit into from

Conversation

ericprud
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant