Skip to content

Commit

Permalink
Merge pull request #572 from nunit/Issue568
Browse files Browse the repository at this point in the history
Update for 3.11.2
  • Loading branch information
OsirisTerje committed Nov 22, 2018
2 parents e343ac4 + 00567ef commit ddd5a93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/NUnitTestAdapter/CategoryList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class CategoryList
private const string VsTestCategoryLabel = "TestCategory";
private const string MSTestCategoryName = "MSTestDiscoverer.TestCategory";
internal static readonly TestProperty NUnitTestCategoryProperty = TestProperty.Register(NUnitCategoryName, VsTestCategoryLabel, typeof(string[]), TestPropertyAttributes.Hidden | TestPropertyAttributes.Trait, typeof(TestCase));
internal static readonly TestProperty MsTestCategoryProperty = TestProperty.Register(MSTestCategoryName, VsTestCategoryLabel, typeof(string[]), TestPropertyAttributes.Hidden | TestPropertyAttributes.Trait, typeof(TestCase));
internal TestProperty MsTestCategoryProperty; // = TestProperty.Register(MSTestCategoryName, VsTestCategoryLabel, typeof(string[]), TestPropertyAttributes.Hidden | TestPropertyAttributes.Trait, typeof(TestCase));
internal static readonly TestProperty NUnitExplicitProperty = TestProperty.Register("NUnit.Explicit", "Explicit", typeof(bool), TestPropertyAttributes.Hidden, typeof(TestCase));

private const string ExplicitTraitName = "Explicit";
Expand All @@ -29,6 +29,8 @@ public CategoryList(TestCase testCase, IAdapterSettings adapterSettings)
{
settings = adapterSettings;
this.testCase = testCase;
// MsTestCategoryProperty = TestProperty.Register(MSTestCategoryName, VsTestCategoryLabel, typeof(string[]), TestPropertyAttributes.Hidden | TestPropertyAttributes.Trait, typeof(TestCase));

}

public void AddRange(IEnumerable<string> categories)
Expand Down

0 comments on commit ddd5a93

Please sign in to comment.