Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Timed Plugin-tests
Timed Plugin-tests [message #24012] Fri, 29 July 2005 09:50
Eclipse UserFriend
Originally posted by: edoardoATenigmatecDOTnet.no.spam

Junit Perf provides a simple to use TestDecorator that can among other
things, have a test fail if it is taking too long.

It cannot be used as-is with plugin tests that use the Platform UI as
certain API, for instance :

PlatformUI.getWorkbench().getActiveWorkbenchWindow();
display.readAndDispatch()

can only be called in the UI thread which is used by Eclipse's junit
runner to invoke a testXXX method.

what approach would you advise to decorate existing UI tests to
time-bind them ?

TIA,
Edoardo
Previous Topic:jdbc
Next Topic:Why do we need the agent?
Goto Forum:
  


Current Time: Fri Apr 26 12:34:07 GMT 2024

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

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

Back to the top