ad-freiburg / qlever

Very fast SPARQL Engine, which can handle very large knowledge graphs like the complete Wikidata, offers context-sensitive autocompletion for SPARQL queries, and allows combination with text search. It's faster than engines like Blazegraph or Virtuoso, especially for queries involving large result sets.
Apache License 2.0
417 stars 52 forks source link

Implement simpler matchers for IdTables #1473

Closed joka921 closed 2 months ago

joka921 commented 2 months ago

IdTables are very commonly tests in QLever's test, but are not copyable and somewhat hard to set up because of their two-dimensional structure. This PR adds several helpers to easily test IdTables using GTest/GMock inside the IdTableHelpers.h file and uses them in several unit tests, making these tests much simpler.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.49%. Comparing base (e1cf7d0) to head (8576fb6). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1473 +/- ## ========================================== - Coverage 89.50% 89.49% -0.02% ========================================== Files 347 347 Lines 25579 25579 Branches 3439 3439 ========================================== - Hits 22895 22892 -3 Misses 1494 1494 - Partials 1190 1193 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud