comparison test/editortest/TestSessionManager2.java @ 416:b7f42fc75a36

(no commit message)
author one
date Wed, 31 Dec 2008 14:47:39 +0900
parents 784a4d67e6a5
children
comparison
equal deleted inserted replaced
415:648c676bf9df 416:b7f42fc75a36
5 import rep.SessionManager; 5 import rep.SessionManager;
6 import rep.channel.REPLogger; 6 import rep.channel.REPLogger;
7 import rep.channel.REPServerSocketChannel; 7 import rep.channel.REPServerSocketChannel;
8 import rep.gui.SessionManagerEvent; 8 import rep.gui.SessionManagerEvent;
9 import rep.gui.SessionManagerGUI; 9 import rep.gui.SessionManagerGUI;
10 import rep.handler.Editor;
10 import test.sematest.TestGUI; 11 import test.sematest.TestGUI;
11 12
12 13
13 public class TestSessionManager2 { 14 public class TestSessionManager2 {
14 15
114 * set simulation mode 115 * set simulation mode
115 * isSimulation=true thread base simulation for PathFinder 116 * isSimulation=true thread base simulation for PathFinder
116 * isSimulation=false socket based communication mode 117 * isSimulation=false socket based communication mode
117 */ 118 */
118 REPServerSocketChannel.isSimulation = false; 119 REPServerSocketChannel.isSimulation = false;
119 //Editor.noMergeMode = true; 120 Editor.noMergeMode = false;
120 // At least 3 TestEditors are required. 121 // At least 3 TestEditors are required.
121 TestSessionManager2 test = new TestSessionManager2(1, 0, 3); 122 TestSessionManager2 test = new TestSessionManager2(1, 0, 3);
122 logger.setLogLevel(5); 123 logger.setLogLevel(5);
123 test.startTest(); 124 test.startTest();
124 } 125 }