summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/derived/MultipleSummariesTestCase.java
blob: b13e88f5f1f0403f3f1c5ece33d5c1b77d1d7a2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition.derived;

import com.yahoo.config.model.deploy.TestProperties;
import com.yahoo.searchdefinition.parser.ParseException;
import org.junit.Test;

import java.io.IOException;

/**
 * Tests deriving a configuration with multiple summaries
 *
 * @author  bratseth
 */
public class MultipleSummariesTestCase extends AbstractExportingTestCase {
    @Test
    public void testMultipleSummaries() throws IOException, ParseException {
        assertCorrectDeriving("multiplesummaries",
                              new TestProperties().setExperimentalSdParsing(false));
    }

    @Test
    public void testMultipleSummariesNew() throws IOException, ParseException {
        assertCorrectDeriving("multiplesummaries",
                              new TestProperties().setExperimentalSdParsing(true));
    }
}