You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by bo...@apache.org on 2012/05/31 06:33:43 UTC
svn commit: r1344562 [4/4] - in /incubator/lucene.net/trunk:
src/contrib/Analyzers/De/ src/contrib/Analyzers/Filters/
src/contrib/Core/Analysis/Ext/ src/contrib/Memory/
src/contrib/Memory/Properties/ src/contrib/Spatial/
src/contrib/Spatial/Prefix/ src...
Modified: incubator/lucene.net/trunk/test/contrib/Memory/Properties/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/test/contrib/Memory/Properties/AssemblyInfo.cs?rev=1344562&r1=1344561&r2=1344562&view=diff
==============================================================================
--- incubator/lucene.net/trunk/test/contrib/Memory/Properties/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/test/contrib/Memory/Properties/AssemblyInfo.cs Thu May 31 04:33:41 2012
@@ -1,36 +1,36 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Memory")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Memory")]
-[assembly: AssemblyCopyright("Copyright © 2012")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("97c0467a-0d9d-49c0-89c0-5e8d9356cccc")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Memory")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Memory")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("97c0467a-0d9d-49c0-89c0-5e8d9356cccc")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
Propchange: incubator/lucene.net/trunk/test/contrib/Memory/Properties/AssemblyInfo.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Compatibility/TestFixedBitSet.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Prefix/BaseRecursivePrefixTreeStrategyTestCase.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Prefix/TestRecursivePrefixTreeStrategy.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Prefix/TestSpatialPrefixField.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Prefix/TestTermQueryPrefixGridStrategy.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Prefix/Tree/SpatialPrefixTreeTest.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/SpatialMatchConcern.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/SpatialTestCase.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/SpatialTestQuery.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/StrategyTestCase.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/TestTestFramework.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Various.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Vector/BaseTwoDoublesStrategyTestCase.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lucene.net/trunk/test/contrib/Spatial/Vector/TwoDoublesStrategyTestCase.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/lucene.net/trunk/test/core/Util/TestParameter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/test/core/Util/TestParameter.cs?rev=1344562&r1=1344561&r2=1344562&view=diff
==============================================================================
--- incubator/lucene.net/trunk/test/core/Util/TestParameter.cs (original)
+++ incubator/lucene.net/trunk/test/core/Util/TestParameter.cs Thu May 31 04:33:41 2012
@@ -1,54 +1,54 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Lucene.Net.Search;
-using Lucene.Net.Util;
-using NUnit.Framework;
-
-namespace Lucene.Net.Test.Util
-{
- [TestFixture]
- public class TestParameter
- {
- internal class MockParameter : Parameter
- {
- public MockParameter(string name)
- : base(name)
- { }
- }
-
- [Test]
- public void TestEquals()
- {
- var first = new MockParameter("FIRST");
- var other = new MockParameter("OTHER");
-
- // Make sure it's equal against itself
- Assert.AreEqual(first, first);
- // Not equal if it has a different name
- Assert.AreNotEqual(first, other);
-
- // Test == operator
- Assert.IsTrue(first == first);
- Assert.IsFalse(first == other);
-
- // Test != operator
- Assert.IsFalse(first != first);
- Assert.IsTrue(first != other);
- }
-
-
- [Test]
- public void TestLuceneNet472()
- {
- var thing = new MockParameter("THING");
- var otherThing = new MockParameter("OTHERTHING");
-
- // LUCENENET-472 - NRE on ==/!= parameter
- Assert.IsTrue(thing != null);
- Assert.IsFalse(thing == null);
- Assert.IsTrue(otherThing != null);
- }
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Lucene.Net.Search;
+using Lucene.Net.Util;
+using NUnit.Framework;
+
+namespace Lucene.Net.Test.Util
+{
+ [TestFixture]
+ public class TestParameter
+ {
+ internal class MockParameter : Parameter
+ {
+ public MockParameter(string name)
+ : base(name)
+ { }
+ }
+
+ [Test]
+ public void TestEquals()
+ {
+ var first = new MockParameter("FIRST");
+ var other = new MockParameter("OTHER");
+
+ // Make sure it's equal against itself
+ Assert.AreEqual(first, first);
+ // Not equal if it has a different name
+ Assert.AreNotEqual(first, other);
+
+ // Test == operator
+ Assert.IsTrue(first == first);
+ Assert.IsFalse(first == other);
+
+ // Test != operator
+ Assert.IsFalse(first != first);
+ Assert.IsTrue(first != other);
+ }
+
+
+ [Test]
+ public void TestLuceneNet472()
+ {
+ var thing = new MockParameter("THING");
+ var otherThing = new MockParameter("OTHERTHING");
+
+ // LUCENENET-472 - NRE on ==/!= parameter
+ Assert.IsTrue(thing != null);
+ Assert.IsFalse(thing == null);
+ Assert.IsTrue(otherThing != null);
+ }
+ }
+}
Propchange: incubator/lucene.net/trunk/test/core/Util/TestParameter.cs
------------------------------------------------------------------------------
svn:eol-style = native