Mercurial > hg > RemoteEditor > REPSessionManager
comparison test/editortest/TestSimpleEditor.java @ 419:7ff127c8ad64
(no commit message)
author | one |
---|---|
date | Tue, 20 Jan 2009 18:39:02 +0900 |
parents | 267f9748e826 |
children | 7420dea70dd7 |
comparison
equal
deleted
inserted
replaced
418:d1bfcff0cdd2 | 419:7ff127c8ad64 |
---|---|
1 package test.editortest; | 1 package test.editortest; |
2 | 2 |
3 import java.io.IOException; | 3 import java.io.IOException; |
4 | 4 |
5 import rep.handler.Editor; | |
5 import test.AutoSelectManager; | 6 import test.AutoSelectManager; |
6 | 7 |
7 public class TestSimpleEditor { | 8 public class TestSimpleEditor { |
8 | 9 |
9 /** | 10 /** |
26 }; | 27 }; |
27 | 28 |
28 Thread thread = new Thread(runnable); | 29 Thread thread = new Thread(runnable); |
29 thread.start(); | 30 thread.start(); |
30 | 31 |
31 SimpleEditorForREPEditor editor1 = new SimpleEditorForREPEditor("test1"); | 32 SimpleEditorForREPEditor editor1 = new SimpleEditorForREPEditor("editor1"); |
32 editor1.setVisible(true); | 33 editor1.setVisible(true); |
33 | 34 |
34 SimpleEditorForREPEditor editor2 = new SimpleEditorForREPEditor("test2"); | 35 SimpleEditorForREPEditor editor2 = new SimpleEditorForREPEditor("editor2"); |
35 editor2.setVisible(true); | 36 editor2.setVisible(true); |
36 | 37 |
37 SimpleEditorForREPEditor editor3 = new SimpleEditorForREPEditor("test3"); | 38 SimpleEditorForREPEditor editor3 = new SimpleEditorForREPEditor("editor3"); |
38 editor3.setVisible(true); | 39 editor3.setVisible(true); |
40 | |
41 UserSimulator user = new UserSimulator("Starter"); | |
42 user.add(editor1); user.add(editor2); user.add(editor3); | |
43 user.setVisible(true); | |
44 | |
45 Editor.noMergeMode = false; | |
46 | |
39 } | 47 } |
40 | 48 |
41 } | 49 } |