Allow time travel in integration tests.

This commit is contained in:
akwizgran
2021-01-20 11:57:52 +00:00
committed by Torsten Grote
parent 000812bf6d
commit 17d433dd9b
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;
}