nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00198
[Bug 483845] [NEW] TestCase expected return value cannot be null
Public bug reported:
TestCaseAttribute determines whether a value was supplied for the
expected result by checking for a non-null value in the result field.
That means you cannot expect a null return. This should be fixed by
using a flag to indicate whether the result was set.
This also applies to TestCaseSourceAttribute.
** Affects: nunit-3.0
Importance: Low
Status: Triaged
** Affects: nunitv2
Importance: Low
Status: Triaged
** Changed in: nunit-3.0
Importance: Undecided => Low
** Changed in: nunit-3.0
Status: New => Triaged
** Also affects: nunitv2
Importance: Undecided
Status: New
** Changed in: nunitv2
Status: New => Confirmed
** Changed in: nunitv2
Status: Confirmed => Triaged
** Changed in: nunitv2
Importance: Undecided => Low
--
TestCase expected return value cannot be null
https://bugs.launchpad.net/bugs/483845
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
Status in NUnit Test Framework: Triaged
Status in NUnit V2 Test Framework: Triaged
Bug description:
TestCaseAttribute determines whether a value was supplied for the expected result by checking for a non-null value in the result field. That means you cannot expect a null return. This should be fixed by using a flag to indicate whether the result was set.
This also applies to TestCaseSourceAttribute.
Follow ups
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Charlie Poole, 2010-07-25
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Launchpad Bug Tracker, 2010-01-24
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Charlie Poole, 2010-01-24
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Adam Connelly, 2010-01-11
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Charlie Poole, 2009-12-13
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Charlie Poole, 2009-12-10
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Charlie Poole, 2009-12-05
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Launchpad Bug Tracker, 2009-12-05
-
[Bug 483845] Re: TestCase expected return value cannot be null
From: Charlie Poole, 2009-12-05
-
[Bug 483845] [NEW] TestCase expected return value cannot be null
From: Charlie Poole, 2009-11-16
References