Search in sources :

Example 1 with LogProfilerListener

use of com.google.copybara.profiler.LogProfilerListener in project copybara by google.

the class AbstractGithubApiTest method setUpFamework.

@Before
public void setUpFamework() throws Exception {
    Profiler profiler = new Profiler(Ticker.systemTicker());
    profiler.init(ImmutableList.of(new LogProfilerListener()));
    api = new GithubApi(getTransport(), profiler);
}
Also used : Profiler(com.google.copybara.profiler.Profiler) GithubApi(com.google.copybara.git.github.api.GithubApi) LogProfilerListener(com.google.copybara.profiler.LogProfilerListener) Before(org.junit.Before)

Aggregations

GithubApi (com.google.copybara.git.github.api.GithubApi)1 LogProfilerListener (com.google.copybara.profiler.LogProfilerListener)1 Profiler (com.google.copybara.profiler.Profiler)1 Before (org.junit.Before)1