summaryrefslogtreecommitdiffstats
path: root/config-model/src/test
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-01-24 15:37:38 +0100
committerJon Bratseth <bratseth@gmail.com>2022-01-24 15:37:38 +0100
commit7353d2de240ec0566bd3a2b7d27cf540077fee2a (patch)
treec0aee44ec448e87438b4a0576f441608632ea68d /config-model/src/test
parente022e18ae1c424d9afb87ba7d5acde5d7f27cf45 (diff)
Initial rank profile modularity test
Diffstat (limited to 'config-model/src/test')
-rw-r--r--config-model/src/test/derived/rankprofilemodularity/ilscripts.cfg0
-rw-r--r--config-model/src/test/derived/rankprofilemodularity/test.sd0
-rw-r--r--config-model/src/test/derived/rankprofilemodularity/test/outside_schema1.profile0
-rw-r--r--config-model/src/test/derived/rankprofilemodularity/test/outside_schema2.profile0
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java5
5 files changed, 5 insertions, 0 deletions
diff --git a/config-model/src/test/derived/rankprofilemodularity/ilscripts.cfg b/config-model/src/test/derived/rankprofilemodularity/ilscripts.cfg
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/config-model/src/test/derived/rankprofilemodularity/ilscripts.cfg
diff --git a/config-model/src/test/derived/rankprofilemodularity/test.sd b/config-model/src/test/derived/rankprofilemodularity/test.sd
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/config-model/src/test/derived/rankprofilemodularity/test.sd
diff --git a/config-model/src/test/derived/rankprofilemodularity/test/outside_schema1.profile b/config-model/src/test/derived/rankprofilemodularity/test/outside_schema1.profile
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/config-model/src/test/derived/rankprofilemodularity/test/outside_schema1.profile
diff --git a/config-model/src/test/derived/rankprofilemodularity/test/outside_schema2.profile b/config-model/src/test/derived/rankprofilemodularity/test/outside_schema2.profile
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/config-model/src/test/derived/rankprofilemodularity/test/outside_schema2.profile
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java
index fda3e6c16c3..403b953cdb5 100644
--- a/config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java
@@ -170,4 +170,9 @@ public class ExportingTestCase extends AbstractExportingTestCase {
assertEquals(0, logger.warnings.size());
}
+ @Test
+ public void testRankProfileModularity() throws IOException, ParseException {
+ assertCorrectDeriving("rankprofilemodularity");
+ }
+
}