GitHub user gabrielruiu opened a pull request:

    https://github.com/apache/commons-lang/pull/37

    add RandomEnumUtils to operate with random instances of enum types

    Added a utility class that returns a random instance of an Enum of a 
certain provided type. This, I consider, is useful when creating test data 
instances with random values for its fields, among which are most likely some 
Enum types as well.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gabrielruiu/commons-lang trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/37.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #37
    
----
commit 3dbf61ed6da553bc5d46e2a3c16334ed6f9c021e
Author: Ruiu Gabriel Mihai <gabriel.r...@mail.com>
Date:   2014-11-11T11:35:58Z

    add RandomEnumUtils to operate with random instances of enum types

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to