public string ensureNoRunningInstances() { var webScarab = new API_WebScarab(); "in ensureNoRunningInstances".debug(); webScarab.attach(); Assert.That(webScarab.WebScarab_Process.isNull(), "webScarab.WebScarab_Process was not null, which means that there was a running instance of WebScarab"); return "ok"; }
public string stop_RuninngInstances() { var webScarab = new API_WebScarab(); webScarab.attach(); webScarab.stop(); ensureNoRunningInstances(); return "ok"; }
public string ensureNoRunningInstances() { var webScarab = new API_WebScarab(); "in ensureNoRunningInstances".debug(); webScarab.attach(); Assert.That(webScarab.WebScarab_Process.isNull(), "webScarab.WebScarab_Process was not null, which means that there was a running instance of WebScarab"); return("ok"); }
public string stop_RuninngInstances() { var webScarab = new API_WebScarab(); webScarab.attach(); webScarab.stop(); ensureNoRunningInstances(); return("ok"); }