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

import com.yahoo.config.model.deploy.TestProperties;
import com.yahoo.schema.parser.ParseException;
import org.junit.jupiter.api.Test;

import java.io.IOException;

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

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

}