mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 01:45:33 +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;
|
||||
_cmdDescriptorMap.clear();
|
||||
_minerElement = null;
|
||||
_statusMonitor = null;
|
||||
}
|
||||
|
||||
protected void initMiner(IProgressMonitor monitor)
|
||||
|
|
|
@ -79,6 +79,12 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
|
|||
_fileTypeRegistry = fileTypeRegistry;
|
||||
}
|
||||
|
||||
public void uninitService(IProgressMonitor monitor)
|
||||
{
|
||||
super.uninitService(monitor);
|
||||
_fileElementMap.clear();
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return ServiceResources.DStore_File_Service_Label;
|
||||
|
|
|
@ -2157,6 +2157,10 @@ public class SystemRegistry implements ISystemRegistry, ISystemModelChangeEvents
|
|||
if ((defaultUserId != null) && (defaultUserId.length() == 0))
|
||||
defaultUserId = null;
|
||||
conn = pool.createHost(systemType, connectionName, hostName, description, defaultUserId, defaultUserIdLocation);
|
||||
if (conn == null) // conn already exists
|
||||
{
|
||||
conn = pool.getHost(connectionName);
|
||||
}
|
||||
if (promptable)
|
||||
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
|
||||
if (creatingConnection)
|
||||
{
|
||||
if (subSystemsRestoredFlags == null)
|
||||
reset();
|
||||
subSystemsRestoredFlags.put(conn, Boolean.TRUE); // do not try to restore subsequently. Nothing to restore!
|
||||
}
|
||||
ISubSystem subsys = createSubSystemInternal(conn);
|
||||
if (subsys != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue