diff options
| author | Mélanie Bats | 2016-07-06 16:03:17 +0000 |
|---|---|---|
| committer | Pierre-Charles David | 2016-07-07 14:35:31 +0000 |
| commit | 34be5e0167ca821ef9c60b278f7c54454e1d76f0 (patch) | |
| tree | 42fc51a821b9e27990dd0dd574fcc60bf6686da9 | |
| parent | 7f3323ca36c9c6b1c67e6cb579f963710f1c3a33 (diff) | |
| download | org.eclipse.sirius-34be5e0167ca821ef9c60b278f7c54454e1d76f0.tar.gz org.eclipse.sirius-34be5e0167ca821ef9c60b278f7c54454e1d76f0.tar.xz org.eclipse.sirius-34be5e0167ca821ef9c60b278f7c54454e1d76f0.zip | |
[497248] Properties view RCPTT tests
Update tests and/or tests data for the:
* widget
* button
* text
* checkbox
* layout
* hyperlink
* label
* radio
* reference
* select
* validation
Bug: 497248
Change-Id: I4365bb093b1e0095ada3a5108181a0310b932554
Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
55 files changed, 1372 insertions, 439 deletions
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign index 180d840b1c..a09738bf37 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign +++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign @@ -4,8 +4,8 @@ <extensions xsi:type="properties:ViewExtensionDescription"> <pages identifier="" labelExpression="Text" groups="//@extensions.0/@groups.0"/> <pages identifier="" labelExpression="TextArea" groups="//@extensions.0/@groups.1"/> - <groups identifier="Properties" labelExpression="Properties" domainClass=""> - <controls xsi:type="properties:TextDescription" identifier="Name" labelExpression="Name :" helpExpression="Help message" valueExpression="aql:self.stringAttribute"> + <groups identifier="Text" labelExpression="Text" domainClass=""> + <controls xsi:type="properties:TextDescription" labelExpression="Text" helpExpression="Help message" valueExpression="aql:self.stringAttribute"> <initialOperation> <firstModelOperations xsi:type="tool:SetValue" featureName="stringAttribute" valueExpression="aql:newValue"/> </initialOperation> @@ -63,7 +63,7 @@ <controls xsi:type="properties:TextDescription" labelExpression="Disable Text" isEnabledExpression="aql:false" valueExpression="aql:self.stringAttribute"/> </groups> <groups identifier="TextArea" labelExpression="TextArea" domainClass=""> - <controls xsi:type="properties:TextAreaDescription" identifier="" labelExpression="Text Area" valueExpression="Et quoniam inedia gravi adflictabantur, locum petivere Paleas nomine, vergentem in mare, valido muro firmatum, ubi conduntur nunc usque commeatus distribui militibus omne latus Isauriae defendentibus adsueti. circumstetere igitur hoc munimentum per triduum et trinoctium et cum neque adclivitas ipsa sine discrimine adiri letali, nec cuniculis quicquam geri posset, nec procederet ullum obsidionale commentum, maesti excedunt postrema vi subigente maiora viribus adgressuri.

