vrakeshreddy / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Please, let EnumDataAttribute expose its enumerated type in a public property. #579

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Today, EnumDataAttribute does not expose the enumerated type given to it in
the constructor. One has to resort to private data reflection in order to
explore the structure of a unit test using the EnumData attribute (why one
would like to examine the structure of a unit test is another question - we
do it because we create dynamic tests based on existing ones).

Anyway, doing so does not break anything. BTW, ColumnAttribute does expose
its values publicly. 

Thanks.

Original issue reported on code.google.com by mark.kha...@gmail.com on 30 Oct 2009 at 5:39

GoogleCodeExporter commented 9 years ago
Seems reasonable.

Original comment by jeff.br...@gmail.com on 7 Nov 2009 at 8:25

GoogleCodeExporter commented 9 years ago
Any chance folks, that you do it in MbUnit 3.1? After all, the change is tiny 
both in
affected code and side effects.
Thanks

Original comment by mark.kha...@gmail.com on 7 Nov 2009 at 8:28

GoogleCodeExporter commented 9 years ago
Fixed and applied to the v3.1 branch.

Original comment by Yann.Tre...@gmail.com on 9 Nov 2009 at 7:02