You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gabrielruiu <gi...@git.apache.org> on 2014/11/11 12:46:14 UTC

[GitHub] commons-lang pull request: add RandomEnumUtils to operate with ran...

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 <ga...@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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] commons-lang pull request: add RandomEnumUtils to operate with ran...

Posted by gabrielruiu <gi...@git.apache.org>.
Github user gabrielruiu closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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