FogBugz (Case [Issue]10160) SUnit - Give a nice way to duplicate classes for test purpose

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]10160) SUnit - Give a nice way to duplicate classes for test purpose

Pharo Issue Tracker
A FogBugz case was reactivated (assigned to Everyone) by Camillo Bruni.

Case ID:      10160
Title:        Give a nice way to duplicate classes for test purpose
Status:       Work Needed
Category:     Enhancement
Project:      SUnit
Area:         Misc
Priority:     6 - Fix If Time
Milestone:    Pharo3.0: 30/03/2014
Assigned To:  Everyone

URL:          https://pharo.fogbugz.com/default.asp?10160


Changes:
Status changed from 'Resolved (Fix Review Needed)' to 'Work Needed'.

<code>duplicateClass: aClassName withNewName: name</code> is strange. Why don't you pass in the directly the original class? I hardly see a use-case where you would want to duplicate and existing class by referring only to its name.

I would change it to <code>duplicateClass: aClass withNewName: name</code>, which is also more coherent with the selector.


You are subscribed to this case.  If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=10160) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker