diff options
author | Keting Yang <ketyang@microsoft.com> | 2019-09-18 23:05:04 +0300 |
---|---|---|
committer | Keting Yang <ketyang@microsoft.com> | 2019-09-18 23:05:04 +0300 |
commit | 5cd9b793431fef15859a8006d9f661a73235db92 (patch) | |
tree | 6597ce5cd953eb3f2c0e0e5cdf519f80f06445c2 /main/src/addins/MonoDevelop.UnitTesting | |
parent | 0de3a3e8a319606410f8898d6d0db8c7c4f7cbeb (diff) |
Move testDiscoveryTask = null into the if statement in AfterBuild
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.VsTest/VsTestProjectTestSuite.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.VsTest/VsTestProjectTestSuite.cs b/main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.VsTest/VsTestProjectTestSuite.cs index 057bbee301..5ecb19d6dc 100644 --- a/main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.VsTest/VsTestProjectTestSuite.cs +++ b/main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.VsTest/VsTestProjectTestSuite.cs @@ -142,13 +142,11 @@ namespace MonoDevelop.UnitTesting.VsTest void AfterBuild (object sender, BuildEventArgs args) { - testDiscoveryTask = null; DateTime? buildTime = GetAssemblyLastWriteTime (); if (RefreshRequired (buildTime)) { lastBuildTime = buildTime; - + testDiscoveryTask = null; SaveOldTests (); - UpdateTests (); } } |