mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-22 15:53:58 +02:00
some updates to help with junit test stuff
This commit is contained in:
parent
0f27760625
commit
096546c188
4 changed files with 15 additions and 0 deletions
|
@ -259,6 +259,7 @@ public abstract class AbstractDStoreService implements IDStoreService
|
||||||
_initializeStatus = null;
|
_initializeStatus = null;
|
||||||
_cmdDescriptorMap.clear();
|
_cmdDescriptorMap.clear();
|
||||||
_minerElement = null;
|
_minerElement = null;
|
||||||
|
_statusMonitor = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void initMiner(IProgressMonitor monitor)
|
protected void initMiner(IProgressMonitor monitor)
|
||||||
|
|
|
@ -79,6 +79,12 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
|
||||||
_fileTypeRegistry = fileTypeRegistry;
|
_fileTypeRegistry = fileTypeRegistry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void uninitService(IProgressMonitor monitor)
|
||||||
|
{
|
||||||
|
super.uninitService(monitor);
|
||||||
|
_fileElementMap.clear();
|
||||||
|
}
|
||||||
|
|
||||||
public String getName()
|
public String getName()
|
||||||
{
|
{
|
||||||
return ServiceResources.DStore_File_Service_Label;
|
return ServiceResources.DStore_File_Service_Label;
|
||||||
|
|
|
@ -2157,6 +2157,10 @@ public class SystemRegistry implements ISystemRegistry, ISystemModelChangeEvents
|
||||||
if ((defaultUserId != null) && (defaultUserId.length() == 0))
|
if ((defaultUserId != null) && (defaultUserId.length() == 0))
|
||||||
defaultUserId = null;
|
defaultUserId = null;
|
||||||
conn = pool.createHost(systemType, connectionName, hostName, description, defaultUserId, defaultUserIdLocation);
|
conn = pool.createHost(systemType, connectionName, hostName, description, defaultUserId, defaultUserIdLocation);
|
||||||
|
if (conn == null) // conn already exists
|
||||||
|
{
|
||||||
|
conn = pool.getHost(connectionName);
|
||||||
|
}
|
||||||
if (promptable)
|
if (promptable)
|
||||||
conn.setPromptable(true);
|
conn.setPromptable(true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1212,7 +1212,11 @@ public abstract class SubSystemConfiguration implements ISubSystemConfiguration
|
||||||
{
|
{
|
||||||
invalidateSubSystemCache(conn); // re-gen list of subsystems-by-connection on next call
|
invalidateSubSystemCache(conn); // re-gen list of subsystems-by-connection on next call
|
||||||
if (creatingConnection)
|
if (creatingConnection)
|
||||||
|
{
|
||||||
|
if (subSystemsRestoredFlags == null)
|
||||||
|
reset();
|
||||||
subSystemsRestoredFlags.put(conn, Boolean.TRUE); // do not try to restore subsequently. Nothing to restore!
|
subSystemsRestoredFlags.put(conn, Boolean.TRUE); // do not try to restore subsequently. Nothing to restore!
|
||||||
|
}
|
||||||
ISubSystem subsys = createSubSystemInternal(conn);
|
ISubSystem subsys = createSubSystemInternal(conn);
|
||||||
if (subsys != null)
|
if (subsys != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue