Repository: lucenenet
Updated Branches:
  refs/heads/api-work 75cf0abf5 -> 6058f2594


Lucene.net.TestFramework.Analysis.CollationTestBase: added FEATURE_COLLATION 
constant, since this class depends on icu.net


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

Branch: refs/heads/api-work
Commit: 6058f259499691010fb7c1cd96efc6ffc5a9bee4
Parents: 75cf0ab
Author: Shad Storhaug <[email protected]>
Authored: Sat Apr 15 23:39:40 2017 +0700
Committer: Shad Storhaug <[email protected]>
Committed: Sat Apr 15 23:39:40 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Analysis/CollationTestBase.cs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6058f259/src/Lucene.Net.TestFramework/Analysis/CollationTestBase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Analysis/CollationTestBase.cs 
b/src/Lucene.Net.TestFramework/Analysis/CollationTestBase.cs
index bae1753..c079a6f 100644
--- a/src/Lucene.Net.TestFramework/Analysis/CollationTestBase.cs
+++ b/src/Lucene.Net.TestFramework/Analysis/CollationTestBase.cs
@@ -1,3 +1,4 @@
+#if FEATURE_COLLATION
 using Icu.Collation;
 using Lucene.Net.Analysis.TokenAttributes;
 using Lucene.Net.Documents;
@@ -338,4 +339,5 @@ namespace Lucene.Net.Analysis
                        }
                }
        }
-}
\ No newline at end of file
+}
+#endif
\ No newline at end of file

Reply via email to