This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git.
from 40186fb Lucene.Net.Util (MathUtil + NumericUtils + SloppyMath +
UnicodeUtil): Added some aggressive inlining, made classes static (#261)
new ed80671 Lucene.Net.Codecs: Fixed testing condition for
BaseTermVectorsFormatTestCase on TermVectorsReaders by throwing
InvalidOperationException (fixes #267)
new 28dacaa Upgraded NuGet package dependencies for NUnit to 3.12.0,
NUnit3TestAdapter to 3.16.1, Microsoft.NET.Test.Sdk to 16.6.1 (#301)
new 541c5b5
Lucene.Net.Tests.QueryParser.Classic.TestQueryParser::TestProtectedCtors():
Reflection doesn't throw exceptions when it cannot find a constructor in .NET,
we need to test for null instead. (#301)
new 20f03a0 Lucene.Net.TestFramework: Added additional overloads of
Assert.Throws to supply messages
new 419dfb1 Lucene.Net.Benchmark: Ignored the failing "alt package" test.
We currently only support assemblies that are referenced by the calling project.
new 178faad
Lucene.Net.Tests.Index.TestIndexWriterExceptions::TestExceptionDocumentsWriterInit():
Fixed issue with swallowing NUnit's AssertionException by using Assert.Throws.
new 2b82774 Added a global
Lucene.Net.Diagnostics.Debugging.AssertsEnabled static property that can be
used to toggle "asserts" on and off in the release build, similar to how it
works in Java. The setting can be injected by end users with the "assert"
system property (which is a boolean). (#301)
new 5de2f4c Lucene.Net.TestFramework: Reuse inbuilt environment variable
provider rather than our stock one, that is only meant as a logical default.
new 3b92a59 Lucene.Net.Analysis.Tokenizer: Allow enabling "asserts" for
testing
The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
build/Dependencies.props | 6 +--
src/Lucene.Net.Benchmark/Quality/Trec/TrecJudge.cs | 2 +-
.../SimpleText/SimpleTextTermVectorsReader.cs | 15 ++++--
.../Support/TestFramework/Assert.cs | 13 ++++-
.../Index/BaseTermVectorsFormatTestCase.cs | 34 ++++++++-----
.../ConfigurationBuilderExtensions.cs | 55 +++++++++++-----------
.../Configuration/TestConfigurationFactory.cs | 2 +-
.../Support/Diagnostics/Debug.cs | 4 +-
.../Support/Util/LuceneTestFrameworkInitializer.cs | 6 +++
.../ByTask/Tasks/Alt/AltPackageTaskTest.cs | 1 +
.../Classic/TestQueryParser.cs | 41 +++++++++-------
.../Index/TestIndexWriterExceptions.cs | 25 +++++-----
src/Lucene.Net/Analysis/Tokenizer.cs | 2 +-
src/Lucene.Net/Codecs/BlockTreeTermsWriter.cs | 50 ++++++++++++++++++--
.../CompressingStoredFieldsIndexWriter.cs | 2 +-
.../Compressing/CompressingTermVectorsReader.cs | 12 ++---
.../Codecs/Lucene3x/Lucene3xTermVectorsReader.cs | 17 ++++---
.../Codecs/Lucene40/Lucene40TermVectorsReader.cs | 15 ++++--
src/Lucene.Net/Index/DocumentsWriterPerThread.cs | 6 ++-
.../Index/FreqProxTermsWriterPerField.cs | 6 ++-
src/Lucene.Net/Index/IndexWriter.cs | 44 ++++++++---------
src/Lucene.Net/Index/StoredFieldsProcessor.cs | 9 ++--
src/Lucene.Net/Index/TermVectorsConsumer.cs | 6 ++-
.../Index/TermVectorsConsumerPerField.cs | 9 ++--
src/Lucene.Net/Support/Diagnostics/Debugging.cs | 20 ++++++++
25 files changed, 264 insertions(+), 138 deletions(-)
create mode 100644 src/Lucene.Net/Support/Diagnostics/Debugging.cs