Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Timed Plugin-tests
Timed Plugin-tests [message #24012] Fri, 29 July 2005 05:50
Eclipse User
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: Mon Jul 14 05:34:23 EDT 2014

Powered by FUDForum. Page generated in 0.07922 seconds