lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NightOwl888 <...@git.apache.org>
Subject [GitHub] lucenenet issue #191: Migrating Lucene.Net to .NET Core
Date Thu, 24 Nov 2016 03:54:56 GMT
Github user NightOwl888 commented on the issue:

    https://github.com/apache/lucenenet/pull/191
  
    > 
    >   1.  From command line: dotnet restore
    >   2. Open Lucene.Net.Portable.sln
    >   3. Right-click -> Build Solution (Ctrl+Shift+B)
    >
    > Do you still get the errors "An item with the same key has already been added..."?
    
    That fixed the compile errors. But the test discovery has only found about 50% of the
tests. The Test output is full of errors like these...
    
    ```
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestAscending' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestAscendingSequences' already
exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestDescending' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestEmpty' already exists. This
test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestOne' already exists. This
test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestRandom' already exists. This
test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestRandomLowCardinality' already
exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestStrictlyDescendingStrategy'
already exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestTimSorter.TestTwo' already exists. This
test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestUnicodeUtil.TestCodePointCount' already
exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestUnicodeUtil.TestNewString' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestUnicodeUtil.TestUTF8toUTF32' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestUnicodeUtil.TestUTF8UTF16CharsRef' already
exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestVersion.Test' already exists. This test
is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestVersion.TestAgainstMainVersionConstant'
already exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestVersion.TestDeprecations' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestVersion.TestParseLeniently' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestVersionComparator.TestVersions' already
exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestVirtualMethod.TestExceptions' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestVirtualMethod.TestGeneral' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestWAH8DocIdSet.Test1Bit' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestWAH8DocIdSet.Test2Bits' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestWAH8DocIdSet.TestAgainstBitSet' already
exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestWAH8DocIdSet.TestIntersection' already
exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestWAH8DocIdSet.TestNoBit' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestWAH8DocIdSet.TestUnion' already exists.
This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestWeakIdentityMap.TestConcurrentHashMap'
already exists. This test is not added to the test window.
    A test with the same name 'Lucene.Net.Util.TestWeakIdentityMap.TestSimpleHashMap' already
exists. This test is not added to the test window.
    
    ```
    
    Here is a screenshot showing lots of missing tests. This doesn't appear to be a compile
issue, since some of the tests in a given assembly are found and others not.
    
    ![image](https://cloud.githubusercontent.com/assets/1538288/20586067/2c577d7c-b233-11e6-80e2-4c9a70436990.png)
    
    Running the tests that do show works fine.
    
    > You can create projects targeting .NET 3.5 using .NET Core projects (.xproj). 
    
    Good to know. Not sure I want to go back and change around Spatial4n now, but now I know
what direction to pursue for other projects.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message