blob: 0695a3de92278e6ee6d3a024caa8b32bfd5a8ec9 (
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
26
27
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition.derived;
import com.yahoo.config.model.deploy.TestProperties;
import org.junit.Test;
/**
* @author arnej
*/
public class DuplicateStructTestCase extends AbstractExportingTestCase {
@Test
public void exact_duplicate_struct_works() throws Exception {
assertCorrectDeriving("duplicate_struct", "foobar",
new TestProperties()
.setExperimentalSdParsing(false),
new TestableDeployLogger());
}
@Test
public void exact_duplicate_struct_works_new() throws Exception {
assertCorrectDeriving("duplicate_struct", "foobar",
new TestProperties()
.setExperimentalSdParsing(true),
new TestableDeployLogger());
}
}
|