diff options
Diffstat (limited to 'config-model/src/test/java/com/yahoo/schema/derived/ExpressionsAsArgsTestCase.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/schema/derived/ExpressionsAsArgsTestCase.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/config-model/src/test/java/com/yahoo/schema/derived/ExpressionsAsArgsTestCase.java b/config-model/src/test/java/com/yahoo/schema/derived/ExpressionsAsArgsTestCase.java new file mode 100644 index 00000000000..d2020305bc1 --- /dev/null +++ b/config-model/src/test/java/com/yahoo/schema/derived/ExpressionsAsArgsTestCase.java @@ -0,0 +1,25 @@ +// 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 correct deriving of expressions as arguments to functions. + * + * @author lesters + */ +public class ExpressionsAsArgsTestCase extends AbstractExportingTestCase { + + @Test + public void testDocumentDeriving() throws IOException, ParseException { + assertCorrectDeriving("function_arguments"); + assertCorrectDeriving("function_arguments_with_expressions"); + } + +} + + + |