Repository: lucenenet Updated Branches: refs/heads/master b1a701c29 -> db82646ee
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3c077fb1/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs deleted file mode 100644 index 3d28be6..0000000 --- a/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs +++ /dev/null @@ -1,147 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * -*/ - -using Lucene.Net.Attributes; -using NUnit.Framework; -using System; - -namespace Lucene.Net.Support -{ - /// <summary> - /// LUCENENET specific tests for ensuring API conventions are followed - /// </summary> - public class TestApiConsistency : ApiScanTestBase - { - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestProtectedFieldNames(Type typeFromTargetAssembly) - { - base.TestProtectedFieldNames(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestPrivateFieldNames(Type typeFromTargetAssembly) - { - base.TestPrivateFieldNames(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestPublicFields(Type typeFromTargetAssembly) - { - base.TestPublicFields(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestMethodParameterNames(Type typeFromTargetAssembly) - { - base.TestMethodParameterNames(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestInterfaceNames(Type typeFromTargetAssembly) - { - base.TestInterfaceNames(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestClassNames(Type typeFromTargetAssembly) - { - base.TestClassNames(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForPropertiesWithNoGetter(Type typeFromTargetAssembly) - { - base.TestForPropertiesWithNoGetter(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForPropertiesThatReturnArray(Type typeFromTargetAssembly) - { - base.TestForPropertiesThatReturnArray(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForMethodsThatReturnWritableArray(Type typeFromTargetAssembly) - { - base.TestForMethodsThatReturnWritableArray(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForPublicMembersContainingComparer(Type typeFromTargetAssembly) - { - base.TestForPublicMembersContainingComparer(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForPublicMembersNamedSize(Type typeFromTargetAssembly) - { - base.TestForPublicMembersNamedSize(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForPublicMembersContainingNonNetNumeric(Type typeFromTargetAssembly) - { - base.TestForPublicMembersContainingNonNetNumeric(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForTypesContainingNonNetNumeric(Type typeFromTargetAssembly) - { - base.TestForTypesContainingNonNetNumeric(typeFromTargetAssembly); - } - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForPublicMembersWithNullableEnum(Type typeFromTargetAssembly) - { - base.TestForPublicMembersWithNullableEnum(typeFromTargetAssembly); - } - - // LUCENENET NOTE: This test is only for identifying members who were changed from - // ICollection, IList or ISet to IEnumerable during the port (that should be changed back) - //[Test, LuceneNetSpecific] - //[TestCase(typeof(Lucene.Net.Support.BreakIterator))] - //public override void TestForMembersAcceptingOrReturningIEnumerable(Type typeFromTargetAssembly) - //{ - // base.TestForMembersAcceptingOrReturningIEnumerable(typeFromTargetAssembly); - //} - - [Test, LuceneNetSpecific] - [TestCase(typeof(Lucene.Net.Support.BreakIterator))] - public override void TestForMembersAcceptingOrReturningListOrDictionary(Type typeFromTargetAssembly) - { - base.TestForMembersAcceptingOrReturningListOrDictionary(typeFromTargetAssembly); - } - } -} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3c077fb1/src/Lucene.Net.Tests.Icu/Support/TestExceptionSerialization.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Icu/Support/TestExceptionSerialization.cs b/src/Lucene.Net.Tests.Icu/Support/TestExceptionSerialization.cs deleted file mode 100644 index ad84905..0000000 --- a/src/Lucene.Net.Tests.Icu/Support/TestExceptionSerialization.cs +++ /dev/null @@ -1,54 +0,0 @@ -#if FEATURE_SERIALIZABLE -using Lucene.Net.Attributes; -using NUnit.Framework; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Lucene.Net.Support -{ - /* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - [TestFixture] - public class TestExceptionSerialization : ExceptionSerializationTestBase - { - public static IEnumerable<object> ExceptionTestData - { - get - { - var exceptionTypes = typeof(Lucene.Net.Search.Highlight.DefaultEncoder).Assembly.GetTypes().Where(t => typeof(Exception).IsAssignableFrom(t)).Cast<object>(); - - // If the assembly has no exceptions, just provide Exception so the test will pass - if (!exceptionTypes.Any()) - { - return new Type[] { typeof(Exception) }; - } - - return exceptionTypes; - } - } - - [Test, LuceneNetSpecific] - public void AllExceptionsInLuceneNamespaceCanSerialize([ValueSource("ExceptionTestData")]Type luceneException) - { - var instance = TryInstantiate(luceneException); - Assert.That(TypeCanSerialize(instance), string.Format("Unable to serialize {0}", luceneException.FullName)); - } - } -} -#endif \ No newline at end of file http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3c077fb1/src/Lucene.Net.Tests.Icu/Support/TestIcuBreakIterator.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Icu/Support/TestIcuBreakIterator.cs b/src/Lucene.Net.Tests.Icu/Support/TestIcuBreakIterator.cs deleted file mode 100644 index 8653725..0000000 --- a/src/Lucene.Net.Tests.Icu/Support/TestIcuBreakIterator.cs +++ /dev/null @@ -1,420 +0,0 @@ -#if FEATURE_BREAKITERATOR -using Lucene.Net.Util; -using NUnit.Framework; -using System; -using System.Globalization; - -namespace Lucene.Net.Support -{ - /* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - public class TestIcuBreakIterator : LuceneTestCase - { - static readonly String TEXT = - "Apache Lucene(TM) is a high-performance, full-featured text search engine library written entirely in Java."; - - static readonly String SENTENCE_TEXT = - "Apache Lucene(TM) is a high-performance, full-featured text search engine library written entirely in Java. " + - "It is a technology suitable for nearly any application that requires" + - "full-text search, especially cross-platform. Apache Lucene is an open source project available for free download. " + - "Lucene makes finding things easy. Lucene is powerful. Lucene is exciting. Lucene is cool. Where be Lucene now?"; - - private BreakIterator GetWordInstance(CultureInfo locale) - { - //return new WordBreakIterator(locale); - return new IcuBreakIterator(Icu.BreakIterator.UBreakIteratorType.WORD, locale) { EnableHacks = true }; - } - - private BreakIterator GetSentenceInstance(CultureInfo locale) - { - return new IcuBreakIterator(Icu.BreakIterator.UBreakIteratorType.SENTENCE, locale); - } - - [Test] - public void TestWordIteration() - { - BreakIterator bi = GetWordInstance(CultureInfo.InvariantCulture); - bi.SetText(TEXT); - - int temp; - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(0, temp); - - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(6, temp); - - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(6, temp); - - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(7, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(7, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(13, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(13, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(14, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(16, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(17, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(17, temp); - - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(16, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(16, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(17, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(17, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(18, temp); - - temp = bi.Last(); - Console.WriteLine(temp); - assertEquals(107, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(107, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(-1, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(107, temp); - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(106, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(106, temp); - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(102, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(102, temp); - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(101, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(101, temp); - } - - [Test] - public void TestWordFollowing() - { - BreakIterator bi = GetWordInstance(CultureInfo.InvariantCulture); - bi.SetText(TEXT); - - int temp; - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(0, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(6, temp); - - - temp = bi.Following(70); - Console.WriteLine(temp); - assertEquals(73, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(73, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(74, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(74, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(81, temp); - temp = bi.Following(107); // Test the final boundary - Console.WriteLine(temp); - assertEquals(-1, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(-1, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(107, temp); - - temp = bi.Following(66); // Test exactly on a boundary position - Console.WriteLine(temp); - assertEquals(67, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(73, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(73, temp); - - temp = bi.Following(0); // Test the first boundary - Console.WriteLine(temp); - assertEquals(6, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(7, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(7, temp); - - } - - [Test] - public void TestWordPreceding() - { - BreakIterator bi = GetWordInstance(CultureInfo.InvariantCulture); - bi.SetText(TEXT); - - int temp; - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(0, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(6, temp); - - - temp = bi.Preceding(70); - Console.WriteLine(temp); - assertEquals(67, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(67, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(73, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(73, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(74, temp); - temp = bi.Preceding(107); // Test the final boundary - Console.WriteLine(temp); - assertEquals(106, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(107, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(107, temp); - - temp = bi.Preceding(66); // Test exactly on a boundary position - Console.WriteLine(temp); - assertEquals(60, temp); - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(59, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(59, temp); - - temp = bi.Preceding(0); // Test the first boundary - Console.WriteLine(temp); - assertEquals(-1, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(0, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(6, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(6, temp); - - } - - [Test] - public void TestWordNextWithInt() - { - BreakIterator bi = GetWordInstance(CultureInfo.InvariantCulture); - bi.SetText(TEXT); - - int temp; - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(0, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(6, temp); - - - temp = bi.Next(10); - Console.WriteLine(temp); - assertEquals(23, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(23, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(39, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(39, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(40, temp); - temp = bi.Next(-8); // Test going backward - Console.WriteLine(temp); - assertEquals(16, temp); // Magically, this is correct (from position 28 back 8 places) in Java, even though its start position is wrong - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(17, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(17, temp); - - - temp = bi.Next(107); // Go past the last boundary - Console.WriteLine(temp); - assertEquals(-1, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(107, temp); - temp = bi.Next(-107); // Go past the first boundary - Console.WriteLine(temp); - assertEquals(-1, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(0, temp); - - } - - [Test] - public void TestSentenceIteration() - { - BreakIterator bi = GetSentenceInstance(CultureInfo.InvariantCulture); - bi.SetText(SENTENCE_TEXT); - - int temp; - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(0, temp); - - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(108, temp); - - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(108, temp); - - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(221, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(221, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(290, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(290, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(324, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(344, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(364, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(364, temp); - - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(344, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(344, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(364, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(364, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(380, temp); - - temp = bi.First(); - Console.WriteLine(temp); - assertEquals(0, temp); - - temp = bi.Last(); - Console.WriteLine(temp); - assertEquals(400, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(400, temp); - temp = bi.Next(); - Console.WriteLine(temp); - assertEquals(-1, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(400, temp); - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(380, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(380, temp); - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(364, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(364, temp); - temp = bi.Previous(); - Console.WriteLine(temp); - assertEquals(344, temp); - temp = bi.Current; - Console.WriteLine(temp); - assertEquals(344, temp); - } - } -} -#endif \ No newline at end of file http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3c077fb1/src/Lucene.Net.Tests.Icu/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Tests.Icu/project.json b/src/Lucene.Net.Tests.Icu/project.json deleted file mode 100644 index d05ed90..0000000 --- a/src/Lucene.Net.Tests.Icu/project.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "version": "4.8.0", - "title": "Lucene.Net.Tests.Icu", - "buildOptions": { - "define": [ "FEATURE_BREAKITERATOR" ], - "compile": { - "includeFiles": [ - "../CommonAssemblyInfo.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiAnalyzer.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiTokenizerFactory.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiWordFilterFactory.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayIterator.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestSegmentingTokenizerBase.cs", - "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestMultiTermHighlighting.cs", - "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestPostingsHighlighter.cs", - "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestPostingsHighlighterRanking.cs", - "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestWholeBreakIterator.cs", - "../Lucene.Net.Tests.Highlighter/VectorHighlight/BreakIteratorBoundaryScannerTest.cs" - ] - }, - "embed": { - "includeFiles": [ - "Search/PostingsHighlight/CambridgeMA.utf8" - ] - } - }, - "dependencies": { - "dotnet-test-nunit-teamcity": "3.4.0-beta-3", - "Lucene.Net": "4.8.0", - "Lucene.Net.Analysis.Common": "4.8.0", - "Lucene.Net.Highlighter": "4.8.0", - "Lucene.Net.Icu": "4.8.0", - "Lucene.Net.TestFramework": "4.8.0", - "Lucene.Net.Tests.Analysis.Common": "4.8.0", - "NUnit": "3.5.0" - }, - "testRunner": "nunit-teamcity", - "frameworks": { - "netcoreapp1.0": { - "imports": "dnxcore50", - "buildOptions": { - "debugType": "portable", - "define": [ "NETSTANDARD" ], - "compile": { - "includeFiles": [ - "../CommonAssemblyInfo.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiAnalyzer.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiTokenizerFactory.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiWordFilterFactory.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayIterator.cs", - "../Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestSegmentingTokenizerBase.cs", - "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestMultiTermHighlighting.cs", - "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestPostingsHighlighter.cs", - "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestPostingsHighlighterRanking.cs", - "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestWholeBreakIterator.cs", - "../Lucene.Net.Tests.Highlighter/VectorHighlight/BreakIteratorBoundaryScannerTest.cs" - ], - "excludeFiles": [ - "Support/TestApiConsistency.cs" - ] - } - }, - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "System.Xml.XmlDocument": "4.0.1" - } - }, - "net451": { - "buildOptions": { - "debugType": "full", - "define": [ "FEATURE_SERIALIZABLE" ] - } - } - }, - - "runtimes": { - "win7-x86": {}, - "win7-x64": {} - } -} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3c077fb1/src/Lucene.Net/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/Properties/AssemblyInfo.cs b/src/Lucene.Net/Properties/AssemblyInfo.cs index 2acfe37..68b5b85 100644 --- a/src/Lucene.Net/Properties/AssemblyInfo.cs +++ b/src/Lucene.Net/Properties/AssemblyInfo.cs @@ -55,12 +55,12 @@ using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Lucene.Net.Tests")] [assembly: InternalsVisibleTo("Lucene.Net.TestFramework")] [assembly: InternalsVisibleTo("Lucene.Net.Highlighter")] // For Automaton -[assembly: InternalsVisibleTo("Lucene.Net.Icu")] // For Automaton +[assembly: InternalsVisibleTo("Lucene.Net.ICU")] // For Automaton [assembly: InternalsVisibleTo("Lucene.Net.Misc")] [assembly: InternalsVisibleTo("Lucene.Net.Suggest")] // For Automaton [assembly: InternalsVisibleTo("Lucene.Net.Tests.Analysis.Common")] // For Automaton [assembly: InternalsVisibleTo("Lucene.Net.Tests.Highlighter")] // For Automaton -[assembly: InternalsVisibleTo("Lucene.Net.Tests.Icu")] // For Analysis.Util.TestSegmentingTokenizerBase +[assembly: InternalsVisibleTo("Lucene.Net.Tests.ICU")] // For Analysis.Util.TestSegmentingTokenizerBase [assembly: InternalsVisibleTo("Lucene.Net.Tests.Misc")] [assembly: InternalsVisibleTo("Lucene.Net.Tests.QueryParser")]
