|
|
|
|
Re: org.eclipse.swt.SWTException: Invalid thread access in AbstractContentAssistProcessorTest [message #1237031 is a reply to message #1237021] |
Tue, 28 January 2014 17:06 |
|
On 28/01/2014 17:29, Aaron Digulla wrote:
> Lorenzo Bettini wrote on Tue, 28 January 2014 10:10
>> On 28/01/2014 10:05, Aaron Digulla wrote:
>> you may want to try
>> org.eclipse.xtext.xbase.junit.ui.AbstractContentAssistTest
>
>
> I'm using JUnit 4 everywhere, so I don't like to add a dependency on
> JUnit 3 to my plugins.
>
> Also note that I was using that class but since the update from Xtext
> 2.3 to 2.4, I got strange errors.
>
> So at the moment, I'm left with a project where content assist tests
> don't work :(
Have a look at
import org.eclipse.xtext.xbase.junit.ui.AbstractContentAssistTest
class ContentAssistTest extends AbstractContentAssistTest {
in the domain model example; it is Junit 4, not 3
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.92119 seconds