# HG changeset patch # User one # Date 1228808081 -32400 # Node ID 648c676bf9df10998cd542658d20e7611cf3dfe4 # Parent 784a4d67e6a51a64d47719e97c70ef9816764880 REPSimpleEditor diff -r 784a4d67e6a5 -r 648c676bf9df test/editortest/REPSimpleEditor.java --- a/test/editortest/REPSimpleEditor.java Tue Dec 09 15:44:28 2008 +0900 +++ b/test/editortest/REPSimpleEditor.java Tue Dec 09 16:34:41 2008 +0900 @@ -62,8 +62,8 @@ putButton = new JButton("put"); joinButton = new JButton("join"); - putButton.addActionListener(this); - joinButton.addActionListener(this); + //putButton.addActionListener(this); + //joinButton.addActionListener(this); toolbar.add(putButton); toolbar.add(joinButton); @@ -108,7 +108,7 @@ } catch (BadLocationException e1) { e1.printStackTrace(); } - Logger.printT(command); + //Logger.printT(command); return command; } diff -r 784a4d67e6a5 -r 648c676bf9df test/editortest/TestEditor2.java --- a/test/editortest/TestEditor2.java Tue Dec 09 15:44:28 2008 +0900 +++ b/test/editortest/TestEditor2.java Tue Dec 09 16:34:41 2008 +0900 @@ -180,6 +180,7 @@ private void userInput() { REPCommand cmd = cmds.poll(); if (cmd!=null) { + Logger.print(logTarget, "User Input : " + cmd); switch(cmd.cmd) { case REPCMD_INSERT_USER: text.insert(cmd.lineno, cmd.string); diff -r 784a4d67e6a5 -r 648c676bf9df test/sematest/TestInterManagerSession.java --- a/test/sematest/TestInterManagerSession.java Tue Dec 09 15:44:28 2008 +0900 +++ b/test/sematest/TestInterManagerSession.java Tue Dec 09 16:34:41 2008 +0900 @@ -150,7 +150,7 @@ * isSimulation=true thread base simulation for PathFinder * isSimulation=false socket based communication mode */ - REPServerSocketChannel.isSimulation = true; + REPServerSocketChannel.isSimulation = false; // At least 3 TestEditors are required. TestInterManagerSession test = new TestInterManagerSession(1, 2, 3); logger.setLogLevel(5); diff -r 784a4d67e6a5 -r 648c676bf9df test/sematest/TestSessionManager.java --- a/test/sematest/TestSessionManager.java Tue Dec 09 15:44:28 2008 +0900 +++ b/test/sematest/TestSessionManager.java Tue Dec 09 16:34:41 2008 +0900 @@ -73,7 +73,7 @@ * start session manager. sm.init(port,guit) is a mainloop, so * we need Thread here. */ - int startSessionManager(final SessionManager sm,int i,int port) { + public int startSessionManager(final SessionManager sm,int i,int port) { final SessionManagerGUI gui = new TestGUI(sm); final int port1 = port; logger.writeLog("TestSessionManager.startSessionManager() : start SessionManager"); @@ -114,7 +114,7 @@ * isSimulation=true thread base simulation for PathFinder * isSimulation=false socket based communication mode */ - REPServerSocketChannel.isSimulation = true; + REPServerSocketChannel.isSimulation = false; // At least 3 TestEditors are required. TestSessionManager test = new TestSessionManager(1, 0, 3); logger.setLogLevel(5);