2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.sal.restconf.impl.test;
10 import org.junit.BeforeClass;
11 import org.opendaylight.yangtools.yang.common.QName;
13 public class XmlAndJsonToCnSnLeafRefTest extends YangAndXmlAndDataSchemaLoader {
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");
23 public static void initialize() {
24 dataLoad("/leafref/yang", 2, "leafref-module", "cont");