Quibus occurrere bene pertinax miles explicatis ordinibus parans hastisque feriens scuta qui habitus iram pugnantium concitat et dolorem proximos iam gestu terrebat sed eum in certamen alacriter consurgentem revocavere ductores rati intempestivum anceps subire certamen cum haut longe muri distarent, quorum tutela securitas poterat in solido locari cunctorum."> + <controls xsi:type="properties:TextAreaDescription" identifier="" labelExpression="Text Area" valueExpression="Et quoniam inedia gravi adflictabantur, locum petivere Paleas nomine, vergentem in mare, valido muro firmatum, ubi conduntur nunc usque commeatus distribui militibus omne latus Isauriae defendentibus adsueti. circumstetere igitur hoc munimentum per triduum et trinoctium et cum neque adclivitas ipsa sine discrimine adiri letali, nec cuniculis quicquam geri posset, nec procederet ullum obsidionale commentum, maesti excedunt postrema vi subigente maiora viribus adgressuri. Quibus occurrere bene pertinax miles explicatis ordinibus parans hastisque feriens scuta qui habitus iram pugnantium concitat et dolorem proximos iam gestu terrebat sed eum in certamen alacriter consurgentem revocavere ductores rati intempestivum anceps subire certamen cum haut longe muri distarent, quorum tutela securitas poterat in solido locari cunctorum."> <initialOperation> <firstModelOperations xsi:type="tool:SetValue" featureName="stringAttribute" valueExpression="aql:newValue"/> </initialOperation> diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.validation/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.validation/description/PropertiesTests.odesign index 862ce106d4..023fa8311b 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.validation/description/PropertiesTests.odesign +++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.validation/description/PropertiesTests.odesign @@ -1,274 +1,99 @@ <?xml version="1.0" encoding="UTF-8"?> -<description:Group - xmi:version="2.0" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" - xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0" - xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0" - name="PropertiesTests" - version="11.0.0.201601261200"> - <ownedViewpoints - name="PropertiesTestsValidation"/> - <extensions - xsi:type="properties:ViewExtensionDescription"> - <pages identifier="" - labelExpression="Validation" - groups="//@extensions.0/@groups.0"> +<description:Group xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0" xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0" name="PropertiesTests" version="11.0.0.201601261200"> + <ownedViewpoints name="PropertiesTestsValidation"/> + <extensions xsi:type="properties:ViewExtensionDescription"> + <pages identifier="" labelExpression="Validation" groups="//@extensions.0/@groups.0"> <validationSet> - <semanticValidationRules - level="ERROR" - message="Page semantic error message..."> - <audits - auditExpression="aql:false"/> + <semanticValidationRules level="ERROR" message="Page semantic error message..."> + <audits auditExpression="aql:false"/> </semanticValidationRules> </validationSet> </pages> - <groups - identifier="Validation" - labelExpression="Validation" - domainClass=""> - <controls - xsi:type="properties:TextDescription" - identifier="Text Info" - labelExpression="Text Info" - helpExpression="" - valueExpression="aql:self.stringAttribute"/> - <controls - xsi:type="properties:TextDescription" - identifier="Text Warning" - labelExpression="Text Warning" - helpExpression="" - valueExpression="aql:self.stringAttribute"/> - <controls - xsi:type="properties:TextDescription" - identifier="Text Error" - labelExpression="Text Error" - helpExpression="" - valueExpression="aql:self.stringAttribute"/> - <controls - xsi:type="properties:TextDescription" - identifier="Text InfoWarningError" - labelExpression="Text InfoWarningError" - helpExpression="Help message" - valueExpression="aql:self.stringAttribute"/> - <controls - xsi:type="properties:TextDescription" - identifier="Text Style Error" - labelExpression="Text Style Error" - helpExpression="" - valueExpression="aql:self.stringAttribute"> + <groups identifier="Validation" labelExpression="Validation" domainClass=""> + <controls xsi:type="properties:TextDescription" identifier="Text Info" labelExpression="Text Info" helpExpression="" valueExpression="aql:self.stringAttribute"/> + <controls xsi:type="properties:TextDescription" identifier="Text Warning" labelExpression="Text Warning" helpExpression="" valueExpression="aql:self.stringAttribute"/> + <controls xsi:type="properties:TextDescription" identifier="Text Error" labelExpression="Text Error" helpExpression="" valueExpression="aql:self.stringAttribute"/> + <controls xsi:type="properties:TextDescription" identifier="Text InfoWarningError" labelExpression="Text InfoWarningError" helpExpression="Help message" valueExpression="aql:self.stringAttribute"/> + <controls xsi:type="properties:TextDescription" identifier="Text Style Error" labelExpression="Text Style Error" helpExpression="" valueExpression="aql:self.stringAttribute"> <style> - <backgroundColor - xsi:type="description:SystemColor" - href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/> + <backgroundColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/> </style> </controls> - <controls - xsi:type="properties:ButtonDescription" - identifier="Button Error" - labelExpression="Button Error" - buttonLabelExpression="Label"/> - <controls - xsi:type="properties:LabelDescription" - identifier="Label Error" - labelExpression="Label Error" - valueExpression="Label"/> - <controls - xsi:type="properties:CheckboxDescription" - identifier="Checkbox Error" - labelExpression="Checkbox Error" - helpExpression="" - valueExpression="aql:self.booleanAttribute"/> - <controls - xsi:type="properties:SelectDescription" - identifier="Select Error" - labelExpression="Select Error" - valueExpression="aql:self.reference" - candidatesExpression="aql:self.eResource().getContents().eAllContents()" - candidateDisplayExpression="aql:candidate.stringAttribute"/> - <controls - xsi:type="properties:TextAreaDescription" - identifier="Text area Error" - labelExpression="Text area Error" - valueExpression="aql:self.stringAttribute"/> - <controls - xsi:type="properties:RadioDescription" - identifier="Radio Error" - labelExpression="Radio Error" - valueExpression="aql:propertiestests::TestEnum.getEEnumLiteral(self.enumAttribute.toString())" - candidatesExpression="aql:propertiestests::TestEnum.eLiterals" - candidateDisplayExpression="aql:candidate.name"/> - <controls - xsi:type="properties:ReferenceDescription" - identifier="Reference Error" - labelExpression="Reference Error" - helpExpression="" - valueExpression="aql:self.containmentReference" - displayExpression="aql:self.stringAttribute"/> - <controls - xsi:type="properties:ReferenceDescription" - identifier="Multi Reference Error" - labelExpression="Multi Reference Error" - helpExpression="" - multiple="true" - valueExpression="aql:self.containmentReferences" - displayExpression="aql:self.stringAttribute"/> - <controls - xsi:type="properties:HyperlinkDescription" - identifier="Hyperlink Error" - labelExpression="Hyperlink Error" - valueExpression="Hyperlink"/> - <controls - xsi:type="properties:DynamicMappingFor" - iterator="eStructuralFeature" - domainClassExpression="aql:self.eClass().eAllStructuralFeatures"> - <ifs - predicateExpression="aql:eStructuralFeature.eType.instanceTypeName = 'java.lang.String' and not(eStructuralFeature.many)"> - <widget - xsi:type="properties:TextDescription" - identifier="Dynamic mapping Error" - labelExpression="Dynamic mapping Error" - helpExpression="" - valueExpression="aql:self.eGet(eStructuralFeature)"/> + <controls xsi:type="properties:ButtonDescription" identifier="Button Error" labelExpression="Button Error" buttonLabelExpression="Label"/> + <controls xsi:type="properties:LabelDescription" identifier="Label Error" labelExpression="Label Error" valueExpression="Label"/> + <controls xsi:type="properties:CheckboxDescription" identifier="Checkbox Error" labelExpression="Checkbox Error" helpExpression="" valueExpression="aql:self.booleanAttribute"/> + <controls xsi:type="properties:SelectDescription" identifier="Select Error" labelExpression="Select Error" valueExpression="aql:self.reference" candidatesExpression="aql:self.eResource().getContents().eAllContents()" candidateDisplayExpression="aql:candidate.stringAttribute"/> + <controls xsi:type="properties:TextAreaDescription" identifier="Text area Error" labelExpression="Text area Error" valueExpression="aql:self.stringAttribute"/> + <controls xsi:type="properties:RadioDescription" identifier="Radio Error" labelExpression="Radio Error" valueExpression="aql:propertiestests::TestEnum.getEEnumLiteral(self.enumAttribute.toString())" candidatesExpression="aql:propertiestests::TestEnum.eLiterals" candidateDisplayExpression="aql:candidate.name"/> + <controls xsi:type="properties:ReferenceDescription" identifier="Reference Error" labelExpression="Reference Error" helpExpression="" valueExpression="aql:self.containmentReference" displayExpression="aql:self.stringAttribute"/> + <controls xsi:type="properties:ReferenceDescription" identifier="Multi Reference Error" labelExpression="Multi Reference Error" helpExpression="" multiple="true" valueExpression="aql:self.containmentReferences" displayExpression="aql:self.stringAttribute"/> + <controls xsi:type="properties:HyperlinkDescription" identifier="Hyperlink Error" labelExpression="Hyperlink Error" valueExpression="Hyperlink"/> + <controls xsi:type="properties:DynamicMappingFor" iterator="eStructuralFeature" domainClassExpression="aql:self.eClass().eAllStructuralFeatures"> + <ifs predicateExpression="aql:eStructuralFeature.eType.instanceTypeName = 'java.lang.String' and not(eStructuralFeature.many)"> + <widget xsi:type="properties:TextDescription" identifier="Dynamic mapping Error" labelExpression="Dynamic mapping Error" helpExpression="" valueExpression="aql:self.eGet(eStructuralFeature)"/> </ifs> </controls> <validationSet> - <semanticValidationRules - label="" - level="ERROR" - message="Group semantic error message..." - targetClass=""> - <audits - auditExpression="aql:false"/> + <semanticValidationRules label="" level="ERROR" message="Group semantic error message..." targetClass=""> + <audits auditExpression="aql:false"/> </semanticValidationRules> - <propertyValidationRules - message="Text info message..." - targets="//@extensions.0/@groups.0/@controls.0 //@extensions.0/@groups.0/@controls.4"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules message="Text info message..." targets="//@extensions.0/@groups.0/@controls.0 //@extensions.0/@groups.0/@controls.4"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="WARNING" - message="Text warning message..." - targets="//@extensions.0/@groups.0/@controls.1"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="WARNING" message="Text warning message..." targets="//@extensions.0/@groups.0/@controls.1"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Text error message..." - targets="//@extensions.0/@groups.0/@controls.2"> - <audits - auditExpression="aql:false"/> - <fixes - name="Fix1"> + <propertyValidationRules level="ERROR" message="Text error message..." targets="//@extensions.0/@groups.0/@controls.2"> + <audits auditExpression="aql:self.stringAttribute = 'QuickFix2'"/> + <fixes name="Fix1"> <initialOperation> - <firstModelOperations - xsi:type="tool:SetValue" - featureName="stringAttribute" - valueExpression="QuickFix1"/> + <firstModelOperations xsi:type="tool:SetValue" featureName="stringAttribute" valueExpression="QuickFix1"/> </initialOperation> </fixes> - <fixes - name="Fix2"> + <fixes name="Fix2"> <initialOperation> - <firstModelOperations - xsi:type="tool:SetValue" - featureName="stringAttribute" - valueExpression="QuickFix2"/> + <firstModelOperations xsi:type="tool:SetValue" featureName="stringAttribute" valueExpression="QuickFix2"/> </initialOperation> </fixes> </propertyValidationRules> - <propertyValidationRules - level="WARNING" - message="Text info/warning/error message..." - targets="//@extensions.0/@groups.0/@controls.3"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="WARNING" message="Text info/warning/error message..." targets="//@extensions.0/@groups.0/@controls.3"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Text info/warning/error message..." - targets="//@extensions.0/@groups.0/@controls.3"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Text info/warning/error message..." targets="//@extensions.0/@groups.0/@controls.3"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - message="Text info/warning/error message..." - targets="//@extensions.0/@groups.0/@controls.3"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules message="Text info/warning/error message..." targets="//@extensions.0/@groups.0/@controls.3"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Button error message..." - targets="//@extensions.0/@groups.0/@controls.5"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Button error message..." targets="//@extensions.0/@groups.0/@controls.5"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Label info message..." - targets="//@extensions.0/@groups.0/@controls.6"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Label info message..." targets="//@extensions.0/@groups.0/@controls.6"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Checkbox error message..." - targets="//@extensions.0/@groups.0/@controls.7"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Checkbox error message..." targets="//@extensions.0/@groups.0/@controls.7"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Select error message..." - targets="//@extensions.0/@groups.0/@controls.8"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Select error message..." targets="//@extensions.0/@groups.0/@controls.8"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Text area error message..." - targets="//@extensions.0/@groups.0/@controls.9"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Text area error message..." targets="//@extensions.0/@groups.0/@controls.9"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Radio error message..." - targets="//@extensions.0/@groups.0/@controls.10"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Radio error message..." targets="//@extensions.0/@groups.0/@controls.10"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Reference error message..." - targets="//@extensions.0/@groups.0/@controls.11"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Reference error message..." targets="//@extensions.0/@groups.0/@controls.11"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Multi Reference error message..." - targets="//@extensions.0/@groups.0/@controls.12"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Multi Reference error message..." targets="//@extensions.0/@groups.0/@controls.12"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Hyperlink error message..." - targets="//@extensions.0/@groups.0/@controls.13"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Hyperlink error message..." targets="//@extensions.0/@groups.0/@controls.13"> + <audits auditExpression="aql:false"/> </propertyValidationRules> - <propertyValidationRules - level="ERROR" - message="Dynamic mapping error message..." - targets="//@extensions.0/@groups.0/@controls.14/@ifs.0/@widget"> - <audits - auditExpression="aql:false"/> + <propertyValidationRules level="ERROR" message="Dynamic mapping error message..." targets="//@extensions.0/@groups.0/@controls.14/@ifs.0/@widget"> + <audits auditExpression="aql:false"/> </propertyValidationRules> </validationSet> </groups> diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupCollapse.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupCollapse.test new file mode 100644 index 0000000000..557c440c10 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupCollapse.test @@ -0,0 +1,41 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_UvPjoEOHEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GroupCollapse +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _lLPs8EOQEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 5:46 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the group viewpoint, +* selects an element in the diagram, +* checks the properties view: +- the group is a section +- collapsed by default. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section "Collapse Group"] { + get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true + get-property enablement | equals true | verify-true + get-property "getTitleBarGradientBackground()" | equals "" | verify-true + get-property "getText()" | equals "Collapse Group" | verify-true + get-property "isExpanded()" | equals false | verify-true + get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.ui.forms.widgets.Twistie" | verify-true + get-property "getChildren().Control[2].getChildren().length" | equals 18 | verify-true +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupConditionalStyle.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupConditionalStyle.test new file mode 100644 index 0000000000..cb7dc2ff43 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupConditionalStyle.test @@ -0,0 +1,98 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_UvPjoEOHEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GroupConditionalStyle +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _Fij9EEOSEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 5:58 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the group viewpoint, +* selects an element in the diagram, +* checks the properties view: +- the group is a section +- expanded by default +- twistie style +- with 18 sub widgets inside +- checks background color and foreground color. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section "Conditional Style Group"] { + get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true + get-property enablement | equals true | verify-true + get-property "getTitleBarGradientBackground()" | equals "" | verify-true + get-property "getText()" | equals "Conditional Style Group" | verify-true + get-property "isExpanded()" | equals true | verify-true + get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.ui.forms.widgets.Twistie" | verify-true + get-property "getChildren().Control[2].getChildren().length" | equals 18 | verify-true +} +get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | mouse-move 614 422 -height 435 + -width 926 +with [get-view Properties | get-section "Conditional Style Group"] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + with [get-editbox] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-editbox -index 1] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-editbox -index 2] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-editbox -index 3] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-editbox -index 4] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-editbox -index 5] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-editbox -index 6] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-button Button] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-button Checkbox] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-editbox -index 8] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-control Any -index 21] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } + with [get-button a] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#4D8914" | verify-true + } +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupDefault.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupDefault.test new file mode 100644 index 0000000000..0f7e39feb4 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupDefault.test @@ -0,0 +1,43 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_UvPjoEOHEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GroupDefault +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _UvRY0EOHEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 5:46 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the group viewpoint, +* selects an element in the diagram, +* checks the properties view: +- the group is a section +- expanded by default +- twistie style +- with 18 sub widgets inside. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section Group] { + get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true + get-property enablement | equals true | verify-true + get-property "getTitleBarGradientBackground()" | equals "" | verify-true + get-property "getText()" | equals "Group" | verify-true + get-property "isExpanded()" | equals true | verify-true + get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.ui.forms.widgets.Twistie" | verify-true + get-property "getChildren().Control[2].getChildren().length" | equals 18 | verify-true +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupNoTitle.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupNoTitle.test new file mode 100644 index 0000000000..ecfbd27a7e --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupNoTitle.test @@ -0,0 +1,43 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_UvPjoEOHEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GroupNoTitle +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _UgIpQEOKEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 5:47 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the group viewpoint, +* selects an element in the diagram, +* checks the properties view: +- the group is a section +- expanded by default +- no title style +- with 18 sub widgets inside. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section -index 2] { + get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true + get-property enablement | equals true | verify-true + get-property "getTitleBarGradientBackground()" | equals "" | verify-true + get-property "getText()" | equals "" | verify-true + get-property "isExpanded()" | equals true | verify-true + get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.ui.forms.widgets.Twistie" | verify-true + get-property "getChildren().Control[1].getChildren().length" | equals 18 | verify-true +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupNoneToggleGroup.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupNoneToggleGroup.test new file mode 100644 index 0000000000..f7233128da --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupNoneToggleGroup.test @@ -0,0 +1,45 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_UvPjoEOHEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GroupNoneToggleGroup +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _CtWK0EOPEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 5:46 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the group viewpoint, +* selects an element in the diagram, +* checks the properties view: +- the group is a section +- expanded by default +- tree node style +- with 18 sub widgets inside. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section "None toggle Group"] { + get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true + get-property enablement | equals true | verify-true + get-property "getTitleBarGradientBackground()" | equals "" | verify-true + get-property "getText()" | equals "None toggle Group" | verify-true + get-property "isExpanded()" | equals true | verify-true + get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.swt.widgets.Label" + | verify-true + get-property "getChildren().Control[1].getChildren().length" + | equals 18 | verify-true +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupShortTitle.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupShortTitle.test new file mode 100644 index 0000000000..1449e4418c --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupShortTitle.test @@ -0,0 +1,42 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_UvPjoEOHEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GroupShortTitle +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _Npz8kEOIEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:41 AM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the group viewpoint, +* selects an element in the diagram, +* checks the properties view: +- the group is a section +- expanded by default +- short title style +- with 18 sub widgets inside. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section "Short title Group"] { + get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true + get-property enablement | equals true | verify-true + get-property "getText()" | equals "Short title Group" | verify-true + get-property "isExpanded()" | equals true | verify-true + get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.ui.forms.widgets.Twistie" | verify-true + get-property "getChildren().Control[2].getChildren().length" | equals 18 | verify-true +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupStyle.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupStyle.test new file mode 100644 index 0000000000..28a03e93a2 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupStyle.test @@ -0,0 +1,98 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_UvPjoEOHEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GroupStyle +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _GqUr0EOREeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 5:56 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the group viewpoint, +* selects an element in the diagram, +* checks the properties view: +- the group is a section +- expanded by default +- twistie style +- with 18 sub widgets inside +- checks background color and foreground color. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section "Style Group"] { + get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true + get-property enablement | equals true | verify-true + get-property "getTitleBarGradientBackground()" | equals "" | verify-true + get-property "getText()" | equals "Style Group" | verify-true + get-property "isExpanded()" | equals true | verify-true + get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.ui.forms.widgets.Twistie" | verify-true + get-property "getChildren().Control[2].getChildren().length" | equals 18 | verify-true +} +get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | mouse-move 614 422 -height 435 + -width 926 +with [get-view Properties | get-section "Style Group"] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + with [get-editbox] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-editbox -index 1] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-editbox -index 2] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-editbox -index 3] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-editbox -index 4] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-editbox -index 5] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-editbox -index 6] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-button Button] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-button Checkbox] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-editbox -index 8] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-control Any -index 21] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } + with [get-button a] { + get-property backgroundColor | equals "#454545" | verify-true + get-property foregroundColor | equals "#729FCF" | verify-true + } +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupTreeNode.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupTreeNode.test new file mode 100644 index 0000000000..e61f6d06d0 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/GroupTreeNode.test @@ -0,0 +1,45 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_UvPjoEOHEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GroupTreeNode +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _9koPcEOMEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 5:30 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the group viewpoint, +* selects an element in the diagram, +* checks the properties view: +- the group is a section +- expanded by default +- tree node style +- with 18 sub widgets inside. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section "Tree node Group"] { + get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true + get-property enablement | equals true | verify-true + get-property "getTitleBarGradientBackground()" | equals "" | verify-true + get-property "getText()" | equals "Tree node Group" | verify-true + get-property "getExpansionStyle()" | equals 324 | verify-true + get-property "isExpanded()" | equals true | verify-true + get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.ui.forms.widgets.TreeNode" + | verify-true + get-property "getChildren().Control[2].getChildren().length" | equals 18 | verify-true +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/SelectGroupViewpoint.ctx b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/SelectGroupViewpoint.ctx new file mode 100644 index 0000000000..25c41db674 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/group/SelectGroupViewpoint.ctx @@ -0,0 +1,51 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Context-Type: org.eclipse.rcptt.ctx.ecl +Element-Name: SelectGroupViewpoint +Element-Type: context +Element-Version: 2.0 +Id: _UvPjoEOHEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 4:39 PM + +------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998 +Content-Type: text/ecl +Entry-Name: .ecl.context + +with [get-view "Model Explorer" | get-tree] { + select "org.eclipse.sirius.tests.rcptt.properties.instance" | get-menu "Viewpoints Selection" | click +} +with [get-window "Viewpoints Selection"] { + with [get-table] { + get-item PropertiesTests | check + select PropertiesTests + get-item PropertiesTestsButton | uncheck + select PropertiesTestsButton + get-item PropertiesTestsCheckbox | uncheck + select PropertiesTestsCheckbox + get-item PropertiesTestsGroup | uncheck + select PropertiesTestsGroup + get-item PropertiesTestsHyperlink | uncheck + select PropertiesTestsHyperlink + get-item PropertiesTestsLabel | uncheck + select PropertiesTestsLabel + get-item PropertiesTestsRadio | uncheck + select PropertiesTestsRadio + get-item PropertiesTestsReference | uncheck + select PropertiesTestsReference + get-item PropertiesTestsSelect | uncheck + select PropertiesTestsSelect + get-item PropertiesTestsText | uncheck + select PropertiesTestsText + get-item PropertiesTestsWidget | uncheck + select PropertiesTestsWidget + get-item PropertiesTestsValidation | uncheck + select PropertiesTestsValidation + get-item PropertiesTestsContainer | uncheck + select PropertiesTestsContainer + get-item PropertiesTestsGroup | check + select PropertiesTestsGroup + } + get-button OK | click +} +------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillAndGridLayouts.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillAndGridLayouts.test new file mode 100644 index 0000000000..601f47b8e3 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillAndGridLayouts.test @@ -0,0 +1,61 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_SQy9gEOCEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: FillAndGridLayouts +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _OELEsEOFEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:19 AM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the fill and grid layouts mechanism. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the container viewpoint, +* selects an element in the diagram, +* checks the properties view: +- 2 containers and a texte are are aligned horizontally and another one is on the next line +- in each containers the elements are aligned vertically. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +// Two containers and a text are on the same line +with [get-view Properties | get-section Container] { + with [get-control Any -index 48] { + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-control Any -index 57] { + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-control Any -index 66] { + get-property "getBounds().y" | equals 39 | verify-true + } + // The third container is on the next line + with [get-control Any -index 70] { + get-property "getBounds().y" | equals 173 | verify-true + } +} + +// All the elements in the container are aligned vertically +with [get-view Properties | get-section Container] { + with [get-control Any -index 49] { + get-property "getBounds().x" | equals 1 | verify-true + } + with [get-button Checkbox -index 2] { + get-property "getBounds().x" | equals 6 | verify-true + } + with [get-control Any -index 53] { + get-property "getBounds().x" | equals 1 | verify-true + } +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillLayoutHorizontal.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillLayoutHorizontal.test new file mode 100644 index 0000000000..ab71635b87 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillLayoutHorizontal.test @@ -0,0 +1,39 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_SQy9gEOCEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: FillLayoutHorizontal +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _aulCIEOCEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:20 AM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the fill layout horizontal mechanism. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the container viewpoint, +* selects an element in the diagram, +* checks the properties view : + -the text areas are aligned horizontally. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section Container] { + with [get-control Any -index 6] { + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-control Any -index 10] { + get-property "getBounds().y" | equals 5 | verify-true + } +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillLayoutVertical.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillLayoutVertical.test new file mode 100644 index 0000000000..4ca2328502 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/FillLayoutVertical.test @@ -0,0 +1,57 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_SQy9gEOCEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: FillLayoutVertical +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _SvkHsEODEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 4:17 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the fill layout vertical mechanism. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the container viewpoint, +* selects an element in the diagram, +* checks the properties view : + - the text areas, checkbox and text fields are aligned vertically. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section Container] { + with [get-control Any -index 18] { + get-property "getBounds().x" | equals 1 | verify-true + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-button Checkbox] { + get-property "getBounds().x" | equals 6 | verify-true + get-property "getBounds().y" | equals 37 | verify-true + } + with [get-control Any -index 22] { + get-property "getBounds().x" | equals 1 | verify-true + get-property "getBounds().y" | equals 63 | verify-true + } + with [get-control Any -index 27] { + get-property "getBounds().x" | equals 1 | verify-true + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-button Checkbox -index 1] { + get-property "getBounds().x" | equals 6 | verify-true + get-property "getBounds().y" | equals 37 | verify-true + } + with [get-control Any -index 31] { + get-property "getBounds().x" | equals 1 | verify-true + get-property "getBounds().y" | equals 63 | verify-true + } +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/GridLayout.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/GridLayout.test new file mode 100644 index 0000000000..082cc2b164 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/GridLayout.test @@ -0,0 +1,56 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_SQy9gEOCEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: GridLayout +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _SJr-AEOEEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:21 AM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the grid layout mechanism. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the container viewpoint, +* selects an element in the diagram, +* checks the properties view : + - the checkboxes are aligned horizontally and goes to the next line after 5 items. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section Container] { +// Checks that five checkboxes are on the same line + with [get-button public] { + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-button private] { + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-button protected] { + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-button final] { + get-property "getBounds().y" | equals 5 | verify-true + } + with [get-button seeled] { + get-property "getBounds().y" | equals 5 | verify-true + } + // Checks that two checkboxes are on a second line + with [get-button abstract] { + get-property "getBounds().y" | equals 31 | verify-true + } + with [get-button case] { + get-property "getBounds().y" | equals 31 | verify-true + } +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/SelectContainerViewpoint.ctx b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/SelectContainerViewpoint.ctx new file mode 100644 index 0000000000..14a05e86ff --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/layout/SelectContainerViewpoint.ctx @@ -0,0 +1,49 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Context-Type: org.eclipse.rcptt.ctx.ecl +Element-Name: SelectContainerViewpoint +Element-Type: context +Element-Version: 2.0 +Id: _SQy9gEOCEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 4:03 PM + +------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998 +Content-Type: text/ecl +Entry-Name: .ecl.context + +with [get-view "Model Explorer" | get-tree] { + select "org.eclipse.sirius.tests.rcptt.properties.instance" | get-menu "Viewpoints Selection" | click +} +with [get-window "Viewpoints Selection"] { + with [get-table] { + get-item PropertiesTests | check + select PropertiesTests + get-item PropertiesTestsButton | uncheck + select PropertiesTestsButton + get-item PropertiesTestsCheckbox | uncheck + select PropertiesTestsCheckbox + get-item PropertiesTestsGroup | uncheck + select PropertiesTestsGroup + get-item PropertiesTestsHyperlink | uncheck + select PropertiesTestsHyperlink + get-item PropertiesTestsLabel | uncheck + select PropertiesTestsLabel + get-item PropertiesTestsRadio | uncheck + select PropertiesTestsRadio + get-item PropertiesTestsReference | uncheck + select PropertiesTestsReference + get-item PropertiesTestsSelect | uncheck + select PropertiesTestsSelect + get-item PropertiesTestsText | uncheck + select PropertiesTestsText + get-item PropertiesTestsWidget | uncheck + select PropertiesTestsWidget + get-item PropertiesTestsValidation | uncheck + select PropertiesTestsValidation + get-item PropertiesTestsContainer | check + select PropertiesTestsContainer + } + get-button OK | click +} +------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/SelectValidationViewpoint.ctx b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/SelectValidationViewpoint.ctx new file mode 100644 index 0000000000..c79d97e1d2 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/SelectValidationViewpoint.ctx @@ -0,0 +1,47 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Context-Type: org.eclipse.rcptt.ctx.ecl +Element-Name: SelectValidationViewpoint +Element-Type: context +Element-Version: 2.0 +Id: _vnVkEENeEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:48 AM + +------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998 +Content-Type: text/ecl +Entry-Name: .ecl.context + +with [get-view "Model Explorer" | get-tree] { + select "org.eclipse.sirius.tests.rcptt.properties.instance" | get-menu "Viewpoints Selection" | click +} +with [get-window "Viewpoints Selection"] { + with [get-table] { + get-item PropertiesTests | check + select PropertiesTests + get-item PropertiesTestsButton | uncheck + select PropertiesTestsButton + get-item PropertiesTestsCheckbox | uncheck + select PropertiesTestsCheckbox + get-item PropertiesTestsGroup | uncheck + select PropertiesTestsGroup + get-item PropertiesTestsHyperlink | uncheck + select PropertiesTestsHyperlink + get-item PropertiesTestsLabel | uncheck + select PropertiesTestsLabel + get-item PropertiesTestsRadio | uncheck + select PropertiesTestsRadio + get-item PropertiesTestsReference | uncheck + select PropertiesTestsReference + get-item PropertiesTestsSelect | uncheck + select PropertiesTestsSelect + get-item PropertiesTestsText | uncheck + select PropertiesTestsText + get-item PropertiesTestsWidget | uncheck + select PropertiesTestsWidget + get-item PropertiesTestsValidation | check + select PropertiesTestsValidation + } + get-button OK | click +} +------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationGroup.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationGroup.test new file mode 100644 index 0000000000..1ebe7cb5bd --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationGroup.test @@ -0,0 +1,90 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_vnVkEENeEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: ValidationGroup +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _25KRQENxEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 3:30 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the group validation mechanism. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the validation viewpoint, +* selects an element in the diagram, +* checks the properties view : + - checks the decorator, + - checks the tooltip is visible. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties | get-section Validation] { + with [get-editbox -index 1] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Text info message..." | verify-true + } + with [get-editbox -index 3] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Text warning message..." | verify-true + } + with [get-editbox -index 5] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Text error message..." | verify-true + } + with [get-editbox -index 7] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Text info/warning/error message..." | verify-true + } + with [get-editbox -index 9] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Text info message..." | verify-true + } + with [get-button Label] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Button error message..." | verify-true + } + with [get-editbox -index 12] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Label info message..." | verify-true + } + with [get-button "Checkbox Error"] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Checkbox error message..." | verify-true + } + with [get-combo] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Select error message..." | verify-true + } + with [get-editbox -index 16] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Text area error message..." | verify-true + } + with [get-control Any -index 36] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Radio error message..." | verify-true + } + with [get-label Element1] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Reference error message..." | verify-true + } + with [get-editbox -after [get-label Element1] -index 2] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Hyperlink error message..." | verify-true + } + with [get-editbox -after [get-label Element1] -index 4] { + get-property "decorators[0].visible" | equals true | verify-true + get-property "decorators[0].description" | equals "Dynamic mapping error message..." | verify-true + } +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationNoQuickFix.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationNoQuickFix.test new file mode 100644 index 0000000000..d843d23a58 --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationNoQuickFix.test @@ -0,0 +1,34 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_vnVkEENeEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: ValidationNoQuickFix +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _uKc-QEN9EeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 3:36 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the quick-fix mechanism. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the validation viewpoint, +* selects an element in the diagram, +* clicks on the validation error link, +* checks the quick fix window. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +get-view Properties | get-link "14 errors detected" | click +get-window "Quick Fix" | get-editbox -after [get-label Messages] | get-property text + | equals "No quick fix available for your validation issue" | verify-true +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationPage.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationPage.test new file mode 100644 index 0000000000..ddc3f29e2b --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationPage.test @@ -0,0 +1,47 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_vnVkEENeEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: ValidationPage +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _3y7sgENeEeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 11:43 AM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the page validation mechanism. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the validation viewpoint, +* selects an element in the diagram, +* checks the properties view : + - checks the error icon is visible in the page title bar, + - checks the error hyperlink is visible in the page title bar, + - checks the number of errors related to the page, + - checks the tooltip is visible. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +with [get-view Properties] { +// Check the error icon is visible in the title bar + get-canvas -after [get-label "Test Element Element1"] | get-property className + | equals "org.eclipse.ui.internal.forms.widgets.BusyIndicator" | verify-true + // Check that the errors hyperlink is visible + with [get-link "14 errors detected"] { + get-property className | equals "org.eclipse.ui.forms.widgets.Hyperlink" | verify-true + get-property caption | equals "14 errors detected" | verify-true + get-property foregroundColor | equals "#FF0000" | verify-true + // Check the tooltip + get-property toltip | not-eq "" + } +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationQuickFix.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationQuickFix.test new file mode 100644 index 0000000000..1a31a3980a --- /dev/null +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/validation/ValidationQuickFix.test @@ -0,0 +1,63 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _N-iakAicEea7hcZ9Jto1HQ,_Sc0HQAidEea7hcZ9Jto1HQ,_ISVO4AheEea7hcZ9Jto1HQ,_CxvK8AicEea7hcZ9Jto1HQ,_1dc_gAidEea7hcZ9Jto1HQ,_vnVkEENeEeagKLHJ7g9jQA,_ZuJ8AAifEea7hcZ9Jto1HQ +Element-Name: ValidationQuickFix +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _jxzdgEN_EeagKLHJ7g9jQA +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 3:57 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This test aims to check the quick-fix mechanism. + +The test : +* loads the tests projects released with the Sirius test product, +* opens the test diagram, +* selects the validation viewpoint, +* selects an element in the diagram, +* clicks on the validation error link, +* checks the quick fix window. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +// Select the text error +get-view Properties | get-link "14 errors detected" | click +with [get-window "Quick Fix"] { + get-table | select "Text error message..." +} +// Check that the next button is activated +get-window "Quick Fix" | get-button "Next >" | get-property enablement | equals true | verify-true +// Click to the next page +get-window "Quick Fix" | get-button "Next >" | click +// Check that it exists two quick fixes +with [get-window "Quick Fix" | get-table] { + get-property "getItems().TableItem[0].getText()" | equals Fix1 | verify-true + get-property "getItems().TableItem[1].getText()" | equals Fix2 | verify-true +} +// Select the quick fix +with [get-window "Quick Fix"] { + get-table | select Fix2 + get-button Finish | click +} +// Check the name has changed in the diagram +get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | get-edit-part -name QuickFix2 + | get-edit-part -className SquareEditPart | get-figure "0/0" | get-property "getText()" | equals QuickFix2 + | verify-true +// Check the name has changed in the diagram +get-view Properties | get-section Validation | get-editbox -index 1 | get-property "getText()" | equals QuickFix2 + | verify-true + +// Check that the error decorator is not anymore on the widget +with [get-view Properties] { + get-section Validation | get-editbox -index 5 | get-property "decorators[0].visible" | equals false | verify-true + get-link "13 errors detected" | get-property caption | equals "13 errors detected" | verify-true +} +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetDefault.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetDefault.test index d58cbc578b..920f87a939 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetDefault.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetDefault.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _tSdmwB5kEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 3:43 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 10:28 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -57,7 +57,6 @@ with [get-view Properties | get-section Button | get-button ALongLongLongLabel] get-property caption | equals ALongLongLongLabel | verify-true } - // Check no label with [get-view Properties | get-section Button | get-editbox -index 2] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetDisable.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetDisable.test index d49100ae14..5178be9e61 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetDisable.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetDisable.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _tSgDAB5kEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 11:04 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 10:42 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -30,7 +30,7 @@ Content-Type: text/ecl Entry-Name: .content // Check disable label -with [get-view Properties | get-section Button | get-editbox -index 6] { +with [get-view Properties | get-section Button | get-editbox -index 3] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true @@ -38,12 +38,6 @@ with [get-view Properties | get-section Button | get-editbox -index 6] { } // Check disable value -with [get-view Properties | get-section Button | get-editbox -index 7] { - get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true - get-property readOnly | equals true | verify-true - get-property text | equals Label | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true -} +get-view Properties | get-section Button | get-button Label -index 1 | get-property enablement | equals false + | verify-true ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetOnClick.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetOnClick.test index 0becca552a..b08e08b614 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetOnClick.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/button/ButtonWidgetOnClick.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _tSh4MB5kEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 11:27 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 10:50 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -29,7 +29,7 @@ Content-Type: text/ecl Entry-Name: .content // Click on the button -get-view Properties | get-section Button | get-editbox -index 1 | click +get-view Properties | get-section Button | get-button Label | click // Check that the label changed in the diagram get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | get-edit-part -name ButtonClicked diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetConditionalStyle.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetConditionalStyle.test index 5db19ce5bc..5a82e23e8a 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetConditionalStyle.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetConditionalStyle.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _V_yHQB5gEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:57 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 10:53 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -44,7 +44,6 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 17] { get-property readOnly | equals true | verify-true get-property text | equals Element1 | verify-true get-property "getFont().getFontData().FontData[0].style" | equals 1 | verify-true - get-property foregroundColor | equals "#212121" | verify-true get-property "styles[0].underline" | equals link | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetDefault.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetDefault.test index d733f6fe32..4cc7e4dd1d 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetDefault.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetDefault.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _ZJml4B3GEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:34 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 10:54 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -43,8 +43,6 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 1] { get-property enablement | equals true | verify-true get-property readOnly | equals true | verify-true get-property text | equals Element1 | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true get-property "getBounds().height" | equals 17 | verify-true get-property "styles[0].underline" | equals link | verify-true } diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetDisable.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetDisable.test index 45093b114e..ae60f9e34a 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetDisable.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetDisable.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _ZJppMB3GEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 10:58 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 10:54 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -43,7 +43,5 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 19] { get-property enablement | equals false | verify-true get-property readOnly | equals true | verify-true get-property text | equals Element1 | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetOnClick.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetOnClick.test index 9da53860b9..c77c4ac424 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetOnClick.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetOnClick.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _FmfWIB3HEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:39 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 10:58 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -29,14 +29,14 @@ The test : Content-Type: text/ecl Entry-Name: .content -// Click on the hyperlink -get-view Properties | get-section Hyperlink | get-editbox -index 1 | click - -// Check that the label changed in the diagram -get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | get-edit-part -name NewValue - | get-edit-part -className SquareEditPart | get-figure "0/0" | get-property "getText()" | equals NewValue - | verify-true - -// Check that the label changed in the other widgets in the properties view -get-view Properties | get-section Hyperlink | get-editbox -index 3 | get-property text | equals NewValue | verify-true + // Click on the hyperlink + get-view Properties | get-section Hyperlink | get-editbox -index 1 | set-text-offset 3 0 + + // Check that the label changed in the diagram + get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | get-edit-part -name NewValue + | get-edit-part -className SquareEditPart | get-figure "0/0" | get-property "getText()" | equals NewValue + | verify-true + + // Check that the label changed in the other widgets in the properties view + get-view Properties | get-section Hyperlink | get-editbox -index 3 | get-property text | equals NewValue | verify-true ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleAll.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleAll.test index 3d1b504a6d..2327d40f00 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleAll.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleAll.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _FmjAgB3HEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:53 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:00 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -48,7 +48,6 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 15] { get-property "getFont().getFontData().FontData[0].name" | equals "Times new roman" | verify-true get-property "getFont().getFontData().FontData[0].height" | equals "12.0" | verify-true get-property "getFont().getFontData().FontData[0].style" | equals 3 | verify-true - get-property foregroundColor | equals "#212121" | verify-true get-property backgroundColor | equals "#729FCF" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleBackgroundColor.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleBackgroundColor.test index ca9163c3fe..42fa542039 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleBackgroundColor.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleBackgroundColor.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _4wvPoB5eEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:50 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:00 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -44,7 +44,6 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 13] { get-property containMenu | equals false | verify-true get-property text | equals Element1 | verify-true get-property backgroundColor | equals "#729FCF" | verify-true - get-property foregroundColor | equals "#212121" | verify-true get-property "styles[0].underline" | equals link | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleBold.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleBold.test index 14e600bede..bde32c8722 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleBold.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleBold.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _FmnR8B3HEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:49 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:01 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -45,6 +45,5 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 7] { get-property text | equals Element1 | verify-true get-property "getFont().getFontData().FontData[0].style" | equals 1 | verify-true get-property "styles[0].underline" | equals link | verify-true - get-property foregroundColor | equals "#212121" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleFont.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleFont.test index a5d47b5288..b989d3fa80 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleFont.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleFont.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _FmqVQB3HEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:49 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:01 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -46,6 +46,5 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 3] { get-property "getFont().getFontData().FontData[0].name" | equals "Times new roman" | verify-true get-property "getFont().getFontData().FontData[0].height" | equals "12.0" | verify-true get-property "styles[0].underline" | equals link | verify-true - get-property foregroundColor | equals "#212121" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleItalic.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleItalic.test index 1e3c710c71..17d9ac730f 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleItalic.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleItalic.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _FmtYkB3HEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:50 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:01 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -45,6 +45,5 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 5] { get-property text | equals Element1 | verify-true get-property "getFont().getFontData().FontData[0].style" | equals 2 | verify-true get-property "styles[0].underline" | equals link | verify-true - get-property foregroundColor | equals "#212121" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleStrike.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleStrike.test index 2809e75d99..809f4b716b 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleStrike.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleStrike.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _Fmwb4B3HEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:50 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:01 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -46,6 +46,5 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 11] { get-property "styles[0].fontStyle" | equals normal | verify-true get-property "styles[0].strikeout" | equals true | verify-true get-property "styles[0].underline" | equals link | verify-true - get-property foregroundColor | equals "#212121" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleUnderline.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleUnderline.test index 0f934ccaa3..0e8675c372 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleUnderline.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/hyperlink/HyperlinkWidgetStyleUnderline.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _Fm0GQB3HEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:50 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:01 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -45,6 +45,5 @@ with [get-view Properties | get-section Hyperlink | get-editbox -index 9] { get-property text | equals Element1 | verify-true get-property "styles[0].fontStyle" | equals normal | verify-true get-property "styles[0].underline" | equals link | verify-true - get-property foregroundColor | equals "#212121" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetConditionalStyle.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetConditionalStyle.test index 7a4f94aaf9..a776a09e88 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetConditionalStyle.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetConditionalStyle.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _r7voQB5gEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 10:02 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 2:28 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -35,18 +35,23 @@ with [get-view Properties | get-section Label | get-editbox -index 18] { get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true get-property text | equals "Conditional Style Label" | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true } // Check default value with [get-view Properties | get-section Label | get-editbox -index 19] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true + get-property enablement | equals true | verify-true get-property readOnly | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property foregroundColor | equals "#4D8914" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetDefault.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetDefault.test index b9714a6685..3d839ae9f3 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetDefault.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetDefault.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _BGAcQB3BEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 5:46 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 2:30 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -35,8 +35,6 @@ with [get-view Properties | get-section Label | get-editbox] { get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true get-property text | equals Label | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true } // Check default value @@ -44,11 +42,16 @@ with [get-view Properties | get-section Label | get-editbox -index 1] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property "getBounds().height" | equals 17 | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetDisable.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetDisable.test index 9be7a138b1..92d9c6d2e6 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetDisable.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetDisable.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _wBWhEB3DEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 5:44 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 2:31 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -35,8 +35,6 @@ with [get-view Properties | get-section Label | get-editbox -index 20] { get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true get-property text | equals "Disable Label" | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true } // Check disable value @@ -44,10 +42,15 @@ with [get-view Properties | get-section Label | get-editbox -index 21] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleAll.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleAll.test index df16df6da4..0f788bbb7e 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleAll.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleAll.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _ITPXoB3EEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 5:48 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:57 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -40,11 +40,18 @@ with [get-view Properties | get-section Label | get-editbox -index 16] { // Check style value with [get-view Properties | get-section Label | get-editbox -index 17] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true + get-property enablement | equals true | verify-true get-property containMenu | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property "styles[0].underline" | equals single | verify-true get-property "styles[0].strikeout" | equals true | verify-true get-property "getFont().getFontData().FontData[0].name" | equals "Times new roman" | verify-true diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleBackgroundColor.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleBackgroundColor.test index 6dce415b43..0f72091c81 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleBackgroundColor.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleBackgroundColor.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _9s5CAB3ZEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:18 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:56 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -40,11 +40,18 @@ with [get-view Properties | get-section Label | get-editbox -index 12] { // Check styled value with [get-view Properties | get-section Label | get-editbox -index 13] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true + get-property enablement | equals true | verify-true get-property containMenu | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property backgroundColor | equals "#729FCF" | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleBold.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleBold.test index c7032e07b2..ac9393931b 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleBold.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleBold.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _Z54eMB3EEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 5:48 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:56 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -40,11 +40,18 @@ with [get-view Properties | get-section Label | get-editbox -index 6] { // Check style value with [get-view Properties | get-section Label | get-editbox -index 7] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true + get-property enablement | equals true | verify-true get-property containMenu | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property "getFont().getFontData().FontData[0].style" | equals 1 | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleFont.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleFont.test index d8136ed058..88ae53e864 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleFont.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleFont.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _Z58IkB3EEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/20/16 9:25 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:56 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -40,11 +40,18 @@ with [get-view Properties | get-section Label | get-editbox -index 2] { // Check style value with [get-view Properties | get-section Label | get-editbox -index 3] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true + get-property enablement | equals true | verify-true get-property containMenu | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property "getFont().getFontData().FontData[0].name" | equals "Times new roman" | verify-true get-property "getFont().getFontData().FontData[0].height" | equals "12.0" | verify-true } diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleItalic.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleItalic.test index 3a26221048..3731af6488 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleItalic.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleItalic.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _Z5_L4B3EEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 5:48 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:55 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -40,11 +40,18 @@ with [get-view Properties | get-section Label | get-editbox -index 4] { // Check style value with [get-view Properties | get-section Label | get-editbox -index 5] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true + get-property enablement | equals true | verify-true get-property containMenu | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property "getFont().getFontData().FontData[0].style" | equals 2 | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleStrike.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleStrike.test index d88657b8d6..89fa347b7e 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleStrike.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleStrike.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _Z6CPMB3EEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 5:48 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:57 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -40,11 +40,18 @@ with [get-view Properties | get-section Label | get-editbox -index 10] { // Check style value with [get-view Properties | get-section Label | get-editbox -index 11] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true + get-property enablement | equals true | verify-true get-property containMenu | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property "styles[0].fontStyle" | equals normal | verify-true get-property "styles[0].strikeout" | equals true | verify-true } diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleUnderline.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleUnderline.test index 348e1f8c32..6f9623379e 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleUnderline.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/label/LabelWidgetStyleUnderline.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _Z6EEYB3EEeahj7Y4FJ9H9w -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 5:48 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 10:55 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -40,11 +40,18 @@ with [get-view Properties | get-section Label | get-editbox -index 8] { // Check style value with [get-view Properties | get-section Label | get-editbox -index 9] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true + get-property enablement | equals true | verify-true get-property containMenu | equals false | verify-true - get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu ven" + - "enatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a" + - " purus." | verify-true + get-property text | equals "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam hendrerit purus susci" + + "pit ante eleifend, eget scelerisque felis malesuada. Sed et orci scelerisque, mattis eros non, scelerisque l" + + "acus. Duis at efficitur neque. Proin nec ligula feugiat, molestie leo sed, aliquet mauris. Pellentesque libe" + + "ro augue, sollicitudin vel tortor et, imperdiet tincidunt dui. Duis sapien mauris, fringilla vel sollicitudi" + + "n a, lobortis vitae leo. Nam sapien ante, auctor ut mauris vitae, posuere congue tortor. Proin scelerisque l" + + "ectus metus, ac efficitur dolor porttitor non. Duis id finibus orci, eget porta neque. Morbi interdum placer" + + "at placerat. Etiam sollicitudin et arcu quis facilisis. Vivamus erat lectus, aliquet eu massa vitae, mollis " + + "euismod est. Donec purus purus, hendrerit id tincidunt ut, varius ac magna. Nunc id viverra sem, vitae egest" + + "as neque. Maecenas non commodo neque, sit amet ultrices velit. Curabitur consequat ultricies lectus, id effi" + + "citur ipsum condimentum at." | verify-true get-property "styles[0].fontStyle" | equals normal | verify-true get-property "styles[0].underline" | equals single | verify-true } diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/radio/RadioWidgetOnClick.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/radio/RadioWidgetOnClick.test index d51cd1af59..c5e7752a12 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/radio/RadioWidgetOnClick.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/radio/RadioWidgetOnClick.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _iiIFIB5uEea-TdrfW8_m6g -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/23/16 11:13 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:27 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/reference/ReferenceWidgetDefault.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/reference/ReferenceWidgetDefault.test index 61fdd78992..a93aae811c 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/reference/ReferenceWidgetDefault.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/reference/ReferenceWidgetDefault.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _B48FEB5xEea-TdrfW8_m6g -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/23/16 5:52 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:34 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -70,8 +70,6 @@ with [get-view Properties | get-section Reference] { get-property "getChildren().Control[0].isUnderlined()" | equals true | verify-true get-property "getChildren().Control[1].getChildren().length" | equals 0 | verify-true } - get-view Properties | get-section Reference | get-link Element1 | get-property foregroundColor | equals "#212121" - | verify-true } // Check multi value + table + actions diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetDefault.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetDefault.test index 37171e95df..c84e704130 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetDefault.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetDefault.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _rlbZYBxEEeaiCsudO7w7vA -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 3:55 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 2:59 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -38,8 +38,6 @@ with [get-view Properties | get-section TextArea | get-editbox -index 0] { get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true get-property text | equals "Text Area" | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true } // Check default value @@ -47,9 +45,15 @@ with [get-view Properties | get-section TextArea | get-editbox -index 1] { get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true get-property enablement | equals true | verify-true get-property readOnly | equals false | verify-true - get-property text | equals Element1 | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true + get-property text | equals "Et quoniam inedia gravi adflictabantur, locum petivere Paleas nomine, vergentem in ma" + + "re, valido muro firmatum, ubi conduntur nunc usque commeatus distribui militibus omne latus Isauriae defende" + + "ntibus adsueti. circumstetere igitur hoc munimentum per triduum et trinoctium et cum neque adclivitas ipsa s" + + "ine discrimine adiri letali, nec cuniculis quicquam geri posset, nec procederet ullum obsidionale commentum," + + " maesti excedunt postrema vi subigente maiora viribus adgressuri. Quibus occurrere bene pertinax miles expli" + + "catis ordinibus parans hastisque feriens scuta qui habitus iram pugnantium concitat et dolorem proximos iam " + + "gestu terrebat sed eum in certamen alacriter consurgentem revocavere ductores rati intempestivum anceps subi" + + "re certamen cum haut longe muri distarent, quorum tutela securitas poterat in solido locari cunctorum." + | verify-true get-property "getVerticalBar().isVisible()" | equals true | verify-true get-property "getBounds().height" | equals 85 | verify-true } diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetDisable.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetDisable.test index 3489d8b44d..07fc7cb6a0 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetDisable.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetDisable.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _VoBOQBxBEeaiCsudO7w7vA -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 3:55 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 3:07 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -34,21 +34,22 @@ get-view Properties | get-canvas -index 6 | click // Check disable label with [get-view Properties | get-section TextArea | get-editbox -index 20] { - get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true - get-property readOnly | equals false | verify-true - get-property text | equals "Disable Text area" | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true + get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true + get-property enablement | equals false | verify-true + get-property readOnly | equals false | verify-true + get-property text | equals "Disable Text area" | verify-true } // Check disable value with [get-view Properties | get-section TextArea | get-editbox -index 21] { - get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true - get-property readOnly | equals false | verify-true - get-property text | equals Element1 | verify-true - get-property backgroundColor | equals "#F4F8FD" | verify-true - get-property foregroundColor | equals "#212121" | verify-true + get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true + get-property enablement | equals false | verify-true + get-property readOnly | equals false | verify-true + get-property text | equals Element1 | verify-true + // Check that the background color has changed and is not anymore the same as the default background color + let [val defaultBackgroundColor [get-view Properties | get-section TextArea | get-editbox -index 1 | get-property + "backgroundColor"]] { + get-property backgroundColor | not-eq $defaultBackgroundColor + } } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetEdition.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetEdition.test index 4e175f4a4f..d83cf10eb8 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetEdition.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextAreaWidgetEdition.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _pk-J0BzOEeaiCsudO7w7vA -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/18/16 5:16 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 3:04 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -32,10 +32,8 @@ Entry-Name: .content // Select Text Area tab get-view Properties | get-canvas -index 6 | click -// Set a new value in the text area -with [get-view Properties | get-section TextArea | get-editbox -index 1 | set-text-selection -offset 16 -startLine 0 -endLine 0 - -endOffset 0] { - set-text-offset 0 0 +with [get-view Properties | get-section TextArea | get-editbox -index 1] { + set-text-selection -offset 0 -startLine 0 -endLine 0 -endOffset 835 type-text NewValue } @@ -49,4 +47,5 @@ get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram // Check that the label changed in the other widgets in the properties view get-view Properties | get-section TextArea | get-editbox -index 3 | get-property "getText()" | equals NewValue | verify-true + ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetDefault.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetDefault.test index cb328e0705..57bf76f2f1 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetDefault.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetDefault.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _VvraQAhdEea7hcZ9Jto1HQ -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 3:55 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 11:03 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -35,8 +35,6 @@ with [get-view Properties | get-section Text | get-editbox] { get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true get-property text | equals Text | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true } // Check default value @@ -45,8 +43,6 @@ with [get-view Properties | get-section Text | get-editbox -index 1] { get-property enablement | equals true | verify-true get-property readOnly | equals false | verify-true get-property text | equals Element1 | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true get-property "getBounds().height" | equals 17 | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetDisable.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetDisable.test index 7480b5a87c..a801a2c85e 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetDisable.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetDisable.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _isNeUBw2EeaiCsudO7w7vA -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 3:55 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/7/16 3:07 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -31,21 +31,22 @@ Entry-Name: .content // Check disable label with [get-view Properties | get-section Text | get-editbox -index 20] { - get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true - get-property readOnly | equals false | verify-true - get-property text | equals "Disable Text" | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true + get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true + get-property enablement | equals false | verify-true + get-property readOnly | equals false | verify-true + get-property text | equals "Disable Text" | verify-true } // Check disable value with [get-view Properties | get-section Text | get-editbox -index 21] { - get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true - get-property enablement | equals false | verify-true - get-property readOnly | equals false | verify-true - get-property text | equals Element1 | verify-true - get-property backgroundColor | equals "#F4F8FD" | verify-true - get-property foregroundColor | equals "#212121" | verify-true + get-property className | equals "org.eclipse.swt.custom.StyledText" | verify-true + get-property enablement | equals false | verify-true + get-property readOnly | equals false | verify-true + get-property text | equals Element1 | verify-true + // Check that the background color has changed and is not anymore the same as the default background color + let [val defaultBackgroundColor [get-view Properties | get-section Text | get-editbox -index 1 | get-property + "backgroundColor"]] { + get-property backgroundColor | not-eq $defaultBackgroundColor + } } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetEdition.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetEdition.test index 2a51c8c9ba..018c8f7aeb 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetEdition.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetEdition.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _CTbYIBxBEeaiCsudO7w7vA -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/18/16 10:00 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 6:18 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -30,20 +30,41 @@ Content-Type: text/ecl Entry-Name: .content // Set a new value in the text area -with [get-view Properties | get-section Text | get-editbox -index 1 | set-text-selection -offset 16 -startLine 0 -endLine 0 - -endOffset 0] { - set-text-offset 0 0 - type-text NewValue +with [get-view Properties | get-section Text | get-editbox -index 1 | set-text-selection -offset 0 -startLine 0 -endLine 0 -endOffset 16] { + type-text Hello } // Timer in order that the edition tool is applied wait 1000 // Check that the label changed in the diagram -get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | get-edit-part -name NewValue - | get-edit-part -className SquareEditPart | get-figure "0/0" | get-property "getText()" | equals NewValue +get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | get-edit-part -name Hello + | get-edit-part -className SquareEditPart | get-figure "0/0" | get-property "getText()" | equals Hello | verify-true -// Check that the label changed in the other widgets in the properties view -get-view Properties | get-section Text | get-editbox -index 3 | get-property "getText()" | equals NewValue | verify-true +// Set a new value in the text area +with [get-view Properties | get-section Text | get-editbox -index 1] { + type-text world +} + +// Timer in order that the edition tool is applied +wait 1000 + +// Check that the label changed in the diagram +get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | get-edit-part -name "Helloworld" + | get-edit-part -className SquareEditPart | get-figure "0/0" | get-property "getText()" | equals "Helloworld" + | verify-true + +// Set a new value in the text area +with [get-view Properties | get-section Text | get-editbox -index 1] { + type-text "Sirius" +} + +// Timer in order that the edition tool is applied +wait 1000 + +// Check that the label changed in the diagram +get-editor RootDiagram | get-diagram -index 1 | get-edit-part -name RootDiagram | get-edit-part -name "HelloworldSirius" + | get-edit-part -className SquareEditPart | get-figure "0/0" | get-property "getText()" | equals "HelloworldSirius" + | verify-true ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetStyleBold.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetStyleBold.test index 95af96c7bb..4d47a06dc4 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetStyleBold.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/text/TextWidgetStyleBold.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _FaCqEB0NEeaiCsudO7w7vA -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/19/16 3:55 PM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/5/16 5:57 PM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa diff --git a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/widget/WidgetDefault.test b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/widget/WidgetDefault.test index 56e9f3a8a2..b6e1a3490e 100644 --- a/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/widget/WidgetDefault.test +++ b/plugins/org.eclipse.sirius.tests.rcptt/case/properties/widgets/widget/WidgetDefault.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _AsGHUBzYEeaiCsudO7w7vA -Runtime-Version: 2.0.2.201511100828 -Save-Time: 5/18/16 11:57 AM +Runtime-Version: 2.1.0.201606221726 +Save-Time: 7/6/16 11:37 AM Testcase-Type: ecl ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa @@ -36,8 +36,6 @@ with [get-view Properties | get-section Widget | get-editbox] { get-property enablement | equals false | verify-true get-property readOnly | equals false | verify-true get-property text | equals Text | verify-true - get-property backgroundColor | equals "#FCFCFC" | verify-true - get-property foregroundColor | equals "#212121" | verify-true get-property "getFont().getFontData().FontData[0].style" | equals 0 | verify-true } ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |
