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

Add tests to confirm detection of various integer types #122

Merged
merged 7 commits into from
Sep 16, 2022

Commits on Feb 15, 2022

  1. Add test to confirm detection of various integer types

    This list of integer types was drawn from OWL 2.
    
    At the time of this test's initial implementation, only the lexical
    error in `"zero"^^xsd:integer` was detected.
    
    References:
    * The general style of this test was adapted from
      `/test/test_extra.py`.
    
    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    78daaf9 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Configuration menu
    Copy the full SHA
    27a99d5 View commit details
    Browse the repository at this point in the history
  2. Fix name

    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    00139a3 View commit details
    Browse the repository at this point in the history
  3. Use more explicit expected-failures set

    The third test in test_integers.py now constructs Literal objects for a
    strict set-equivalence of expected failing path-value pairs.  However,
    it's not clear whether these Literals should have been constructible
    with rdflib, so this patch might revert significantly.
    
    References:
    * RDFLib/rdflib#1757
    
    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    e537319 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    f4e78da View commit details
    Browse the repository at this point in the history
  2. Import name for type checking

    With this, `test_integers.py` passes `mypy --strict`.
    
    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    292cf3f View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. Update test/test_integers.py

    fix sh.path to sh.resultPath in integers test
    ashleysommer committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    e8d3fa7 View commit details
    Browse the repository at this point in the history