lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/2] lucenenet git commit: Moving to a separate branch for independent PR.
Date Mon, 23 Feb 2015 13:20:52 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 158174679 -> 051427bfd


Moving to a separate branch for independent PR.

The ParallelCompositComposit reader now has a ParallelCompositReaderAnonymousInnerClassHelper
for the inner instance instead of ParallelCompositReader. Looking back at the history, it
has been this way for a long time but this test does not exist in the java version. Is this
test in place to show there is something that needs to be fixed in ParallelCompositComposit
reader?


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/44ecc426
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/44ecc426
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/44ecc426

Branch: refs/heads/master
Commit: 44ecc4261024e2e77466c5c46ee22dc376a78944
Parents: ecdbcbb
Author: Chand2048 <Chand@Microsoft.com>
Authored: Wed Feb 18 10:06:58 2015 -0800
Committer: Chand2048 <Chand@Microsoft.com>
Committed: Wed Feb 18 10:06:58 2015 -0800

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Index/TestParallelCompositeReader.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ecc426/src/Lucene.Net.Tests/core/Index/TestParallelCompositeReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestParallelCompositeReader.cs b/src/Lucene.Net.Tests/core/Index/TestParallelCompositeReader.cs
index 473f8a5..6a5f1c9 100644
--- a/src/Lucene.Net.Tests/core/Index/TestParallelCompositeReader.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestParallelCompositeReader.cs
@@ -473,7 +473,8 @@ namespace Lucene.Net.Index
             ParallelCompositeReader pr = new ParallelCompositeReader(new CompositeReader[]
{ new MultiReader(ir1) });
 
             string s = pr.ToString();
-            Assert.IsTrue(s.StartsWith("ParallelCompositeReader(ParallelCompositeReader(ParallelAtomicReader("),
"toString incorrect: " + s);
+
+            Assert.IsTrue(s.StartsWith("ParallelCompositeReader(ParallelCompositeReaderAnonymousInnerClassHelper(ParallelAtomicReader("),
"toString incorrect: " + s);
 
             pr.Dispose();
             dir1.Dispose();


Mime
View raw message