From: Miguel A. B. L. <ari...@us...> - 2007-03-05 16:52:04
|
Update of /cvsroot/arianne/marauroa/src/marauroa/test In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv23352/src/marauroa/test Modified Files: ClientFrameworkTest.java Log Message: Make some of the new test cases to pass. Index: ClientFrameworkTest.java =================================================================== RCS file: /cvsroot/arianne/marauroa/src/marauroa/test/ClientFrameworkTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ClientFrameworkTest.java 4 Mar 2007 22:24:07 -0000 1.1 --- ClientFrameworkTest.java 5 Mar 2007 16:51:58 -0000 1.2 *************** *** 1,6 **** package marauroa.test; ! import static org.junit.Assert.*; ! import marauroa.client.LoginFailedException; import marauroa.client.TimeoutException; --- 1,5 ---- package marauroa.test; ! import static org.junit.Assert.fail; import marauroa.client.LoginFailedException; import marauroa.client.TimeoutException; *************** *** 13,18 **** public class ClientFrameworkTest { ! MockClientFramework client ; ! @BeforeClass public static void setUpBeforeClass() throws Exception { --- 12,17 ---- public class ClientFrameworkTest { ! MockClientFramework client ; ! @BeforeClass public static void setUpBeforeClass() throws Exception { *************** *** 22,29 **** public static void tearDownAfterClass() throws Exception { } ! @Before ! public void setup() throws Exception { ! client = new MockClientFramework(""); ! } @Test --- 21,29 ---- public static void tearDownAfterClass() throws Exception { } ! ! @Before ! public void setup() throws Exception { ! client = new MockClientFramework(""); ! } @Test *************** *** 48,56 **** fail(e.toString()); } catch (LoginFailedException e) { ! e.printStackTrace(); fail(e.toString()); } ! } --- 48,56 ---- fail(e.toString()); } catch (LoginFailedException e) { ! e.printStackTrace(); fail(e.toString()); } ! } |