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.client.mdsal;
10 import org.junit.AfterClass;
11 import org.junit.BeforeClass;
12 import org.opendaylight.netconf.client.mdsal.api.BaseNetconfSchemaProvider;
13 import org.opendaylight.netconf.client.mdsal.impl.DefaultBaseNetconfSchemaProvider;
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 BaseNetconfSchemaProvider BASE_SCHEMAS;
21 public static void initBaseSchemas() throws YangParserException {
22 BASE_SCHEMAS = new DefaultBaseNetconfSchemaProvider(new DefaultYangParserFactory());
26 public static void freeBaseSchemas() {