Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Running the JDT tests
Running the JDT tests [message #1048567] Wed, 24 April 2013 12:57 Go to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Is there a wiki / description how I can run the JDT ui test suite?

If I clone the JDT ui git repo I see syntax errors for a missing org.eclipse.text.tests.Accessor class.
Re: Running the JDT tests [message #1049208 is a reply to message #1048567] Thu, 25 April 2013 10:04 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan Herrmann
Messages: 994
Registered: July 2009
Senior Member
I don't know about a wiki page but, yes, you need a few more test plugins (pasted from a map file I use for headless tests):

plugin@org.eclipse.jdt.text.tests=GIT,tag=I20130314-1330,repo=git://git.eclipse.org/gitroot/jdt/eclipse.jdt.ui.git,path=org.eclipse.jdt.text.tests
plugin@org.eclipse.jface.text.tests=GIT,tag=I20130314-1330,repo=git://git.eclipse.org/gitroot/platform/eclipse.platform.text.git,path=org.eclipse.jface.text.tests
plugin@org.eclipse.text.tests=GIT,tag=I20130314-1330,repo=git://git.eclipse.org/gitroot/platform/eclipse.platform.text.git,path=org.eclipse.text.tests
plugin@org.eclipse.core.filebuffers.tests=GIT,tag=I20130314-1330,repo=git://git.eclipse.org/gitroot/platform/eclipse.platform.text.git,path=org.eclipse.core.filebuffers.tests


HTH,
Stephan
Re: Running the JDT tests [message #1049688 is a reply to message #1049208] Fri, 26 April 2013 02:47 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Thanks Stephan, I will also suggest to JDT to document their test setup a bit via a bug report. I guess this could potentially help to get more JDT contributions.
Re: Running the JDT tests [message #1049689 is a reply to message #1049208] Fri, 26 April 2013 02:49 Go to previous message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

I just found http://wiki.eclipse.org/JDT_UI/How_to_Contribute which is a relatively good description for the setup for JUnit testing. Thanks again Stephan.
Previous Topic:save workspace in a portable drive
Next Topic:Eclipse Juno and Ant 1.9 Trouble
Goto Forum:
  


Current Time: Wed Aug 20 16:30:41 EDT 2014

Powered by FUDForum. Page generated in 0.01570 seconds