diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-01-20 19:32:53 +0400 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2014-10-21 18:39:14 +0400 |
commit | f73b2a9990495587d514aa1856919c21170a3940 (patch) | |
tree | 9842411ee8644ead5915a715ee7e53984a601df4 /main/src/addins/NUnit/Commands/NUnitCommands.cs | |
parent | a2046b6331a271e8203df7d3d0f14500d33d60fa (diff) |
Initial drop of the new project model
Diffstat (limited to 'main/src/addins/NUnit/Commands/NUnitCommands.cs')
-rw-r--r-- | main/src/addins/NUnit/Commands/NUnitCommands.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/NUnit/Commands/NUnitCommands.cs b/main/src/addins/NUnit/Commands/NUnitCommands.cs index f0d9322df4..22f6ebb2d3 100644 --- a/main/src/addins/NUnit/Commands/NUnitCommands.cs +++ b/main/src/addins/NUnit/Commands/NUnitCommands.cs @@ -64,7 +64,7 @@ namespace MonoDevelop.NUnit.Commands { protected override void Run () { - IWorkspaceObject ob = IdeApp.ProjectOperations.CurrentSelectedBuildTarget; + WorkspaceObject ob = IdeApp.ProjectOperations.CurrentSelectedObject; if (ob != null) { UnitTest test = NUnitService.Instance.FindRootTest (ob); if (test != null) @@ -74,7 +74,7 @@ namespace MonoDevelop.NUnit.Commands protected override void Update (CommandInfo info) { - IWorkspaceObject ob = IdeApp.ProjectOperations.CurrentSelectedBuildTarget; + WorkspaceObject ob = IdeApp.ProjectOperations.CurrentSelectedObject; if (ob != null) { UnitTest test = NUnitService.Instance.FindRootTest (ob); info.Enabled = (test != null); |