Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-reviews-dev] Junit tests question

 
Hi all,

  I am currently trying automate R4E testing to add Junit test cases and I am having a problem that I am sure is fairly common, yet I cannot find a satisfactory solution to it.  When running Junit plugin tests, at some point I need to wait for command execution to be done.  I use the JobManager.isIdle() to verify that no Jobs are running so that I can continue a given test case.  The problem is that the UDC (Usage Data Collector) seems to be always be running as a Job and thus hangs the test.  I know I can disable UDC in the Preferences of the enclosing Eclipse instance, but when the Eclipse test instance starts, its own preferences have UDC enabled by default.  Is there a way to disable the UDC by default at startup?

Thx,
/Sebastien

Back to the top