Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Impossible to mock PlatformUI ?
Impossible to mock PlatformUI ? [message #560132] Tue, 21 September 2010 09:46 Go to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
I am trying to run some automated UI tests, using a standard JUnit test

In particular, I'd like to test my editors but also some custom

I am running into errors like "Workbench not created" etc.

What is the fastest way to launch into an Editor or a view, just so I can
see the layout, and/or launch some (Eclipse based) dialog?
Re: Impossible to mock PlatformUI ? [message #560174 is a reply to message #560132] Tue, 21 September 2010 12:55 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Launch a Junit Plug-in test.

Then you can open views and editors, launch dialogs, etc.


Paul Webster .platform.doc.isv/guide/workbench.htm

Previous Topic:A good book for eclipse?
Next Topic:Get lazy main menu items
Goto Forum:

Current Time: Sat Oct 10 05:36:58 GMT 2015

Powered by FUDForum. Page generated in 0.02089 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software