nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03234
[Bug 1071861] [NEW] Error in Path Constraints
Public bug reported:
SamePathConstraint reports all of the following as being the same path
/path/to/assembly/
/path/to/assembly
path/to/assembly
//path/to/assembly
/path//to/assembly (invalid path, of course)
Only the first two should be equivalent
This is due to an error in the PathConstraint.Canonicalize method, which
disregards all "extra" separators, including those at the beginning and
the end of a path. Only an extra slash at the end of a path should be
ignored.
** Affects: nunit-3.0
Importance: High
Status: Triaged
** Affects: nunitlite
Importance: High
Assignee: Charlie Poole (charlie.poole)
Status: In Progress
** Affects: nunitv2
Importance: High
Status: Triaged
** Also affects: nunit-3.0
Importance: Undecided
Status: New
** Also affects: nunitlite
Importance: Undecided
Status: New
** Changed in: nunit-3.0
Status: New => Triaged
** Changed in: nunitlite
Status: New => Triaged
** Changed in: nunitv2
Status: New => Triaged
** Changed in: nunitlite
Status: Triaged => In Progress
** Changed in: nunit-3.0
Importance: Undecided => High
** Changed in: nunitlite
Importance: Undecided => High
** Changed in: nunitv2
Importance: Undecided => High
** Changed in: nunitlite
Assignee: (unassigned) => Charlie Poole (charlie.poole)
** Changed in: nunitlite
Milestone: None => 0.9
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1071861
Title:
Error in Path Constraints
Status in NUnit Test Framework:
Triaged
Status in NUnitLite Testing Framework:
In Progress
Status in NUnit V2 Test Framework:
Triaged
Bug description:
SamePathConstraint reports all of the following as being the same path
/path/to/assembly/
/path/to/assembly
path/to/assembly
//path/to/assembly
/path//to/assembly (invalid path, of course)
Only the first two should be equivalent
This is due to an error in the PathConstraint.Canonicalize method,
which disregards all "extra" separators, including those at the
beginning and the end of a path. Only an extra slash at the end of a
path should be ignored.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/1071861/+subscriptions
Follow ups
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2013-10-11
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2013-10-05
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2013-07-28
-
[Bug 1071861] Re: Error in Path Constraints
From: Launchpad Bug Tracker, 2013-07-28
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2013-07-28
-
[Bug 1071861] Re: Error in Path Constraints
From: Tyrel Alastair Hunter, 2013-05-05
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2012-12-23
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2012-12-23
-
[Bug 1071861] Re: Error in Path Constraints
From: Launchpad Bug Tracker, 2012-12-23
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2012-12-23
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2012-12-23
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2012-11-03
-
[Bug 1071861] Re: Error in Path Constraints
From: Charlie Poole, 2012-10-26
-
[Bug 1071861] Re: Error in Path Constraints
From: Launchpad Bug Tracker, 2012-10-26
-
[Bug 1071861] [NEW] Error in Path Constraints
From: Charlie Poole, 2012-10-26
References