This is an automated email from the ASF dual-hosted git repository. nightowl888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 8ae11fd92e7489328b060d774c0a0bec5139372d Author: Shad Storhaug <[email protected]> AuthorDate: Tue Dec 21 14:12:57 2021 +0700 Lucene.Net.Util.RandomizedContext: Use an underscore to prefix the property name to hide it from Test Explorer --- src/Lucene.Net.TestFramework/Support/Util/RandomizedContext.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Lucene.Net.TestFramework/Support/Util/RandomizedContext.cs b/src/Lucene.Net.TestFramework/Support/Util/RandomizedContext.cs index 8e68126..22b6aec 100644 --- a/src/Lucene.Net.TestFramework/Support/Util/RandomizedContext.cs +++ b/src/Lucene.Net.TestFramework/Support/Util/RandomizedContext.cs @@ -27,7 +27,8 @@ namespace Lucene.Net.Util /// </summary> internal class RandomizedContext { - internal const string RandomizedContextPropertyName = "RandomizedContext"; + // LUCENENET NOTE: Using an underscore to prefix the name hides it from "traits" in Test Explorer + internal const string RandomizedContextPropertyName = "_RandomizedContext"; private Random randomGenerator; private readonly Test currentTest;
