osdir.com
mailing list archive

Subject: Re: Why isn't TestResult serializable? - msg#00338

List: java.junit.user

Date: Prev Next Index Thread: Prev Next Index
Leo Uzcategui wrote:

> Hi,
> I would like to define a method on an EJB that returns a
> junit.framework.TestResult , but TestResult is not serializable. I could
> write a data object that implements Serializable and populate it with the
> data from TestResult, but I am curious why TestResult was not made
> serializable from the start.

My guess is that there was absolutely no requirement for it, nothing more.
--
J. B. Rainsberger,
Diaspar Software Services
http://www.diasparsoftware.com :: +1 416 791-8603
Let's write software that people understand


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/5cFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
junit-unsubscribe@xxxxxxxxxxxxxxx


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Why isn't TestResult serializable?

Hi, I would like to define a method on an EJB that returns a junit.framework.TestResult , but TestResult is not serializable. I could write a data object that implements Serializable and populate it with the data from TestResult, but I am curious why TestResult was not made serializable from the start. Any other ideas or suggestions? Thanks, Leo ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/5cFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: junit-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Next Message by Date: click to view message preview

RE: The goals of CMM (Re: wanted Junit professionals urgently)

On Tue, 26 Aug 2003, Michael Silverstein wrote: > The good part of ET is that you spend less time coming up with scripts > and automating and more time testing, so you have a greater liklihood of > going down a path you might not otherwise have tested. Actually, I've found that without the scripts I spend less time testing, because doing a test similar to a previous test but with just a couple of things changed isn't just a matter if a quick cut, paste and run. And this is even for GUI apps, albeit web-based ones. Finally scripting the web-based stuff allowed us to try new tests an order of magnitude faster than we used to be able to, in some cases. (But please, don't take this as I'm saying this is a silver bullet, or will be better in every single situation.) cjs -- Curt Sampson <cjs@xxxxxxxxx> +81 90 7737 2974 http://www.NetBSD.org Don't you know, in this new Dark Age, we're all light. --XTC ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/5cFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: junit-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Previous Message by Thread: click to view message preview

Why isn't TestResult serializable?

Hi, I would like to define a method on an EJB that returns a junit.framework.TestResult , but TestResult is not serializable. I could write a data object that implements Serializable and populate it with the data from TestResult, but I am curious why TestResult was not made serializable from the start. Any other ideas or suggestions? Thanks, Leo ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/5cFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: junit-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Next Message by Thread: click to view message preview

java.lang.IllegalArgumentException: addChild: Child name 'ServletRedirector' is not unique

Hi, I've run a few cactus tests, but today I'm getting this Exception in JBoss while deploying the war file.. java.lang.IllegalArgumentException: addChild: Child name 'ServletRedirector' is not u nique I thought this error comes when we have the same servlet name multiple times, but this error can be reproduced with this small web.xml file which I have pasted below. Where have I gone wrong? <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>ServletRedirector</servlet-name> <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class > </servlet> </web-app> ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/5cFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: junit-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by