You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2016/10/11 18:34:59 UTC
[14/47] lucenenet git commit: Added Codecs.DiskDv tests to the project
Added Codecs.DiskDv tests to the project
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/92c3a072
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/92c3a072
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/92c3a072
Branch: refs/heads/master
Commit: 92c3a072b6bbaae15a1291e080d7fbe1b4ac9d36
Parents: 868616b
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Mon Oct 10 23:36:55 2016 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Tue Oct 11 00:26:20 2016 +0700
----------------------------------------------------------------------
.../DiskDv/TestDiskDocValuesFormat.cs | 67 ++++++++++----------
1 file changed, 33 insertions(+), 34 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92c3a072/src/Lucene.Net.Tests.Codecs/DiskDv/TestDiskDocValuesFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Codecs/DiskDv/TestDiskDocValuesFormat.cs b/src/Lucene.Net.Tests.Codecs/DiskDv/TestDiskDocValuesFormat.cs
index 42eae1f..a0b868b 100644
--- a/src/Lucene.Net.Tests.Codecs/DiskDv/TestDiskDocValuesFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/DiskDv/TestDiskDocValuesFormat.cs
@@ -1,41 +1,40 @@
-\ufeff/*
- * 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.
- */
-
-using Lucene.Net.Codecs.DiskDV;
+\ufeffusing NUnit.Framework;
namespace Lucene.Net.Codecs.DiskDV
{
+ /*
+ * 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.
+ */
- using BaseCompressingDocValuesFormatTestCase = Lucene.Net.Index.BaseCompressingDocValuesFormatTestCase;
- using TestUtil = Lucene.Net.Util.TestUtil;
+ using BaseCompressingDocValuesFormatTestCase = Lucene.Net.Index.BaseCompressingDocValuesFormatTestCase;
+ using TestUtil = Lucene.Net.Util.TestUtil;
- /// <summary>
- /// Tests DiskDocValuesFormat
- /// </summary>
- public class TestDiskDocValuesFormat : BaseCompressingDocValuesFormatTestCase
- {
- private readonly Codec codec = TestUtil.AlwaysDocValuesFormat(new DiskDocValuesFormat());
+ /// <summary>
+ /// Tests DiskDocValuesFormat
+ /// </summary>
+ public class TestDiskDocValuesFormat : BaseCompressingDocValuesFormatTestCase
+ {
+ private readonly Codec codec = TestUtil.AlwaysDocValuesFormat(new DiskDocValuesFormat());
- protected override Codec Codec
- {
- get
- {
- return codec;
- }
- }
- }
+ protected override Codec Codec
+ {
+ get
+ {
+ return codec;
+ }
+ }
+ }
}
\ No newline at end of file