| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _DGqOIKPrEeWDWL6qw48qbg,_QPJq4Ke7EeWKy_GaRsFWZw |
| Element-Name: PerformanceCheck |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _k5bhkKe7EeWKy_GaRsFWZw |
| Runtime-Version: 2.1.0.201606221726 |
| Save-Time: 7/24/17 10:22 AM |
| Testcase-Type: ecl |
| Verifications: _OCzUMKM-EeW6_Mq9rZ9GtQ |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| Performance check with a big model to load. |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Model Explorer" | get-tree | select "performancemodel/model.amxmi" | double-click |
| with [get-editor "model.amxmi" | get-section "model.amxmi Contents" | get-tree] { |
| get-item "AMALTHEA.*/Software/Runnables \(.*\)" | get-property caption | equals "Runnables (1250)" | verify-true |
| get-item "AMALTHEA.*/Software/Labels \(.*\)" | get-property caption | equals "Labels (10000)" | verify-true |
| get-item "AMALTHEA.*/Software/Tasks \(.*\)" | get-property caption | equals "Tasks (21)" | verify-true |
| } |
| get-editor "model.amxmi" | get-section "model.amxmi Contents" | get-tree |
| | select "AMALTHEA.*/Software/Tasks.*/Angle_Sync" |
| with [get-view Properties | get-tree] { |
| select "Misc/Stimuli" | activate-cell-edit -column 1 |
| get-button "..." | click |
| } |
| with [get-window "Stimuli -- Task Angle_Sync"] { |
| get-table | get-property itemCount | equals 20 | verify-true |
| with [get-table -after [get-label Feature]] { |
| get-item "Periodic Stimulus periodic_6660us" | get-property caption | equals "Periodic Stimulus periodic_6660us" | verify-true |
| get-property itemCount | equals 1 | verify-true |
| } |
| } |
| get-window "Stimuli -- Task Angle_Sync" | get-button OK | click |
| with [get-editor "model.amxmi" | get-section "model.amxmi Contents" | get-tree] { |
| get-item "AMALTHEA.*/Stimuli" | get-property caption | equals Stimuli | verify-true |
| get-item "AMALTHEA.*/Stimuli" | get-property childCount | equals 21 | verify-true |
| } |
| with [get-editor "model.amxmi" | get-section "model.amxmi Contents" | get-tree] { |
| get-item "AMALTHEA.*/Constraints" | get-property caption | equals Constraints | verify-true |
| get-item "AMALTHEA.*/Constraints" | get-property childCount | equals 24 | verify-true |
| } |
| with [get-editor "model.amxmi" | get-section "model.amxmi Contents" | get-tree] { |
| get-item "AMALTHEA.*/Mapping" | get-property caption | equals "Mapping" | verify-true |
| get-item "AMALTHEA.*/Mapping" | get-property childCount | equals 10025 | verify-true |
| } |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |