diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-02-11 08:19:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 08:19:39 +0100 |
commit | 16141f9b2ecee05977beb1a914549bed59a45a2f (patch) | |
tree | 93e0c4c2ceef48e792ab9a5dae06c52147bbf81b /config-model | |
parent | 1249a210ab84b94ae6e481698d44680a67e10ce4 (diff) | |
parent | 01a3c4dc3d777d520597b0151ee7d479bb0fc066 (diff) |
Merge pull request #21139 from vespa-engine/arnej/remove-header-body-test
remove header/body from tests
Diffstat (limited to 'config-model')
3 files changed, 0 insertions, 25 deletions
diff --git a/config-model/src/test/derived/twostreamingstructs/whatever.sd b/config-model/src/test/derived/twostreamingstructs/whatever.sd index 34b0261326f..17ac30102a8 100644 --- a/config-model/src/test/derived/twostreamingstructs/whatever.sd +++ b/config-model/src/test/derived/twostreamingstructs/whatever.sd @@ -9,7 +9,6 @@ search whatever { field f1 type pair { indexing: summary - body } } diff --git a/config-model/src/test/examples/header_body.sd b/config-model/src/test/examples/header_body.sd deleted file mode 100644 index 61ddbaa7238..00000000000 --- a/config-model/src/test/examples/header_body.sd +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -# Search definition with (ignored) header and body statements -# TODO: Remove in Vespa 8 -search header_body { - - document header_body { - - field title type string { - indexing: summary | index - header - } - - field description type string { - indexing: summary | index - body - } - } -} diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/SchemaParsingTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/SchemaParsingTestCase.java index c6757938c51..6d619b76c18 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/SchemaParsingTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/SchemaParsingTestCase.java @@ -80,10 +80,4 @@ public class SchemaParsingTestCase extends AbstractSchemaTestCase { } } - // TODO: Remove in Vespa 8 - @Test - public void requireThatParserHandlesHeadAndBody() throws IOException, ParseException { - assertNotNull(ApplicationBuilder.buildFromFile("src/test/examples/header_body.sd")); - } - } |