don't show dialog for unit tests RCL_2_4
authordadubrow
Wed, 03 Feb 2010 08:09:19 -0600
branchRCL_2_4
changeset 887 f3e6336d8edb
parent 885 14d07a3e6c84
child 888 3419376b791a
don't show dialog for unit tests
connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/RemoteConnectionsActivator.java
--- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/RemoteConnectionsActivator.java	Tue Feb 02 18:56:30 2010 -0600
+++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/RemoteConnectionsActivator.java	Wed Feb 03 08:09:19 2010 -0600
@@ -89,6 +89,9 @@
 	}
 
 	private void checkPrerequisites() {
+		if (WorkbenchUtils.isJUnitRunning())
+			return;
+		
 		final Map<IDeviceDiscoveryAgent, IPrerequisiteStatus> agentToStatusMap = 
 			new HashMap<IDeviceDiscoveryAgent, IPrerequisiteStatus>();