blob: 31dfd240538a0a41e70a7bca3f58701b2f351d7a (
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
|
// 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.jupiter.api.Test;
import java.io.IOException;
/**
* Tests correct deriving of expressions as arguments to functions.
*
* @author lesters
*/
public class ExpressionsAsArgsTestCase extends AbstractExportingTestCase {
@Test
void testDocumentDeriving() throws IOException, ParseException {
assertCorrectDeriving("function_arguments");
assertCorrectDeriving("function_arguments_with_expressions");
}
}
|