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 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;
15 public class XmlAndJsonToCnSnLeafRefTest extends YangAndXmlAndDataSchemaLoader {
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");
25 public static void initialize() throws FileNotFoundException, ReactorException {
26 dataLoad("/leafref/yang", 2, "leafref-module", "cont");