seedstack / crud-addon

Business framework extension to automatically expose CRUD APIs of any DTO.
Mozilla Public License 2.0
0 stars 2 forks source link

Test Improvement + Default Resource name generator FIX #5

Closed Sherpard closed 6 years ago

Sherpard commented 6 years ago

Separates some test that was coupled together. Adds support for Default Resource name generator Adds test for Default resource name generation Removed duplicated licenses due eclipse formatting license notes Note: Requires InMemoryRepository to recognize duplicates to pass the tests seedstack/business#101

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 9


Changes Missing Coverage Covered Lines Changed/Added Lines %
rest/src/main/java/org/seedstack/crud/rest/SortParams.java 6 7 85.71%
rest/src/main/java/org/seedstack/crud/rest/BaseResource.java 16 17 94.12%
rest/src/main/java/org/seedstack/crud/rest/BaseCrudResource.java 2 4 50.0%
rest/src/main/java/org/seedstack/crud/rest/internal/CrudRestErrorCode.java 0 2 0.0%
rest/src/main/java/org/seedstack/crud/rest/ReadResource.java 29 32 90.63%
rest/src/main/java/org/seedstack/crud/rest/internal/CrudResourceGenerator.java 95 109 87.16%
<!-- Total: 211 234 90.17% -->
Totals Coverage Status
Change from base Build 8: 1.7%
Covered Lines: 218
Relevant Lines: 242

💛 - Coveralls