/** * On top of standard system object init(), this init() makes sure that server == servers[0] * so the test developer can use both references alternatively. */ @Override public void init() throws Exception { super.init(); if (server != null) { servers = new IperfServer[]{server}; } else { server = servers[0]; } }
@Override public void init() throws Exception { super.init(); }
@Override public void init() throws Exception { super.init(); }
@Override public void init() throws Exception { super.init(); }
@Override public void init() throws Exception { super.init(); }
public void init() throws Exception{ super.init(); }
public void init() throws Exception { super.init(); } public void close(){
public void init() throws Exception { super.init(); } public void close(){
@Override public void init() throws Exception { super.init(); }
@Override public void init() throws Exception { super.init(); }
public void init() throws Exception{ super.init(); }
public void init() throws Exception { super.init(); report.report("Hello world init"); } public void close(){
public void init() throws Exception { super.init(); if (lazyInit == false) { openBrowser(); } }
public void init() throws Exception { super.init(); report.report("Hello world init"); }
public void init() throws Exception { super.init(); report.report("Hello world init"); }
public void init() throws Exception { super.init(); report.step("In init method"); }
public void init() throws Exception { super.init(); report.step("In init method"); }
@Override public void init() throws Exception { super.init(); thread = new Thread(this); // If processMonitors was not set by SUT we create an empty one so it will not be null, but an empty one, until it is configured by // the test. if (processMonitors == null) { processMonitors = new ProcessMonitor[0]; } // Workaround - somehow in some scenarios the SO is not registered??? However, worst case we add the SO twice, no harm done. setName("MachineMonitor" + System.currentTimeMillis()); systemManager.addSystemObject(this); }
/** * * @throws Exception */ public void init() throws Exception{ super.init(); cliConnection.setMaxIdleTime(1800000); cliConnection.init(); }
@Override public void init() throws Exception { super.init(); pyPrompts[0] = new Prompt(); pyPrompts[0].setPrompt(">>> "); pyPrompts[0].setCommandEnd(true); station = StationsFactory.createStation(getWorstation(), getOs(), getOs().equals("linux") ? "ssh" : "telnet", getUser(), getPassword(), null); station.init(); cliApplication = station.getCliSession(false); cliConnection = cliApplication.getConnectivityManager().getCli(); cliConnection.setPrompts(pyPrompts); logFileS = new StringBuffer(); }