git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lang] (fix) Add missing @Test annotation


Nice one!

Am Mi., 22. Aug. 2018 um 13:13 Uhr schrieb <eax@xxxxxxxxxx>:

> Repository: commons-lang
> Updated Branches:
>   refs/heads/master d1e72ebed -> ce178d8e8
>
>
> (fix) Add missing @Test annotation
>
>
> Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
> Commit:
> http://git-wip-us.apache.org/repos/asf/commons-lang/commit/ce178d8e
> Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/ce178d8e
> Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/ce178d8e
>
> Branch: refs/heads/master
> Commit: ce178d8e87ff6f9a12aea4b217c1e09254936236
> Parents: d1e72eb
> Author: Eitan Adler <lists@xxxxxxxxxxxxxx>
> Authored: Wed Aug 22 04:06:44 2018 -0700
> Committer: Eitan Adler <lists@xxxxxxxxxxxxxx>
> Committed: Wed Aug 22 04:07:44 2018 -0700
>
> ----------------------------------------------------------------------
>  src/test/java/org/apache/commons/lang3/EnumUtilsTest.java | 1 +
>  1 file changed, 1 insertion(+)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/commons-lang/blob/ce178d8e/src/test/java/org/apache/commons/lang3/EnumUtilsTest.java
> ----------------------------------------------------------------------
> diff --git a/src/test/java/org/apache/commons/lang3/EnumUtilsTest.java
> b/src/test/java/org/apache/commons/lang3/EnumUtilsTest.java
> index 7c732b2..2b9dc08 100644
> --- a/src/test/java/org/apache/commons/lang3/EnumUtilsTest.java
> +++ b/src/test/java/org/apache/commons/lang3/EnumUtilsTest.java
> @@ -407,6 +407,7 @@ public class EnumUtilsTest {
>          EnumUtils.processBitVector(TooMany.class, 0L);
>      }
>
> +    @Test
>      public void test_processBitVectors_longClass() {
>          assertEquals(EnumSet.noneOf(TooMany.class),
> EnumUtils.processBitVectors(TooMany.class, 0L));
>          assertEquals(EnumSet.of(TooMany.A),
> EnumUtils.processBitVectors(TooMany.class, 1L));
>
>