df13bb86c6f0ff36719350d682e683a5862b6a7f
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / java / org / opendaylight / controller / sal / restconf / impl / test / XmlAndJsonToCnSnLeafRefTest.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.sal.restconf.impl.test;
9
10 import java.io.FileNotFoundException;
11 import org.junit.BeforeClass;
12 import org.opendaylight.yangtools.yang.common.QName;
13 import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
14
15 public class XmlAndJsonToCnSnLeafRefTest extends YangAndXmlAndDataSchemaLoader {
16
17     final QName refContQName = QName.create("referenced:module", "2014-04-17", "cont");
18     final QName refLf1QName = QName.create(this.refContQName, "lf1");
19     final QName contQName = QName.create("leafref:module", "2014-04-17", "cont");
20     final QName lf1QName = QName.create(this.contQName, "lf1");
21     final QName lf2QName = QName.create(this.contQName, "lf2");
22     final QName lf3QName = QName.create(this.contQName, "lf3");
23
24     @BeforeClass
25     public static void initialize() throws FileNotFoundException, ReactorException {
26         dataLoad("/leafref/yang", 2, "leafref-module", "cont");
27     }
28
29
30 }