lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Granroth, Neal V." <neal.granr...@thermofisher.com>
Subject Lucene.NET 2.3.2 -- Test dependencies
Date Mon, 17 Aug 2009 20:10:15 GMT

It seems that "CollectionAssert" is a part of Microsoft Visual Team System, not standard .NET.

Assert.LessOrEqual() must have been added to NUnit since version 2.2 (note that even the version
you have 2.4.8 is no longer current.)

How do you think this should be handled?  At a minimum, a readme file should be added to the
Test project listing these new requirements in Lucene.Net 2.3.2

But in my case, this will not help me run the tests and validate 2.3.2.  In my somewhat tightly
controlled environement I am not free to update to new version tools.
As the problem only exists in TestWeakHashTable, my recommendation would be to edit TestWeakHashTable
and remove these new dependencies.

Comments?

-- Neal

-----Original Message-----
From: Digy [mailto:digydigy@gmail.com]
Sent: Monday, August 17, 2009 1:10 PM
To: lucene-net-dev@incubator.apache.org
Subject: RE: Graduation

I just downloaded a fresh copy of 2.3.2 and run unit tests(using Nunit
2.4.8) for TestWeakHashTable. Everything works fine.

DIGY.


-----Original Message-----
From: Granroth, Neal V. [mailto:neal.granroth@thermofisher.com]
Sent: Monday, August 17, 2009 8:55 PM
To: lucene-net-dev@incubator.apache.org
Subject: RE: Graduation

Is the 2.3.2 tag ready for release?
I encounter build failures in the Test project all related to
TestWeakHashTable.cs

Error   8       The name 'CollectionAssert' does not exist in the current
context       ...\src\Test\TestWeakHashTable.cs       164     13      Test
Error   9       The name 'CollectionAssert' does not exist in the current
context       ...\src\Test\TestWeakHashTable.cs       181     13      Test
Error   10      The name 'CollectionAssert' does not exist in the current
context       ...\src\Test\TestWeakHashTable.cs       191     13      Test
Error   11      The name 'CollectionAssert' does not exist in the current
context       ...\src\Test\TestWeakHashTable.cs       194     13      Test
Error   12      'NUnit.Framework.Assert' does not contain a definition for
'LessOrEqual'         ...\Lucene-232\src\Test\TestWeakHashTable.cs   412
20      Test


Is there a new dependency on a specific version of NUnit in 2.3.2 tag that
was not a restriction in 2.3.1?


-- Neal

-----Original Message-----
From: Digy [mailto:digydigy@gmail.com]
Sent: Monday, August 17, 2009 11:33 AM
To: lucene-net-dev@incubator.apache.org
Subject: RE: Graduation

Hi Neal,

2.3.1 is too old. There are bug fixes/improvements/New Contribs  made during
last 6 months and they are available only in 2.3.2.
(
https://svn.apache.org/repos/asf/incubator/lucene.net/tags/Lucene.Net_2_3_2
)

DIGY.


Mime
View raw message