Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Impossible to mock PlatformUI ?
Impossible to mock PlatformUI ? [message #560132] Tue, 21 September 2010 05:46 Go to next message
Eclipse UserFriend
I am trying to run some automated UI tests, using a standard JUnit test
launcher.

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

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 08:55 Go to previous message
Eclipse UserFriend
Launch a Junit Plug-in test.

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

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:A good book for eclipse?
Next Topic:Get lazy main menu items
Goto Forum:
  


Current Time: Sun Jul 06 10:46:56 EDT 2025

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

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

Back to the top