|
|
|
Re: cannot run Junit plugin tests anymore [message #892643 is a reply to message #892640] |
Thu, 28 June 2012 19:15   |
Eclipse User |
|
|
|
On 06/29/2012 12:11 AM, Sebastian Zarnekow wrote:
> Lorenzo,
>
> Do you have two different versions of com.google.inject on your class path?
>
> Regards,
> Sebastian
Hi Sebastian
I'll check that, but I know that I only have one version of
com.google.inject (I started with an xtext 2.3 distribution of Itemis,
but I also tried by starting from an eclipse-modeling-juno and
installing xtext from the composite site)... moreover I tried that with
a brand new domainmodel example (in a new workspace)...
you don't get this error by running this as a plugin junit test?
package org.eclipse.xtext.example.domainmodel.tests
import org.eclipse.xtext.example.domainmodel.DomainmodelUiInjectorProvider
import org.eclipse.xtext.junit4.InjectWith
import org.eclipse.xtext.junit4.XtextRunner
import org.junit.Test
import org.junit.runner.RunWith
@RunWith(typeof(XtextRunner))
@InjectWith(typeof(DomainmodelUiInjectorProvider))
class CompilerTest {
@Test
def void testGeneratedJava() {
}
}
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
|
|
|
|
Powered by
FUDForum. Page generated in 0.06280 seconds