Mercurial > hg > RemoteEditor > REPSessionManager
diff test/sematest/TestEditor.java @ 471:d2762d669617
sleep command to wait for singleton prevention
author | one |
---|---|
date | Tue, 12 Oct 2010 10:19:59 +0900 |
parents | c83af820eb62 |
children | ebfa3b05a8dd |
line wrap: on
line diff
--- a/test/sematest/TestEditor.java Mon Oct 11 21:12:46 2010 +0900 +++ b/test/sematest/TestEditor.java Tue Oct 12 10:19:59 2010 +0900 @@ -177,6 +177,12 @@ cmd.setString(del); sendCommand(cmd); break; + case SMCMD_SLEEP: + try { + sleep(1000); + } catch (InterruptedException e) { + } + break; case SMCMD_QUIT: /* * start termination phase 1 by the master editor. @@ -231,7 +237,7 @@ private void handle(REPCommand cmd) { if (cmd==null) return; - ns.writeLog(name +": read "+cmd + " textsize="+text.size()); + ns.writeLog(name +": read "+cmd + " textsize="+text.size()+" "+text); switch(cmd.cmd) { case REPCMD_INSERT : if (cmd.eid!=eid) {