-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dead code #4314
base: main
Are you sure you want to change the base?
Remove dead code #4314
Conversation
@@ -88,36 +88,6 @@ internal static class Constants | |||
|
|||
internal static readonly TestProperty InnerResultsCountProperty = TestProperty.Register("InnerResultsCount", InnerResultsCountLabel, typeof(int), TestPropertyAttributes.Hidden, typeof(TestResult)); | |||
|
|||
internal static readonly TestProperty TestRunIdProperty = TestProperty.Register(TestRunId, TestRunId, typeof(int), TestPropertyAttributes.Hidden, typeof(TestCase)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We never set a value for any of these properties. @Evangelink Could they be magically set by something else (not us)? Or is it really dead code?
@@ -438,8 +438,7 @@ private void ExecuteTestsWithTestRunner( | |||
PlatformServiceProvider.Instance.AdapterTraceLogger.LogInfo("Executing test {0}", unitTestElement.TestMethod.Name); | |||
|
|||
// Run single test passing test context properties to it. | |||
IDictionary<TestProperty, object?> tcmProperties = TcmTestPropertiesProvider.GetTcmProperties(currentTest); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dictionary was always empty because we don't set TestCaseIdProperty
anywhere, so GetTcmProperties returns an empty dictionary right away.
I sadly have no idea... Looks dead but I don't know. @nohwnd is it ringing any bell? |
all of them look azdo related (when it was still called tfs) microsoft/testfx-docs#36 #472 I would check with azdo team if they rely on these names. |
No description provided.