Just noticed buildbot is failing and looks like this info is useful here...
:)
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running
org.apache.tomee.microprofile.jwt.bval.ValidationGeneratorTest
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
0.123 s <<< FAILURE! - in
org.apache.tomee.microprofile.jwt.bval.ValidationGeneratorTest
[ERROR] test(org.apache.tomee.microprofile.jwt.bval.ValidationGeneratorTest)
Time elapsed: 0.064 s <<< FAILURE!
org.junit.ComparisonFailure:
expected:<...Method(ACC_PUBLIC, "[red$$0",
"()Lorg/eclipse/microprofile/jwt/JsonWebToken;", null, null);
{
av0 = mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/Name;",
true);
av0.visit("value", "public void
org.apache.tomee.microprofile.jwt.bval.data.Colors.red()");
av0.visitEnd();
}
{
av0 =
mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/ann/Issuer;",
true);
av0.visit("value", "http://foo.bar.com");
av0.visitEnd();
}
mv.visitCode();
mv.visitInsn(ACONST_NULL);
mv.visitInsn(ARETURN);
mv.visitMaxs(1, 1);
mv.visitEnd();
}
{
mv = cw.visitMethod(ACC_PUBLIC, "blue$$1",
"()Lorg/eclipse/microprofile/jwt/JsonWebToken;", null, null);
{
av0 = mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/Name;",
true);
av0.visit("value", "public void
org.apache.tomee.microprofile.jwt.bval.data.Colors.blue]()");
av0.visitEnd()...> but was:<...Method(ACC_PUBLIC, "[blue$$0",
"()Lorg/eclipse/microprofile/jwt/JsonWebToken;", null, null);
{
av0 = mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/Name;",
true);
av0.visit("value", "public void
org.apache.tomee.microprofile.jwt.bval.data.Colors.blue()");
av0.visitEnd();
}
{
av0 =
mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/ann/Issuer;",
true);
av0.visit("value", "http://foo.bar.com");
av0.visitEnd();
}
mv.visitCode();
mv.visitInsn(ACONST_NULL);
mv.visitInsn(ARETURN);
mv.visitMaxs(1, 1);
mv.visitEnd();
}
{
mv = cw.visitMethod(ACC_PUBLIC, "red$$1",
"()Lorg/eclipse/microprofile/jwt/JsonWebToken;", null, null);
{
av0 = mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/Name;",
true);
av0.visit("value", "public void
org.apache.tomee.microprofile.jwt.bval.data.Colors.red]()");
av0.visitEnd()...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at
org.apache.tomee.microprofile.jwt.bval.ValidationGeneratorTest.test(ValidationGeneratorTest.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
[INFO] Running
org.apache.tomee.microprofile.jwt.bval.ValidationConstraintsTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed:
0.013 s - in
org.apache.tomee.microprofile.jwt.bval.ValidationConstraintsTest
[INFO] Running org.apache.tomee.microprofile.jwt.JsonWebTokenValidatorTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed:
0.044 s - in org.apache.tomee.microprofile.jwt.JsonWebTokenValidatorTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] ValidationGeneratorTest.test:31 expected:<...Method(ACC_PUBLIC,
"[red$$0", "()Lorg/eclipse/microprofile/jwt/JsonWebToken;", null, null);
{
av0 = mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/Name;",
true);
av0.visit("value", "public void
org.apache.tomee.microprofile.jwt.bval.data.Colors.red()");
av0.visitEnd();
}
{
av0 =
mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/ann/Issuer;",
true);
av0.visit("value", "http://foo.bar.com");
av0.visitEnd();
}
mv.visitCode();
mv.visitInsn(ACONST_NULL);
mv.visitInsn(ARETURN);
mv.visitMaxs(1, 1);
mv.visitEnd();
}
{
mv = cw.visitMethod(ACC_PUBLIC, "blue$$1",
"()Lorg/eclipse/microprofile/jwt/JsonWebToken;", null, null);
{
av0 = mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/Name;",
true);
av0.visit("value", "public void
org.apache.tomee.microprofile.jwt.bval.data.Colors.blue]()");
av0.visitEnd()...> but was:<...Method(ACC_PUBLIC, "[blue$$0",
"()Lorg/eclipse/microprofile/jwt/JsonWebToken;", null, null);
{
av0 = mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/Name;",
true);
av0.visit("value", "public void
org.apache.tomee.microprofile.jwt.bval.data.Colors.blue()");
av0.visitEnd();
}
{
av0 =
mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/ann/Issuer;",
true);
av0.visit("value", "http://foo.bar.com");
av0.visitEnd();
}
mv.visitCode();
mv.visitInsn(ACONST_NULL);
mv.visitInsn(ARETURN);
mv.visitMaxs(1, 1);
mv.visitEnd();
}
{
mv = cw.visitMethod(ACC_PUBLIC, "red$$1",
"()Lorg/eclipse/microprofile/jwt/JsonWebToken;", null, null);
{
av0 = mv.visitAnnotation("Lorg/apache/tomee/microprofile/jwt/bval/Name;",
true);
av0.visit("value", "public void
org.apache.tomee.microprofile.jwt.bval.data.Colors.red]()");
av0.visitEnd()...>
[INFO]
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 2
--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html