use of org.eclipse.egit.core.internal.indexdiff.IndexDiffChangedListener in project egit by eclipse.
the class IndexDiffCacheTest method setUp.
@Override
@Before
public void setUp() throws Exception {
super.setUp();
testRepository = new TestRepository(gitDir);
repository = testRepository.getRepository();
listenerCalled = new AtomicBoolean(false);
indexDiffDataResult = new AtomicReference<>(null);
indexDiffListener = new IndexDiffChangedListener() {
@Override
public void indexDiffChanged(Repository repo, IndexDiffData indexDiffData) {
listenerCalled.set(true);
indexDiffDataResult.set(indexDiffData);
}
};
}
Aggregations