Index: test/DeltaShell/DeltaShell.Tests/TestObjects/TestApplication.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- test/DeltaShell/DeltaShell.Tests/TestObjects/TestApplication.cs (.../TestApplication.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ test/DeltaShell/DeltaShell.Tests/TestObjects/TestApplication.cs (.../TestApplication.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -11,185 +11,213 @@ namespace DeltaShell.Tests.TestObjects { - class TestApplication: IApplication + internal class TestApplication : IApplication { - int disposeCallCount; + public event Action ProjectOpening; + public event Action ProjectOpened; + public event Action ProjectClosing; + public event Action ProjectSaving; + public event Action ProjectSaveFailed; + public event Action ProjectSaved; - public IList Plugins { get; set; } - public void LoadPluginsFromPath(string path) - { - throw new NotImplementedException(); - } + public event Action AfterRun; public IList DisabledPlugins { - get { throw new NotImplementedException(); } - set { throw new NotImplementedException(); } + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } } - public ApplicationPlugin GetPluginForType(Type type) + public IProjectRepository ProjectRepository { get; private set; } + public NotifyingThreadQueue CurrentActivities { get; private set; } + + public bool IsProjectCreatedInTemporaryDirectory { get; set; } + + public string ApplicationNameAndVersion { - throw new NotImplementedException(); + get + { + return "DeltaShell"; + } } + public int DisposeCallCount { get; private set; } + + public IList Plugins { get; set; } + public Project Project { get; set; } - public IProjectRepository ProjectRepository { get; private set; } public IProjectRepositoryFactory ProjectRepositoryFactory { - get { throw new NotImplementedException(); } - set { } + get + { + throw new NotImplementedException(); + } + set {} } - public event Action ProjectOpening; - public event Action ProjectOpened; - public event Action ProjectClosing; - public event Action ProjectSaving; - public event Action ProjectSaveFailed; - public event Action ProjectSaved; - public NotifyingThreadQueue CurrentActivities { get; private set; } public IActivityRunner ActivityRunner { - get { return new ActivityRunner();} + get + { + return new ActivityRunner(); + } } - public bool IsActivityRunning() - { - throw new NotImplementedException(); - } - public NameValueCollection Settings { get; set; } public ApplicationSettingsBase UserSettings { get; set; } - public string GetUserSettingsDirectoryPath() - { - throw new NotImplementedException(); - } public ResourceManager Resources { get; set; } - public bool IsProjectCreatedInTemporaryDirectory { get; set; } + public IProjectService ProjectService { get; set; } - public void Run() + public IEnumerable FileImporters { - throw new NotImplementedException(); + get + { + yield break; + } } - public void Run(string projectPath) + public IEnumerable FileExporters { - throw new NotImplementedException(); + get + { + yield break; + } } - public void Exit() + public string ProjectDataDirectory { - throw new NotImplementedException(); + get + { + throw new NotImplementedException(); + } } - public IProjectService ProjectService { get; set; } - - public IEnumerable FileImporters + public string ProjectFilePath { - get { yield break; } + get + { + throw new NotImplementedException(); + } } - public IEnumerable FileExporters + public string Version { - get { yield break; } + get + { + return ""; + } } - public void RunActivity(IActivity activity) + public string PluginVersions { get; private set; } + public bool IsDataAccessSynchronizationDisabled { get; set; } + + public void LoadPluginsFromPath(string path) { throw new NotImplementedException(); } - public void RunActivityInBackground(IActivity activity) + public void InitializeProjectRepositoryFactory(IProjectRepositoryFactory factory) { throw new NotImplementedException(); } - public bool IsActivityRunningOrWaiting(IActivity activity) + public void ExportProjectItem(IProjectItem projectItem, string targetProjectRepositoryPath, bool includeLinkedFiles) { throw new NotImplementedException(); } - public void StopActivity(IActivity activity) + public string GetNewFileBasedItemPath(string fileNamePrefix, string fileNameSuffix) { throw new NotImplementedException(); } - public void CreateNewProject() + public ApplicationPlugin GetPluginForType(Type type) { - Project = new Project(); + throw new NotImplementedException(); } - public bool OpenProject(string path) + public bool IsActivityRunning() { throw new NotImplementedException(); } - public void CloseProject() + public string GetUserSettingsDirectoryPath() { - Project = null; + throw new NotImplementedException(); } - public void SaveProjectAs(string path) + public void Run() { throw new NotImplementedException(); } - public void SaveProject() + public void Run(string projectPath) { throw new NotImplementedException(); } - public void InitializeProjectRepositoryFactory(IProjectRepositoryFactory factory) + public void Exit() { throw new NotImplementedException(); } - public string ProjectDataDirectory + public void RunActivity(IActivity activity) { - get { throw new NotImplementedException(); } + throw new NotImplementedException(); } - public string ProjectFilePath + public void RunActivityInBackground(IActivity activity) { - get { throw new NotImplementedException(); } + throw new NotImplementedException(); } - public void ExportProjectItem(IProjectItem projectItem, string targetProjectRepositoryPath, bool includeLinkedFiles) + public bool IsActivityRunningOrWaiting(IActivity activity) { throw new NotImplementedException(); } - public string GetNewFileBasedItemPath(string fileNamePrefix, string fileNameSuffix) + public void StopActivity(IActivity activity) { throw new NotImplementedException(); } - public string Version + public void CreateNewProject() { - get { return ""; } + Project = new Project(); } - public string PluginVersions { get; private set; } + public bool OpenProject(string path) + { + throw new NotImplementedException(); + } - public string ApplicationNameAndVersion + public void CloseProject() { - get {return "DeltaShell"; } + Project = null; } - public void Dispose() + public void SaveProjectAs(string path) { - - disposeCallCount++; + throw new NotImplementedException(); } - public int DisposeCallCount + public void SaveProject() { - get { return disposeCallCount; } + throw new NotImplementedException(); } - public event Action AfterRun; - public bool IsDataAccessSynchronizationDisabled { get; set; } + public void Dispose() + { + DisposeCallCount++; + } } } \ No newline at end of file