Allow time travel in integration tests.

This commit is contained in:
akwizgran
2021-01-20 11:57:52 +00:00
parent 096249ad32
commit 73bbfe3993
7 changed files with 223 additions and 35 deletions

View File

@@ -0,0 +1,8 @@
package org.briarproject.bramble.test;
public interface TimeTravel {
void setCurrentTimeMillis(long now) throws InterruptedException;
void addCurrentTimeMillis(long add) throws InterruptedException;
}