diff options
Diffstat (limited to 'config-model/src/test/java/com/yahoo/schema/derived/StreamingStructTestCase.java')
-rwxr-xr-x | config-model/src/test/java/com/yahoo/schema/derived/StreamingStructTestCase.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/config-model/src/test/java/com/yahoo/schema/derived/StreamingStructTestCase.java b/config-model/src/test/java/com/yahoo/schema/derived/StreamingStructTestCase.java new file mode 100755 index 00000000000..6f27930e239 --- /dev/null +++ b/config-model/src/test/java/com/yahoo/schema/derived/StreamingStructTestCase.java @@ -0,0 +1,26 @@ +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.schema.derived; + +import com.yahoo.schema.parser.ParseException; +import org.junit.Test; + +import java.io.IOException; + +/** + * Tests streaming search 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"); + } + +} |