blob: 3aed42ebccca102c0c22f764e00a98e0a8a80028 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _LipjoO9FEeWazOws8qE-Nw,_xLFOcO9OEeW7SP0a5rPzzg,_NN2OQO9SEeW7SP0a5rPzzg,_UBBLMO9SEeW7SP0a5rPzzg,_RYkiQO9SEeW7SP0a5rPzzg
Element-Name: Rete Visualizer - Clear graph
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _v9Oz4O9REeW7SP0a5rPzzg
Runtime-Version: 2.1.0.201606221726
Save-Time: 4/21/17 5:53 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
/*******************************************************************************
* Copyright (c) 2010-2016, Tamas Borbas, IncQuery Labs Ltd.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Tamas Borbas - Testing VIATRA GUI
*******************************************************************************/
get-view "Query Explorer" | get-tree -index 1
| select "\[platform:\\/resource\\/org.eclipse.viatra.examples.uml.instances\\/empty-classes.uml\]\[.*\]/uml.emptyclass.superClass.*$"
| double-click
/*get-view "Rete Visualizer" | get-canvas | get-property "getNodes().size()" | equals 9 | verify-true
with [get-view "Rete Visualizer"] {
get-button "Clear Graph" | click
}
get-view "Rete Visualizer" | get-canvas | get-property "getNodes().size()" | equals 0 | verify-true*/
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--