Skip to content

Commit

Permalink
remove leftover NeedsServiceVerb test category
Browse files Browse the repository at this point in the history
In PR microsoft#216 extensive work was done to remove some of the repository
registry support of the Scalar service, and many tests no longer
required the MacTODO.NeedsServiceVerb category flag and could be
successfully executed on the Mac.

One test which appears to have been missed was the
SecondCloneSucceedsWithMissingTrees() test in SharedCacheTests.cs;
however, it also succeeds on the Mac now and so we can remove
this functional test category entirely.
  • Loading branch information
chrisd8088 committed Aug 16, 2020
1 parent ef6b951 commit d8f0c67
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Scalar.FunctionalTests/Categories.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ public static class MacTODO
{
// Tests that require Config to be built
public const string NeedsScalarConfig = "NeedsConfig";

// Tests that require Scalar Service
public const string NeedsServiceVerb = "NeedsServiceVerb";
}

public static class NonWindowsTODO
Expand Down
1 change: 0 additions & 1 deletion Scalar.FunctionalTests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public static void Main(string[] args)
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
excludeCategories.Add(Categories.MacTODO.NeedsScalarConfig);
excludeCategories.Add(Categories.MacTODO.NeedsServiceVerb);
excludeCategories.Add(Categories.NonWindowsTODO.TestNeedsToLockFile);
excludeCategories.Add(Categories.WindowsOnly);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public void GitObjectsRecreatedWhenDownloadingObjects()
}

[TestCase]
[Category(Categories.MacTODO.NeedsServiceVerb)]
public void SecondCloneSucceedsWithMissingTrees()
{
string newCachePath = Path.Combine(this.localCacheParentPath, ".customScalarCache2");
Expand Down

0 comments on commit d8f0c67

Please sign in to comment.