in changes-patch-builder-test/src/jetbrains/buildServer/vcs/patches/ChangesPatchBuilderTest.java [270:280]
public void testSimple19() throws Exception {
checkPatch(new VcsChange[] {
new VcsChange(VcsChangeInfo.Type.DIRECTORY_REMOVED, null, "foo", "foo", "0", "1"),
new VcsChange(VcsChangeInfo.Type.DIRECTORY_ADDED, null, "foo", "foo", "1", "2"),
new VcsChange(VcsChangeInfo.Type.DIRECTORY_REMOVED, null, "foo", "foo", "2", "3"),
new VcsChange(VcsChangeInfo.Type.DIRECTORY_ADDED, null, "foo", "foo", "3", "4"),
}, new String[] {
"DELETE_DIR foo",
"CREATE_DIR foo"
});
}