Mercurial > hg > RemoteEditor > REPSessionManager
changeset 189:d03e34861a26
*** empty log message ***
author | pin |
---|---|
date | Fri, 29 Aug 2008 17:16:51 +0900 |
parents | b9855078a070 |
children | 63701e2a2fe8 |
files | test/channeltest/testNetworkSimulator.java test/sematest/TestSessionManager.java |
diffstat | 2 files changed, 35 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/channeltest/testNetworkSimulator.java Fri Aug 29 17:13:30 2008 +0900 +++ b/test/channeltest/testNetworkSimulator.java Fri Aug 29 17:16:51 2008 +0900 @@ -15,7 +15,7 @@ static public REPLogger logger = REPLogger.singleton(); public static void main(String[] args){ - REPServerSocketChannel.isSimulation = false; + REPServerSocketChannel.isSimulation = true; testNetworkSimulator testns = new testNetworkSimulator(1, 0, 2); logger.setLogLevel(5);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/sematest/TestSessionManager.java Fri Aug 29 17:16:51 2008 +0900 @@ -0,0 +1,34 @@ +package test.sematest; + +import java.util.ArrayList; +import java.util.List; + +import rep.SessionManager; +import rep.channel.REPServerSocketChannel; +import test.channeltest.testEditor; + +public class TestSessionManager { + + private List<SessionManager> semaList; + private List<SessionManager> semaSList; + private List<testEditor> editorList; + + public TestSessionManager(int i, int j, int k) { + // TODO Auto-generated constructor stub + semaList = new ArrayList<SessionManager>(); + semaSList = new ArrayList<SessionManager>(); + editorList = new ArrayList<testEditor>(); + } + + public static void main(String[] args){ + REPServerSocketChannel.isSimulation = true; + TestSessionManager test = new TestSessionManager(1, 0, 2); + test.startTest(); + } + + private void startTest() { + // TODO Auto-generated method stub + + } + +}