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

import com.yahoo.searchdefinition.parser.ParseException;
import org.junit.Test;

import java.io.File;
import java.io.IOException;
import java.util.Arrays;

/**
 * Tests VSM configuration deriving for structs
 *
 * @author  bratseth
 */
public class StreamingStructTestCase extends AbstractExportingTestCase {

    @Test
    public void testStreamingStruct() throws IOException, ParseException {
        assertCorrectDeriving("streamingstruct");
    }

    @Test
    public void testStreamingStructExplicitDefaultSummaryClass() throws IOException, ParseException {
        assertCorrectDeriving("streamingstructdefault");
    }

}