ReplicationTasksStorage: Remove test-only list* methods

Tests should be accurate enough to list from the correct storage areas.
If tests aren't accurate enough when doing so, then the tests should be
improved to provide that accuracy.

The updated ReplicationIT and ReplicationFanoutIT tests should be
investigated in a follow up as tests that currently have an ambiguous
expected state for tasks. For now, they're worked around by considering
both running and waiting tasks. As integration tests, these tests
should be fixed to test behavior, not the specific implementation of
the storage layer.

Partially reverts Ie164b03579cc917f1095cfde6d77cab630f77759.

Change-Id: I021ad40e35e9f1c9d7076bb6984c864743be829f
4 files changed
tree: 91dd8637263d653ca29bbd601c1c4659b9840f9e
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD