blob: f5ee92d3f78ce6f0e355d21ecb7e5bd0276a8952 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _LOMGYGrvEeK_JdLra2Bk5A,_jRtbsGrtEeK_JdLra2Bk5A,_SapwEL4pEeOsAoUpt_cnqw
Element-Name: ts016_tc001_engines_preference_page_no_preference
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _5EL-cL4lEeOsAoUpt_cnqw
Runtime-Version: 2.0.0.201506120617
Save-Time: 3/21/16 3:32 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
This test must validate the Engines preference page when no preferences are set.
1. Open "Engines" preference page.
2. Checks that all default engines are set correctly.
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
//Checks default match engine selection and description
get-preferences-menu | click
get-window Preferences | get-tree | select "EMF Compare/Engines"
with [get-window Preferences] {
with [get-table] {
get-item "Default Match engine" | get-property checked | equals true | verify-true
}
with [get-group Configuration] {
get-button "When available: The engine will use some heuristics when identifiers are missing"
| get-property selected | equals true | verify-true
get-button "Only: Objects without identifiers will never be matched." | get-property selected | equals false
| verify-true
get-button "Never: Objects will be matched with some heuristics regardless of having identifiers."
| get-property selected | equals false | verify-true
}
get-group Description | get-property "getChildren().Control[0].getText()"
| equals "Default implementation of the Matching engine provided by EMF Compare. Any user-provided engine should have a ranking > 0." | verify-true
}
//Checks default diff engine selection and description
get-window Preferences | get-tab-folder | get-tab-item Difference | click
with [get-window Preferences] {
get-table | get-item "Default Difference Engine" | get-property checked | equals true | verify-true
get-group Description | get-property "getChildren().Control[0].getText()"
| equals "Default implementation of the differences engine provided by EMF Compare" | verify-true
}
//Checks default equi engine selection and description
get-window Preferences | get-tab-folder | get-tab-item Equivalence | click
with [get-window Preferences] {
get-table | get-item "Default Equivalence Engine" | get-property checked | equals true | verify-true
get-group Description | get-property "getChildren().Control[0].getText()"
| equals "Default implementation of the equivalences engine provided by EMF Compare." | verify-true
}
//Checks default req engine selection and description
get-window Preferences | get-tab-folder | get-tab-item Requirement | click
with [get-window Preferences] {
get-table | get-item "Default Requirement Engine" | get-property checked | equals true | verify-true
get-group Description | get-property "getChildren().Control[0].getText()"
| equals "Default implementation of the requierements engine provided by EMF Compare." | verify-true
}
//Checks default conflit detector selection and description
get-window Preferences | get-tab-folder | get-tab-item Conflict | click
with [get-window Preferences] {
get-table | get-item "Default Conflict Detector" | get-property checked | equals true | verify-true
get-group Description | get-property "getChildren().Control[0].getText()"
| equals "Default implementation of the conflict detector provided by EMF Compare." | verify-true
}
get-window Preferences | get-button OK | click
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--