Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Retrieving the sytem registry from within JUnit
Retrieving the sytem registry from within JUnit [message #575849] Thu, 03 July 2008 14:29
Eclipse User
Originally posted by: paul.pwrutter.com

Hi

I'm trying to write some JUnit tests that need to have access to a remote
system in order to copy files across. I am trying access the registry via
RSECorePlugin.getTheSystemRegistry(), which works fine within a UI Thread
but simply returns NULL from within a JUnit Thread. Do you have any advice
on how to retrieve the system registry from within JUnit? I am currently
using:

Display.getDefault().syncExec(new Runnable() {
public void run() {
ISystemRegistry registry =
RSECorePlugin.getTheSystemRegistry();
}
});

But to no avail.

Many Thanks
Paul
Previous Topic:Need a simple tutorial or help
Next Topic:Need a simple tutorial or help
Goto Forum:
  


Current Time: Thu Oct 30 13:50:47 GMT 2014

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

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