Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

error when building Grendel #9

Open
winter1990 opened this issue Jul 15, 2014 · 0 comments
Open

error when building Grendel #9

winter1990 opened this issue Jul 15, 2014 · 0 comments

Comments

@winter1990
Copy link

I followed the steps in Getting Started With Grendel and when I was building Grendel (in step 3), one failure test occurs, so that no JAR file is generated in target file. Could anyone give some advise on how to fix this problem?

this is the information about failure test in the file target/surefire-reports:
Test set: com.wesabe.grendel.openpgp.tests.MessageReaderTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec <<< FAILURE!
itReadsAnEncryptedMessage(com.wesabe.grendel.openpgp.tests.MessageReaderTest$Reading_An_Encrypted_Message) Time elapsed: 0.042 sec <<< FAILURE!
java.lang.AssertionError: expected:<[84, 104, 105, 115, 32, 105, 115, 32, 98, 97, 115, 105, 99, 97, 108, 108, 121, 32, 97, 32, 116, 101, 115, 116, 46, 13, 10, 13, 10, 87, 104, 97, 116, 32, 100, 111, 32, 121, 111, 117, 32, 116, 104, 105, 110, 107, 63]> but was:<[84, 104, 105, 115, 32, 105, 115, 32, 98, 97, 115, 105, 99, 97, 108, 108, 121, 32, 97, 32, 116, 101, 115, 116, 46, 10, 10, 87, 104, 97, 116, 32, 100, 111, 32, 121, 111, 117, 32, 116, 104, 105, 110, 107, 63]>
at org.fest.assertions.Fail.failure(Fail.java:206)
at org.fest.assertions.Assert.failure(Assert.java:141)
at org.fest.assertions.ByteArrayAssert.isEqualTo(ByteArrayAssert.java:197)
at com.wesabe.grendel.openpgp.tests.MessageReaderTest$Reading_An_Encrypted_Message.itReadsAnEncryptedMessage(MessageReaderTest.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

thanks in advance!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant