From: SourceForge.net <no...@so...> - 2009-12-01 02:20:23
|
Feature Requests item #2033150, was opened at 2008-07-30 21:08 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=365278&aid=2033150&group_id=15278 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Mark Ziesemer (ziesemer) Assigned to: Nobody/Anonymous (nobody) Summary: Make result classes Serializable Initial Comment: This is closely related to closed feature request 825340, and slightly related to closed bug 595957. The following classes should be changed to implement java.io.Serializable: - org.junit.runner.notification.Failure - org.junit.runner.Description - org.junit.runner.Result This would not break any API compatibility. All fields held by these classes are either other instances of the listed classes, already serializable, or primitives which are serializable by definition. Simply, this would allow for these classes to be serialized and "sent over the wire", saved for future review, etc. This would also allow for instances of these classes to be contained in other serializable classes without having to be marked transient. Granted, none of these are severe reasons, but the real benefits may be the unseen ones - and I don't see any disadvantages. The alternative is having to write a number of mappers and "wrapper" classes that are serializable to hold all the same information. If requested, I will produce a patch to contain the changes and associated test cases. ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2009-12-01 02:20 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: David Saff (dsaff) Date: 2009-11-16 17:52 Message: This tracker is being shut down. Please move this item to http://github.com/KentBeck/junit/issues ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=365278&aid=2033150&group_id=15278 |