2 * Copyright (c) 2020 PANTHEON.tech, s.r.o. 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.netconf.sal.connect.netconf;
10 import org.junit.AfterClass;
11 import org.junit.BeforeClass;
12 import org.opendaylight.netconf.sal.connect.netconf.schema.mapping.BaseNetconfSchemas;
13 import org.opendaylight.netconf.sal.connect.netconf.schema.mapping.DefaultBaseNetconfSchemas;
14 import org.opendaylight.yangtools.yang.parser.api.YangParserException;
15 import org.opendaylight.yangtools.yang.parser.impl.DefaultYangParserFactory;
17 public abstract class AbstractBaseSchemasTest {
18 protected static BaseNetconfSchemas BASE_SCHEMAS;
21 public static void initBaseSchemas() throws YangParserException {
22 BASE_SCHEMAS = new DefaultBaseNetconfSchemas(new DefaultYangParserFactory());
26 public static void freeBaseSchemas() {