summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/derived/NameCollisionTestCase.java
blob: 35593be4843781e7066d3a1a2774c627cc114580 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

package com.yahoo.searchdefinition.derived;

import org.junit.Test;

/**
 * Verifies that a struct in a document type is preferred over another dopcument type
 * of the same name.
 *
 * @author bratseth
 */
public class NameCollisionTestCase extends AbstractExportingTestCase {

    @Test
    public void testNameCollision() throws Exception {
        assertCorrectDeriving("namecollision", "collisionstruct", new TestableDeployLogger());
    }

}