nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00378
[Bug 561436] Re: SetCulture broken with 2.5.4
1) Yes the relevant tests pass (but some other fail, but I haven't looked into them)
3) Try something like this. With 2.5.3 this enforces "de" culture, with 2.5.4 it formats the date in the culture of the os:
Imports NUnit.Framework
<TestFixture()> _
Public Class Class1
<TestCase(Result:="01.06.2010 00:00:00")> _
<SetCulture("de-DE")> _
Public Function TestFormatBbtDateTimeDeDE() As String
Return New DateTime(2010, 6, 1).ToString()
End Function
End Class
--
SetCulture broken with 2.5.4
https://bugs.launchpad.net/bugs/561436
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
Status in NUnit V2 Test Framework: New
Bug description:
I've several test cases with the SetCulture attribute set on it. Since update to NUnit 2.5.4 these test cases are always run with "en" culture instead of the one provided by the SetCulture attribute (same behaviour in Gui and Console)
References