-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I12e051504d6ad85d97415366a579e79775505460 Signed-off-by: Georgiana-Elena ECOBICI <georgiana-elena.ecobici@thalesgroup.com> Co-authored-by: Georgiana-Elena ECOBICI <georgiana-elena.ecobici@thalesgroup.com>
- Loading branch information
1 parent
1f90d7a
commit fbf7704
Showing
20 changed files
with
8,812 additions
and
8,427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12,118 changes: 6,116 additions & 6,002 deletions
12,118
tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.aird
Large diffs are not rendered by default.
Oops, something went wrong.
4,641 changes: 2,373 additions & 2,268 deletions
4,641
.../org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.melodymodeller
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 38 additions & 27 deletions
65
...apella/scenario/editor/ju/testcases/DeleteCombinedFragmentFromXtextToDiagramTestCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,38 @@ | ||
package org.polarsys.capella.scenario.editor.ju.testcases; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
import org.polarsys.capella.scenario.editor.ju.util.TextualScenarioTestFramework; | ||
|
||
public class DeleteCombinedFragmentFromXtextToDiagramTestCase extends TextualScenarioTestFramework { | ||
|
||
public static final String deleteCombinedFragmentSimpleDiagramName = "[FS] Capability 1 Combined Fragments"; | ||
public static final String deleteCombinedFragmentSimpleFileContentExpected = "[FS]_Capability_1_Combined_Fragments"; | ||
public static final String deleteCombinedFragmentESDiagramName = "[ES] Capability 1 Combined Fragments"; | ||
public static final String deleteCombinedFragmentESFileContentExpected = "[ES]_Capability_1_Combined_Fragments"; | ||
|
||
@Override | ||
public void test() throws Exception { | ||
init(); | ||
List<String> elementsNew = new ArrayList<String>(); | ||
|
||
testUpdateDiagram(deleteCombinedFragmentSimpleDiagramName, deleteCombinedFragmentSimpleFileContentExpected, | ||
"[FS]_Capability_1_Combined_Fragments_New", elementsNew); | ||
testUpdateDiagram(deleteCombinedFragmentESDiagramName, deleteCombinedFragmentESFileContentExpected, | ||
"[ES]_Capability_1_Combined_Fragments_New", elementsNew); | ||
} | ||
|
||
} | ||
/******************************************************************************* | ||
* Copyright (c) 2020 THALES GLOBAL SERVICES. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Thales - initial API and implementation | ||
*******************************************************************************/ | ||
package org.polarsys.capella.scenario.editor.ju.testcases; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import org.polarsys.capella.scenario.editor.ju.util.TextualScenarioTestFramework; | ||
|
||
public class DeleteCombinedFragmentFromXtextToDiagramTestCase extends TextualScenarioTestFramework { | ||
|
||
public static final String deleteCombinedFragmentSimpleDiagramName = "[FS] Capability 1 Combined Fragments"; | ||
public static final String deleteCombinedFragmentSimpleFileContentExpected = "[FS]_Capability_1_Combined_Fragments"; | ||
public static final String deleteCombinedFragmentESDiagramName = "[ES] Capability 1 Combined Fragments"; | ||
public static final String deleteCombinedFragmentESFileContentExpected = "[ES]_Capability_1_Combined_Fragments"; | ||
|
||
@Override | ||
public void test() throws Exception { | ||
init(); | ||
List<String> elementsNew = new ArrayList<String>(); | ||
|
||
testUpdateDiagram(deleteCombinedFragmentSimpleDiagramName, deleteCombinedFragmentSimpleFileContentExpected, | ||
"[FS]_Capability_1_Combined_Fragments_New", elementsNew); | ||
testUpdateDiagram(deleteCombinedFragmentESDiagramName, deleteCombinedFragmentESFileContentExpected, | ||
"[ES]_Capability_1_Combined_Fragments_New", elementsNew); | ||
} | ||
|
||
} |
57 changes: 34 additions & 23 deletions
57
...g/polarsys/capella/scenario/editor/ju/testcases/DeleteOperandsXtextToDiagramTestCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
package org.polarsys.capella.scenario.editor.ju.testcases; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
import org.polarsys.capella.scenario.editor.ju.util.TextualScenarioTestFramework; | ||
|
||
public class DeleteOperandsXtextToDiagramTestCase extends TextualScenarioTestFramework { | ||
|
||
public static final String deleteOperandsDiagramName = "[IS] Capability 1 Delete Operands"; | ||
public static final String deleteOperandsFileContentExpected = "[IS]_Capability_1_Delete_Operands"; | ||
|
||
@Override | ||
public void test() throws Exception { | ||
init(); | ||
List<String> elementsNew = new ArrayList<String>(); | ||
|
||
testUpdateDiagram(deleteOperandsDiagramName, deleteOperandsFileContentExpected, | ||
"[IS]_Capability_1_Delete_Operands_New", elementsNew); | ||
} | ||
|
||
} | ||
/******************************************************************************* | ||
* Copyright (c) 2020 THALES GLOBAL SERVICES. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Thales - initial API and implementation | ||
*******************************************************************************/ | ||
package org.polarsys.capella.scenario.editor.ju.testcases; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import org.polarsys.capella.scenario.editor.ju.util.TextualScenarioTestFramework; | ||
|
||
public class DeleteOperandsXtextToDiagramTestCase extends TextualScenarioTestFramework { | ||
|
||
public static final String deleteOperandsDiagramName = "[IS] Capability 1 Delete Operands"; | ||
public static final String deleteOperandsFileContentExpected = "[IS]_Capability_1_Delete_Operands"; | ||
|
||
@Override | ||
public void test() throws Exception { | ||
init(); | ||
List<String> elementsNew = new ArrayList<String>(); | ||
|
||
testUpdateDiagram(deleteOperandsDiagramName, deleteOperandsFileContentExpected, | ||
"[IS]_Capability_1_Delete_Operands_New", elementsNew); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 34 additions & 23 deletions
57
...rio/editor/ju/testcases/DuplicatedCombinedFragmentsAndOperandsXtextToDiagramTestCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
package org.polarsys.capella.scenario.editor.ju.testcases; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
import org.polarsys.capella.scenario.editor.ju.util.TextualScenarioTestFramework; | ||
|
||
public class DuplicatedCombinedFragmentsAndOperandsXtextToDiagramTestCase extends TextualScenarioTestFramework { | ||
|
||
public static final String duplicatedCFAndOperandsDiagramName = "[IS] Capability 1 Duplicated CF and Operands"; | ||
public static final String duplicatedCFAndOperandsFileContentExpected = "[IS]_Capability_1_Duplicated_CF_And_Operands"; | ||
|
||
@Override | ||
public void test() throws Exception { | ||
init(); | ||
List<String> elementsNew = new ArrayList<String>(); | ||
|
||
testUpdateDiagram(duplicatedCFAndOperandsDiagramName, duplicatedCFAndOperandsFileContentExpected, | ||
"[IS]_Capability_1_Duplicated_CF_And_Operands_New", elementsNew); | ||
} | ||
|
||
} | ||
/******************************************************************************* | ||
* Copyright (c) 2020 THALES GLOBAL SERVICES. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Thales - initial API and implementation | ||
*******************************************************************************/ | ||
package org.polarsys.capella.scenario.editor.ju.testcases; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import org.polarsys.capella.scenario.editor.ju.util.TextualScenarioTestFramework; | ||
|
||
public class DuplicatedCombinedFragmentsAndOperandsXtextToDiagramTestCase extends TextualScenarioTestFramework { | ||
|
||
public static final String duplicatedCFAndOperandsDiagramName = "[IS] Capability 1 Duplicated CF and Operands"; | ||
public static final String duplicatedCFAndOperandsFileContentExpected = "[IS]_Capability_1_Duplicated_CF_And_Operands"; | ||
|
||
@Override | ||
public void test() throws Exception { | ||
init(); | ||
List<String> elementsNew = new ArrayList<String>(); | ||
|
||
testUpdateDiagram(duplicatedCFAndOperandsDiagramName, duplicatedCFAndOperandsFileContentExpected, | ||
"[IS]_Capability_1_Duplicated_CF_And_Operands_New", elementsNew); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.