blob: d4f503ee98f42762b1053385ad5515dd613277ad [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Context-Type: org.eclipse.rcptt.ctx.ecl
Element-Name: SetGlobalVariables
Element-Type: context
Element-Version: 2.0
Id: _P5YQQFRDEeaXLqlXvYQIgg
Runtime-Version: 2.1.0.201606221726
Save-Time: 12/12/16 5:14 PM
------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998
Content-Type: text/ecl
Entry-Name: .ecl.context
//Build the address of the default test gerrit server to run the tests against
let [val server [substitute-variables "${system_property:EGerritGerritTestServerHost}"]] {
if [$server | equals ""] -then { global [val server_address "localhost"] } -else { global [val server_address [substitute-variables "${system_property:EGerritGerritTestServerHost}"]] }
let [val port [substitute-variables "${system_property:EGerritGerritTestServerPort}"]] {
if [$port | equals ""] -then { global [val server_port "28112"] } -else { global [val server_port [substitute-variables "${system_property:EGerritGerritTestServerPort}"]] }
}
global [val serverURL [concat "http://" $server_address ":" $server_port]]
}
global [val serverName DefaultGerritServer]
global [val gerritProject "egerrit/RCPTTtest"]
global [val defaultUser "admin@localhost"]
//Get the wait time from a system property
let [val waitTime [substitute-variables "${system_property:RCPTTWaitTime}"]] {
if [$waitTime | equals ""] -then { global [val defaultWaitTime 1500] } -else { global [val defaultWaitTime [substitute-variables "${system_property:RCPTTWaitTime}" | int]] }
}
------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998--