Polypheny-DB
Polypheny-DB copied to clipboard
Added more tests for the RequestParser class and refactored the old ones.
Summary
Added more tests for the RequestParser class of rest-interface and refactored the old ones. Changes were made in the RequestParser class to refactor and make mocking possible. With a deeper understanding of the system, more tests can be written and refactored.
Fixes: #488
Tests
Almost all methods of the class can be tested now. Also some corner cases have been handled. And necessary mocks have been introduced.
ToDo
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)