lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [04/50] [abbrv] lucenenet git commit: Lucene.Net.Tests.Util.TestConstants: Removed dependency on AppSettings and changed it to SystemProperties
Date Sun, 05 Mar 2017 11:48:43 GMT
Lucene.Net.Tests.Util.TestConstants: Removed dependency on AppSettings and changed it to SystemProperties


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

Branch: refs/heads/api-work
Commit: 9691da441f0a3d8b8a67bfb31bc6032b86457ba3
Parents: 6109c87
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Mar 3 07:43:08 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Mar 5 17:08:28 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/Util/TestConstants.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/9691da44/src/Lucene.Net.Tests/Util/TestConstants.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Util/TestConstants.cs b/src/Lucene.Net.Tests/Util/TestConstants.cs
index c63a26f..c56bf69 100644
--- a/src/Lucene.Net.Tests/Util/TestConstants.cs
+++ b/src/Lucene.Net.Tests/Util/TestConstants.cs
@@ -44,7 +44,7 @@ namespace Lucene.Net.Util
         public virtual void TestBuildSetup()
         {
             // common-build.xml sets lucene.version, if not, we skip this test!
-            string version = AppSettings.Get("lucene.version", null);
+            string version = SystemProperties.GetProperty("lucene.version", null);
             if (version == null)
             {
                 Console.WriteLine("Null lucene.version test property. You should run the
tests with the official Lucene build file");


Mime
View raw message