blob: a2ac9b75eabb174946d4bbddc4d25386496c7c98 (
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.config.model.deploy.TestProperties;
import com.yahoo.schema.parser.ParseException;
import org.junit.jupiter.api.Test;
import java.io.IOException;
/**
* Tests a search definition with various rank profiles having different settings
*
* @author bratseth
*/
public class RankProfilesTestCase extends AbstractExportingTestCase {
@Test
void testRankProfiles() throws IOException, ParseException {
assertCorrectDeriving("rankprofiles", null, new TestProperties(), new TestableDeployLogger());
}
@Test
void testMacrosInRankProfiles() throws IOException, ParseException {
assertCorrectDeriving("rankingmacros", null, new TestProperties(), new TestableDeployLogger());
}
}
|