Lucene.Net.Tests.Expressions: Added license headers

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

Branch: refs/heads/api-work
Commit: 1d1ff89977097c9bd4dad0b5a274c36aa4a04c90
Parents: 51e3957
Author: Shad Storhaug <[email protected]>
Authored: Tue Feb 28 18:26:20 2017 +0700
Committer: Shad Storhaug <[email protected]>
Committed: Tue Feb 28 18:26:20 2017 +0700

----------------------------------------------------------------------
 .../JS/TestCustomFunctions.cs                      | 17 +++++++++++++++++
 .../JS/TestJavascriptCompiler.cs                   | 17 +++++++++++++++++
 .../JS/TestJavascriptFunction.cs                   | 17 +++++++++++++++++
 .../JS/TestJavascriptOperations.cs                 | 17 +++++++++++++++++
 .../TestApiConsistency.cs                          | 17 +++++++++++++++++
 .../TestDemoExpressions.cs                         | 17 +++++++++++++++++
 .../TestExpressionRescorer.cs                      | 17 +++++++++++++++++
 .../TestExpressionSortField.cs                     | 17 +++++++++++++++++
 .../TestExpressionSorts.cs                         | 17 +++++++++++++++++
 .../TestExpressionValidation.cs                    | 17 +++++++++++++++++
 .../TestExpressionValueSource.cs                   | 17 +++++++++++++++++
 11 files changed, 187 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/JS/TestCustomFunctions.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/JS/TestCustomFunctions.cs 
