Merge "Fix modules Restconf call for mounted devices"
[controller.git] / opendaylight / md-sal / sal-rest-connector / 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 org.junit.BeforeClass;
11 import org.opendaylight.yangtools.yang.common.QName;
12
13 public class XmlAndJsonToCnSnLeafRefTest extends YangAndXmlAndDataSchemaLoader {
14
15     final QName refContQName = QName.create("referenced:module", "2014-04-17", "cont");
16     final QName refLf1QName = QName.create(refContQName, "lf1");
17     final QName contQName = QName.create("leafref:module", "2014-04-17", "cont");
18     final QName lf1QName = QName.create(contQName, "lf1");
19     final QName lf2QName = QName.create(contQName, "lf2");
20     final QName lf3QName = QName.create(contQName, "lf3");
21
22     @BeforeClass
23     public static void initialize() {
24         dataLoad("/leafref/yang", 2, "leafref-module", "cont");
25     }
26
27
28 }