io7m / android

The Android client for Library Simplified
Other
0 stars 0 forks source link

Update unit tests for OPDS availability #2

Closed io7m closed 6 years ago

io7m commented 6 years ago

Someone changed how OPDS availability is calculated and didn't bother to update any of the unit tests. Now, all of the OPDS availability-related unit tests fail and it's not clear if it's because the code is wrong, or because the OPDS entry specimens need to be changed to match what's actually served now.

io7m commented 6 years ago

This seems to be the source of most of the test suite failures; the tests operate against OPDS data, and the code itself doesn't interpret the OPDS data the same way it used to.

io7m commented 6 years ago

Related #1

io7m commented 6 years ago

In almost every case in the test suite, it's because the OPDS parser has been changed so that it can't handle any link that isn't an open access link, and doesn't have an indirect acquisition.

io7m commented 6 years ago

Completed.