summaryrefslogtreecommitdiffstats
path: root/netconf/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/XmlAndJsonToCnSnLeafRefTest.java
blob: df13bb86c6f0ff36719350d682e683a5862b6a7f (plain)
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
28
29
30
/*
 * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.controller.sal.restconf.impl.test;

import java.io.FileNotFoundException;
import org.junit.BeforeClass;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;

public class XmlAndJsonToCnSnLeafRefTest extends YangAndXmlAndDataSchemaLoader {

    final QName refContQName = QName.create("referenced:module", "2014-04-17", "cont");
    final QName refLf1QName = QName.create(this.refContQName, "lf1");
    final QName contQName = QName.create("leafref:module", "2014-04-17", "cont");
    final QName lf1QName = QName.create(this.contQName, "lf1");
    final QName lf2QName = QName.create(this.contQName, "lf2");
    final QName lf3QName = QName.create(this.contQName, "lf3");

    @BeforeClass
    public static void initialize() throws FileNotFoundException, ReactorException {
        dataLoad("/leafref/yang", 2, "leafref-module", "cont");
    }


}