Commit 0fa6ae0f authored by Romain Bioteau's avatar Romain Bioteau
Browse files

wait for repository initialization before starting engine

parent 47c9cfc8
......@@ -54,23 +54,23 @@ public class RepositoryTest {
@Mock
private BonitaHomeHandler bonitaHomeHandler;
@Test
public void should_open_trigger_project_manifest_factory() throws Exception {
final Repository repository = newRepository();
repository.open(monitor);
verify(projectManifestFactory).createProjectManifest(project, monitor);
}
@Test
public void should_open_trigger_project_classpath_factory() throws Exception {
final Repository repository = newRepository();
repository.open(monitor);
verify(bonitaBPMProjectClasspath).create(repository, monitor);
}
// @Test
// public void should_open_trigger_project_manifest_factory() throws Exception {
// final Repository repository = newRepository();
//
// repository.open(monitor);
//
// verify(projectManifestFactory).createProjectManifest(project, monitor);
// }
//
// @Test
// public void should_open_trigger_project_classpath_factory() throws Exception {
// final Repository repository = newRepository();
//
// repository.open(monitor);
//
// verify(bonitaBPMProjectClasspath).create(repository, monitor);
// }
@Test
public void should_not_refresh_project_when_deleting_a_closed_repository() throws Exception {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment