integration tests for modifications

This commit is contained in:
Mohamed Karray
2018-09-13 17:29:52 +02:00
parent 6c53675e2c
commit 188d2d8cef
7 changed files with 277 additions and 9 deletions

View File

@@ -42,6 +42,7 @@ import sonia.scm.repository.HgHookManager;
import sonia.scm.repository.HgRepositoryHandler;
import sonia.scm.repository.Repository;
import sonia.scm.repository.api.Command;
import sonia.scm.repository.api.CommandNotSupportedException;
//~--- JDK imports ------------------------------------------------------------
@@ -201,6 +202,16 @@ public class HgRepositoryServiceProvider extends RepositoryServiceProvider
return new HgLogCommand(context, repository);
}
/**
* Get the corresponding {@link ModificationsCommand} implemented from the Plugins
*
* @return the corresponding {@link ModificationsCommand} implemented from the Plugins
* @throws CommandNotSupportedException if there is no Implementation
*/
public ModificationsCommand getModificationsCommand() {
return new HgModificationsCommand(context,repository);
}
/**
* Method description
*