runtime: System.Diagnostics.EventLog.Tests fails 2 tests in non-English Windows
System.Diagnostics.EventLog.Tests fails 2 tests in non-English Windows with next log:
System.Diagnostics.Tests.EventLogTests.CheckLogName_Get [FAIL]
Assert.Equal() Failure
(pos 0)
Expected: Application
Actual: Приложение
(pos 0)
Stack Trace:
C:\Code\corefx\src\System.Diagnostics.EventLog\tests\EventLogTests\EventLogTests.cs(83,0): at System.Diagnostics.Tests.EventLogTests.CheckLogName_Get()
System.Diagnostics.Tests.EventLogTests.GetLogDisplayName_Set [FAIL]
Assert.Equal() Failure
(pos 0)
Expected: Application
Actual: Приложение
(pos 0)
Stack Trace:
C:\Code\corefx\src\System.Diagnostics.EventLog\tests\EventLogTests\EventLogTests.cs(112,0): at System.Diagnostics.Tests.EventLogTests.GetLogDisplayName_Set()
I do not know how to fix these tests, because EventLog.LogDisplayName differs in non-English Windows.
May be test EventLog.Log property ? Or test that EventLog.LogDisplayName is not empty string?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (16 by maintainers)
I have restarted it. some of the things are still in English like file names and stuff.
Yeah. This is the only other language that i can read 😃
I changed Windows interface language to English and those tests does not fail. How to change this test?