Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpguilet2017-05-16 14:32:39 +0000
committerPierre-Charles David2017-05-16 14:56:16 +0000
commit8cec6b4409d94a4d2653408dda879365c40da407 (patch)
tree23bcaf62632b10900f96d80c0c394c35294b4859 /plugins
parent6eea0a95fbcc795a2a1d52355a6ec217d5ecdb28 (diff)
downloadorg.eclipse.sirius-8cec6b4409d94a4d2653408dda879365c40da407.tar.gz
org.eclipse.sirius-8cec6b4409d94a4d2653408dda879365c40da407.tar.xz
org.eclipse.sirius-8cec6b4409d94a4d2653408dda879365c40da407.zip
[510040] Fix test
Fix test not fitting anymore to the new CreateRepresentationWizard behavior Bug: 510040 Change-Id: I33cc6bf336cafb9fed005c5dd71f45fa0822ef7e Signed-off-by: pguilet <pierre.guilet@obeo.fr>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.sirius.tests.swtbot/src/org/eclipse/sirius/tests/swtbot/CreateRepresentationFromSessionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.tests.swtbot/src/org/eclipse/sirius/tests/swtbot/CreateRepresentationFromSessionTest.java b/plugins/org.eclipse.sirius.tests.swtbot/src/org/eclipse/sirius/tests/swtbot/CreateRepresentationFromSessionTest.java
index bdc1fc3f6c..62eff4078f 100644
--- a/plugins/org.eclipse.sirius.tests.swtbot/src/org/eclipse/sirius/tests/swtbot/CreateRepresentationFromSessionTest.java
+++ b/plugins/org.eclipse.sirius.tests.swtbot/src/org/eclipse/sirius/tests/swtbot/CreateRepresentationFromSessionTest.java
@@ -134,7 +134,7 @@ public class CreateRepresentationFromSessionTest extends AbstractSiriusSwtBotGef
public void testDiagramCreationWithoutSemanticElement() {
secondWizard("WithoutSemanticElement");
SWTBotTreeItem[] allItems = bot.tree().getAllItems();
- assertEquals("The session must have 2 semantic resources.", allItems.length, 2);
+ assertEquals("The session must have 0 semantic resources.", 0, allItems.length);
for (int i = 0; i < allItems.length; i++) {
SWTBotTreeItem swtBotTreeItem = allItems[i];
for (int j = 0; j < swtBotTreeItem.getItems().length; j++) {

Back to the top