summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2022-03-11 13:23:21 +0000
committerArne H Juul <arnej@yahooinc.com>2022-03-11 13:37:52 +0000
commit0f066685e6472da01060ee06b2395af33e37d6d1 (patch)
treea458758fe7d1ec8a186ff14f709cdd1dc28cbc67 /config-model/src/test/java/com
parent5fe393bf28fd9e0fc96a3a1dd0f56510b30ed629 (diff)
on-demand struct fields solves two problems seen here
Diffstat (limited to 'config-model/src/test/java/com')
-rwxr-xr-xconfig-model/src/test/java/com/yahoo/searchdefinition/derived/MatchSettingsResolvingTestCase.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/derived/MatchSettingsResolvingTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/derived/MatchSettingsResolvingTestCase.java
index 63e3df2205f..275c94465ae 100755
--- a/config-model/src/test/java/com/yahoo/searchdefinition/derived/MatchSettingsResolvingTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/derived/MatchSettingsResolvingTestCase.java
@@ -54,12 +54,8 @@ public class MatchSettingsResolvingTestCase extends AbstractExportingTestCase {
@Test
public void testMapWithStructSettings() throws IOException, ParseException {
- /*
- * does not work
- * does not pick up settings from struct declaration
assertCorrectDeriving("matchsettings_map_wss",
new TestProperties().setExperimentalSdParsing(false));
- */
assertCorrectDeriving("matchsettings_map_wss",
new TestProperties().setExperimentalSdParsing(true));
}
@@ -74,11 +70,8 @@ public class MatchSettingsResolvingTestCase extends AbstractExportingTestCase {
@Test
public void testMapAfter() throws IOException, ParseException {
- /* fails with:
- java.lang.IllegalArgumentException: Could not find struct 'elem'.
assertCorrectDeriving("matchsettings_map_after",
new TestProperties().setExperimentalSdParsing(false));
- */
assertCorrectDeriving("matchsettings_map_after",
new TestProperties().setExperimentalSdParsing(true));
}