blob: ff3118a65c9d916f7491e06e004ef92b312264dc (
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 Vespa.ai. 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");
}
}
|