Author: jcompagner
Date: Wed Feb 21 14:55:39 2007
New Revision: 510285

URL: http://svn.apache.org/viewvc?view=rev&rev=510285
Log:
added default the wicket obejct outputstream on objects for quick testing

Modified:
    
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/App1Test1.java

Modified: 
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/App1Test1.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/App1Test1.java?view=diff&rev=510285&r1=510284&r2=510285
==============================================================================
--- 
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/App1Test1.java
 (original)
+++ 
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/App1Test1.java
 Wed Feb 21 14:55:39 2007
@@ -8,6 +8,8 @@
 
 import wicket.threadtest.tester.SimpleGetCommand;
 import wicket.threadtest.tester.Tester;
+import wicket.util.io.WicketObjectStreamFactory;
+import wicket.util.lang.Objects;
 
 /**
  * @author eelcohillenius
@@ -31,6 +33,7 @@
                // you can turn this on if you e.g. want to attach to a profiler
                // Thread.sleep(5000);
 
+               Objects.setObjectStreamFactory(new WicketObjectStreamFactory());
                SimpleGetCommand getCmd = new SimpleGetCommand(gets, 100);
                // getCmd.setPrintResponse(true);
                Tester tester = new Tester(getCmd, 10, true);


Reply via email to