Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

ClasspathTests fail #68

Closed
softmechanics opened this Issue Aug 1, 2011 · 3 comments

Comments

Projects
None yet
4 participants

Here's the first error from target/surefire-reports/org.grumblesmurf.malabar.ClasspathTest.txt. The 6 others are pretty similar.


Test set: org.grumblesmurf.malabar.ClasspathTest

Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 0.39 sec <<< FAILURE!
objectHasNoSuper(org.grumblesmurf.malabar.ClasspathTest) Time elapsed: 0.038 sec <<< FAILURE!
java.lang.AssertionError:
Expected: a string containing "("java.lang.Object" type"
got: ""

at org.junit.Assert.assertThat(Assert.java:750)
at org.junit.Assert.assertThat(Assert.java:709)
at org.junit.Assert$assertThat.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:167)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:179)
at org.grumblesmurf.malabar.ClasspathTest.objectHasNoSuper(ClasspathTest.groovy:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at $Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)

For what it's worth, I have the same issue.

I got the same error, but it ran just fine. I've posted a slightly redacted snippit from my .emacs file. I had to rewind to malabar-1.4.0 to get it to compile at all. notice that I'm giving the src/main/lisp directory and src/.../groovy

(add-to-list 'load-path "~/emacslisp/malabar-mode/src/main/lisp")

(load "/emacslisp/java-complete.el")
(load "malabar-mode.el")
(require 'malabar-mode)
(setq malabar-groovy-lib-dir "
/emacslisp/malabar-mode/src/main/groovy/org/grumblesmurf/malabar")
(add-to-list 'auto-mode-alist '(".java'" . malabar-mode))

Owner

m0smith commented Dec 10, 2013

As of 1.5.1-SNAPSHOT all the tests pass on both Ubuntu and Cygwin

@m0smith m0smith closed this Dec 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment