[
https://issues.apache.org/jira/browse/LUCENENET-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Garski updated LUCENENET-244:
-------------------------------------
Attachment: LUCENENET-244.patch
Here's the patch! Tested it against a clean trunk copy to verify everything is
good.
Change summary:
FSDirectory.cs
-changed DIRECTORIES collection to be generic keyed off the directory name with
the value being an FSDirectory (cannot key on DirectoryInfo as two instances
will not hash to the same value)
-fixed the default IMPL type
-ensured ability to create default IMPL with it's internal ctor
-changed directory creation to use the DirectoryInfo to create - note the
refresh on the next line, which is necessary to allow the DirectoryInfo
instance to actually see the directory
-cleaned up file delete logic (no need for the tmpBool stuff)
-added comment on NIOFSDirectory support
-altered init to check for file existence w/o tmpBool
-cleaned up file rename - no need for the hoops Java Lucene goes through to
handle JRE differences
TestDirectory.cs
-Corrected array for test execution w/o NIOFSDirectory
TestLockFactory.cs
-fixed dir2 creation
TestRAMDirectory.cs
-corrected SetUp attribute
-used Path.Combine for indexDir creation
-cleaned up teardown deletion
TestWindowsMMap.cs
-corrected SetUp attribute
LuceneTestCase.cs
-added reset of seed_init to TearDown
> Remaining Tests in Lucene.Net.Store
> -----------------------------------
>
> Key: LUCENENET-244
> URL: https://issues.apache.org/jira/browse/LUCENENET-244
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: Michael Garski
> Attachments: LUCENENET-244.patch
>
>
> I have finished up all of the remaining tests in Lucene.Net.Store and am
> opening this issue to ensure there is no duplication of work going on.
> I'll hold off on submitting a patch until LUCENENET-210 is reviewed and
> committed as I don't want to duplicate the fixes in that issue and ensure the
> patch is clean.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.