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
eeb948b9
Commit
eeb948b9
authored
Sep 17, 2015
by
Aurelien Pupier
Browse files
BS-14307: Clean code: use SWTGefBotRule
parent
3e8ec832
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/org.bonitasoft.studio.diagram.test/src/org/bonitasoft/studio/diagram/test/ConvertActivityTypeWithBoundariesIT.java
View file @
eeb948b9
...
...
@@ -19,41 +19,29 @@ package org.bonitasoft.studio.diagram.test;
import
java.io.IOException
;
import
org.assertj.core.api.Assertions
;
import
org.bonitasoft.studio.common.jface.FileActionDialog
;
import
org.bonitasoft.studio.model.process.MainProcess
;
import
org.bonitasoft.studio.model.process.Pool
;
import
org.bonitasoft.studio.model.process.SendTask
;
import
org.bonitasoft.studio.model.process.ServiceTask
;
import
org.bonitasoft.studio.properties.i18n.Messages
;
import
org.bonitasoft.studio.swtbot.framework.diagram.BotProcessDiagramPerspective
;
import
org.bonitasoft.studio.swtbot.framework.rule.SWTGefBotRule
;
import
org.bonitasoft.studio.test.swtbot.util.SWTBotTestUtil
;
import
org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart
;
import
org.eclipse.swtbot.eclipse.gef.finder.SWTBotGefTestCase
;
import
org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart
;
import
org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner
;
import
org.junit.
Befor
e
;
import
org.junit.
Rul
e
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
@RunWith
(
SWTBotJunit4ClassRunner
.
class
)
public
class
ConvertActivityTypeWithBoundariesIT
extends
SWTBotGefTestCase
{
private
final
static
String
STEP_WITH_BOUNDARY_NAME
=
"Step1"
;
boolean
disablePopupState
;
@Override
@Before
public
void
setUp
()
throws
Exception
{
super
.
setUp
();
disablePopupState
=
FileActionDialog
.
getDisablePopup
();
FileActionDialog
.
setDisablePopup
(
true
);
}
@Rule
public
SWTGefBotRule
botRule
=
new
SWTGefBotRule
(
bot
);
@Override
public
void
tearDown
()
throws
Exception
{
super
.
tearDown
();
FileActionDialog
.
setDisablePopup
(
disablePopupState
);
}
private
final
static
String
STEP_WITH_BOUNDARY_NAME
=
"Step1"
;
@Test
public
void
testConvertWithRemovedTimerBoundary
()
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