public class ChangeRecorder extends Object implements WorkingTreeModifiedListener
WorkingTreeModifiedListener
that can be used in tests to check
expected events.Constructor and Description |
---|
ChangeRecorder() |
Modifier and Type | Method and Description |
---|---|
void |
assertEvent(String[] expectedModified,
String[] expectedDeleted) |
void |
assertNoEvent() |
void |
onWorkingTreeModified(WorkingTreeModifiedEvent event)
Respond to working tree modifications.
|
public static final String[] EMPTY
public void onWorkingTreeModified(WorkingTreeModifiedEvent event)
WorkingTreeModifiedListener
onWorkingTreeModified
in interface WorkingTreeModifiedListener
event
- a WorkingTreeModifiedEvent
object.public void assertNoEvent()
Copyright © 2020 Eclipse JGit Project. All rights reserved.