Added more DatabaseComponent unit tests, tightened up existing tests.

This commit is contained in:
akwizgran
2013-02-07 00:29:30 +00:00
parent 3af077a4d8
commit f4675c3edd
2 changed files with 288 additions and 84 deletions

View File

@@ -259,6 +259,12 @@ public interface DatabaseComponent {
/** Removes a contact (and all associated state) from the database. */
void removeContact(ContactId c) throws DbException;
/**
* Removes a transport (and any associated configuration and local
* properties) from the database.
*/
void removeTransport(TransportId t) throws DbException;
/**
* Sets the connection reordering window for the given endoint in the given
* rotation period.