コード例 #1
0
		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";
		}
コード例 #2
0
		public string stop_RuninngInstances()    
		{
			var webScarab = new API_WebScarab();
			webScarab.attach();			
			webScarab.stop();
			ensureNoRunningInstances();
			return "ok";
		}
コード例 #3
0
        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");
        }
コード例 #4
0
        public string stop_RuninngInstances()
        {
            var webScarab = new API_WebScarab();

            webScarab.attach();
            webScarab.stop();
            ensureNoRunningInstances();
            return("ok");
        }