lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccurr...@apache.org
Subject svn commit: r1353648 [3/3] - in /incubator/lucene.net/trunk: src/contrib/Analyzers/BR/ src/contrib/Analyzers/Cz/ src/contrib/Analyzers/De/ src/contrib/Analyzers/Fr/ src/contrib/Analyzers/Hunspell/ src/contrib/Analyzers/Nl/ src/contrib/Analyzers/Payload...
Date Mon, 25 Jun 2012 16:47:58 GMT
Modified: incubator/lucene.net/trunk/test/core/Util/ArrayUtilTest.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/test/core/Util/ArrayUtilTest.cs?rev=1353648&r1=1353647&r2=1353648&view=diff
==============================================================================
--- incubator/lucene.net/trunk/test/core/Util/ArrayUtilTest.cs (original)
+++ incubator/lucene.net/trunk/test/core/Util/ArrayUtilTest.cs Mon Jun 25 16:47:35 2012
@@ -40,7 +40,7 @@ namespace Lucene.Net.Util
 				test = ArrayUtil.ParseInt("".ToCharArray());
 				Assert.IsTrue(false);
 			}
-			catch (System.FormatException e)
+			catch (System.FormatException)
 			{
 				//expected
 			}
@@ -49,7 +49,7 @@ namespace Lucene.Net.Util
 				test = ArrayUtil.ParseInt("foo".ToCharArray());
 				Assert.IsTrue(false);
 			}
-			catch (System.FormatException e)
+			catch (System.FormatException)
 			{
 				//expected
 			}
@@ -58,7 +58,7 @@ namespace Lucene.Net.Util
 				test = ArrayUtil.ParseInt(System.Convert.ToString(System.Int64.MaxValue).ToCharArray());
 				Assert.IsTrue(false);
 			}
-			catch (System.FormatException e)
+			catch (System.FormatException)
 			{
 				//expected
 			}
@@ -67,7 +67,7 @@ namespace Lucene.Net.Util
 				test = ArrayUtil.ParseInt("0.34".ToCharArray());
 				Assert.IsTrue(false);
 			}
-			catch (System.FormatException e)
+			catch (System.FormatException)
 			{
 				//expected
 			}

Modified: incubator/lucene.net/trunk/test/core/Util/LocalizedTestCase.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/test/core/Util/LocalizedTestCase.cs?rev=1353648&r1=1353647&r2=1353648&view=diff
==============================================================================
--- incubator/lucene.net/trunk/test/core/Util/LocalizedTestCase.cs (original)
+++ incubator/lucene.net/trunk/test/core/Util/LocalizedTestCase.cs Mon Jun 25 16:47:35 2012
@@ -113,7 +113,7 @@ namespace Lucene.Net.Util
                         {
                             test.Invoke(this, null);
                         }
-                        catch (Exception e)
+                        catch (Exception)
                         {
                             Console.Out.WriteLine("Test failure of '" + test.Name + "' occurred
under a different Locale " + t.Name);
                             throw;

Modified: incubator/lucene.net/trunk/test/core/Util/TestAttributeSource.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/test/core/Util/TestAttributeSource.cs?rev=1353648&r1=1353647&r2=1353648&view=diff
==============================================================================
--- incubator/lucene.net/trunk/test/core/Util/TestAttributeSource.cs (original)
+++ incubator/lucene.net/trunk/test/core/Util/TestAttributeSource.cs Mon Jun 25 16:47:35 2012
@@ -49,7 +49,7 @@ namespace Lucene.Net.Util
             Assert.IsTrue(hashCode != src.GetHashCode(), "Hash code should be different");
 
             src.RestoreState(state);
-            Assert.AreEqual("TestTerm", termAtt.Term());
+            Assert.AreEqual("TestTerm", termAtt.Term);
             Assert.AreEqual("TestType", typeAtt.Type);
             Assert.AreEqual(hashCode, src.GetHashCode(), "Hash code should be equal after
restore");
 
@@ -69,7 +69,7 @@ namespace Lucene.Net.Util
             flagsAtt.Flags = 12345;
 
             src2.RestoreState(state);
-            Assert.AreEqual("TestTerm", termAtt.Term());
+            Assert.AreEqual("TestTerm", termAtt.Term);
             Assert.AreEqual("TestType", typeAtt.Type);
             Assert.AreEqual(12345, flagsAtt.Flags, "FlagsAttribute should not be touched");
 



Mime
View raw message