Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bonita
bonita-studio
Commits
b5a9124c
Commit
b5a9124c
authored
Jan 08, 2016
by
rbioteau
Browse files
Revert "wait for repository initialization before starting engine"
This reverts commit
0fa6ae0f
.
parent
d4009f56
Changes
1
Hide whitespace changes
Inline
Side-by-side
bundles/plugins/org.bonitasoft.studio.common.repository/src-test/java/org/bonitasoft/studio/common/repository/RepositoryTest.java
View file @
b5a9124c
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment