comparison test/sematest/TestInterManagerSession.java @ 471:d2762d669617

sleep command to wait for singleton prevention
author one
date Tue, 12 Oct 2010 10:19:59 +0900
parents 1bb59652d89c
children
comparison
equal deleted inserted replaced
470:7f0d4e49eaf9 471:d2762d669617
118 * Define pending command and set null command for now. 118 * Define pending command and set null command for now.
119 */ 119 */
120 LinkedList<REPCommand>cmds = new LinkedList<REPCommand>(); 120 LinkedList<REPCommand>cmds = new LinkedList<REPCommand>();
121 //cmds.add(new REPCommand(REP.SMCMD_JOIN,0,0,0,0,"Editor0-file")); 121 //cmds.add(new REPCommand(REP.SMCMD_JOIN,0,0,0,0,"Editor0-file"));
122 cmds.add(new REPCommand(REP.SMCMD_PUT,0,0,0,0,"Editor0-file")); 122 cmds.add(new REPCommand(REP.SMCMD_PUT,0,0,0,0,"Editor0-file"));
123 cmds.add(new REPCommand(REP.SMCMD_SLEEP,0,0,0,0,""));
123 cmds.add(new REPCommand(REP.REPCMD_INSERT_USER,0,0,0,0,"m0")); 124 cmds.add(new REPCommand(REP.REPCMD_INSERT_USER,0,0,0,0,"m0"));
124 // cmds.add(new REPCommand(REP.REPCMD_DELETE_USER,0,0,0,0,"m0")); 125 // cmds.add(new REPCommand(REP.REPCMD_DELETE_USER,0,0,0,0,"m0"));
125 cmds.add(new REPCommand(REP.SMCMD_QUIT,0,0,0,0,"")); 126 cmds.add(new REPCommand(REP.SMCMD_QUIT,0,0,0,0,""));
126 editorStartCmds = cmds; 127 editorStartCmds = cmds;
127 LinkedList<REPCommand>nullcmds = new LinkedList<REPCommand>(); 128 LinkedList<REPCommand>nullcmds = new LinkedList<REPCommand>();