Mercurial > hg > RemoteEditor > REPSessionManager
changeset 470:7f0d4e49eaf9
add assert
author | one |
---|---|
date | Mon, 11 Oct 2010 21:12:46 +0900 |
parents | e252d092b720 |
children | d2762d669617 |
files | test/sematest/TestSessionManager.java |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/sematest/TestSessionManager.java Mon Oct 11 21:09:43 2010 +0900 +++ b/test/sematest/TestSessionManager.java Mon Oct 11 21:12:46 2010 +0900 @@ -7,6 +7,7 @@ import rep.channel.REPServerSocketChannel; import rep.gui.SessionManagerEvent; import rep.gui.SessionManagerGUI; +import test.Text; public class TestSessionManager { @@ -125,6 +126,10 @@ for(SessionManager master:sessionManagers) { master.serverStop(); } + Text t = editors[0].text; + for(TestEditor editor:editors) { + assert (editor.text.equals(t)); + } } public static void main(String[] args){