aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/MultipleSummariesTestCase.java
blob: 1bf07aff9d5116f7319e4aeea0a3bc5f88c88d76 (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
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition;

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

import java.io.IOException;

/**
 * tests importing of document containing array type fields
 *
 * @author bratseth
 */
public class MultipleSummariesTestCase extends AbstractSchemaTestCase {

    @Test
    public void testArrayImporting() throws IOException, ParseException {
        var builder = new ApplicationBuilder(new TestProperties().setExperimentalSdParsing(true));
        builder.addSchemaFile("src/test/examples/multiplesummaries.sd");
        builder.build(true);
    }
}