b/src/Lucene.Net.Tests.Expressions/JS/TestCustomFunctions.cs
index 8d98e35..f9c0435 100644
--- a/src/Lucene.Net.Tests.Expressions/JS/TestCustomFunctions.cs
+++ b/src/Lucene.Net.Tests.Expressions/JS/TestCustomFunctions.cs
@@ -8,6 +8,23 @@ using System.Reflection;
 
 namespace Lucene.Net.Expressions.JS
 {
+    /*
+        * 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 TestCustomFunctions : LuceneTestCase
        {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptCompiler.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptCompiler.cs 
b/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptCompiler.cs
index 730e057..945eb8c 100644
--- a/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptCompiler.cs
+++ b/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptCompiler.cs
@@ -4,6 +4,23 @@ using System;
 
 namespace Lucene.Net.Expressions.JS
 {
+    /*
+        * 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 TestJavascriptCompiler : LuceneTestCase
        {
                [Test]

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptFunction.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptFunction.cs 
b/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptFunction.cs
index 66f6bab..d15995c 100644
--- a/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptFunction.cs
+++ b/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptFunction.cs
@@ -4,6 +4,23 @@ using System;
 
 namespace Lucene.Net.Expressions.JS
 {
+    /*
+        * 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 TestJavascriptFunction : LuceneTestCase
     {
         private static double DELTA = 0.0000001;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptOperations.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptOperations.cs 
b/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptOperations.cs
index 0a3b52c..8a07ca5 100644
--- a/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptOperations.cs
+++ b/src/Lucene.Net.Tests.Expressions/JS/TestJavascriptOperations.cs
@@ -3,6 +3,23 @@ using NUnit.Framework;
 
 namespace Lucene.Net.Expressions.JS
 {
+    /*
+        * 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 TestJavascriptOperations : LuceneTestCase
        {
                

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/TestApiConsistency.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/TestApiConsistency.cs 
b/src/Lucene.Net.Tests.Expressions/TestApiConsistency.cs
index d7f1358..ac99d8e 100644
--- a/src/Lucene.Net.Tests.Expressions/TestApiConsistency.cs
+++ b/src/Lucene.Net.Tests.Expressions/TestApiConsistency.cs
@@ -5,6 +5,23 @@ using System;
 
 namespace Lucene.Net.Expressions
 {
+    /*
+        * 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.
+        */
+
     /// <summary>
     /// LUCENENET specific tests for ensuring API conventions are followed
     /// </summary>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/TestDemoExpressions.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/TestDemoExpressions.cs 
b/src/Lucene.Net.Tests.Expressions/TestDemoExpressions.cs
index f30f9b4..c77c134 100644
--- a/src/Lucene.Net.Tests.Expressions/TestDemoExpressions.cs
+++ b/src/Lucene.Net.Tests.Expressions/TestDemoExpressions.cs
@@ -10,6 +10,23 @@ using System.Text;
 
 namespace Lucene.Net.Expressions
 {
+    /*
+        * 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.
+        */
+
     /// <summary>simple demo of using expressions</summary>
     [SuppressCodecs("Lucene3x")]
     public class TestDemoExpressions : LuceneTestCase

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/TestExpressionRescorer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/TestExpressionRescorer.cs 
b/src/Lucene.Net.Tests.Expressions/TestExpressionRescorer.cs
index 4b37ccb..a5f99e5 100644
--- a/src/Lucene.Net.Tests.Expressions/TestExpressionRescorer.cs
+++ b/src/Lucene.Net.Tests.Expressions/TestExpressionRescorer.cs
@@ -8,6 +8,23 @@ using NUnit.Framework;
 
 namespace Lucene.Net.Expressions
 {
+    /*
+        * 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.
+        */
+
     [SuppressCodecs("Lucene3x")]
        public class TestExpressionRescorer : LuceneTestCase
        {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/TestExpressionSortField.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/TestExpressionSortField.cs 
b/src/Lucene.Net.Tests.Expressions/TestExpressionSortField.cs
index 23c4608..adc2294 100644
--- a/src/Lucene.Net.Tests.Expressions/TestExpressionSortField.cs
+++ b/src/Lucene.Net.Tests.Expressions/TestExpressionSortField.cs
@@ -5,6 +5,23 @@ using NUnit.Framework;
 
 namespace Lucene.Net.Expressions
 {
+    /*
+        * 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 TestExpressionSortField : LuceneTestCase
        {
                [Test]

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/TestExpressionSorts.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/TestExpressionSorts.cs 
b/src/Lucene.Net.Tests.Expressions/TestExpressionSorts.cs
index 1610312..aee18aa 100644
--- a/src/Lucene.Net.Tests.Expressions/TestExpressionSorts.cs
+++ b/src/Lucene.Net.Tests.Expressions/TestExpressionSorts.cs
@@ -10,6 +10,23 @@ using NUnit.Framework;
 
 namespace Lucene.Net.Expressions
 {
+    /*
+        * 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.
+        */
+
     /// <summary>
     /// Tests some basic expressions against different queries,
     /// and fieldcache/docvalues fields against an equivalent sort.

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/TestExpressionValidation.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/TestExpressionValidation.cs 
b/src/Lucene.Net.Tests.Expressions/TestExpressionValidation.cs
index 8b117bd..7ad9647 100644
--- a/src/Lucene.Net.Tests.Expressions/TestExpressionValidation.cs
+++ b/src/Lucene.Net.Tests.Expressions/TestExpressionValidation.cs
@@ -6,6 +6,23 @@ using System;
 
 namespace Lucene.Net.Expressions
 {
+    /*
+        * 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.
+        */
+
     /// <summary>Tests validation of bindings</summary>
     public class TestExpressionValidation : LuceneTestCase
        {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d1ff899/src/Lucene.Net.Tests.Expressions/TestExpressionValueSource.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Expressions/TestExpressionValueSource.cs 
b/src/Lucene.Net.Tests.Expressions/TestExpressionValueSource.cs
index 3c8b64d..62d6719 100644
--- a/src/Lucene.Net.Tests.Expressions/TestExpressionValueSource.cs
+++ b/src/Lucene.Net.Tests.Expressions/TestExpressionValueSource.cs
@@ -11,6 +11,23 @@ using System.Collections.Generic;
 
 namespace Lucene.Net.Expressions
 {
+    /*
+        * 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.
+        */
+
     [SuppressCodecs("Lucene3x")]
        public class TestExpressionValueSource : LuceneTestCase
        {

Reply via email to