Migrate yang-data-tree-ri to JUnit5
[yangtools.git] / data / yang-data-tree-ri / src / test / java / org / opendaylight / yangtools / yang / data / tree / impl / AbstractTestModelTest.java
1 /*
2  * Copyright (c) 2019 Pantheon Technologies, s.r.o. 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.yangtools.yang.data.tree.impl;
9
10 import org.junit.jupiter.api.AfterAll;
11 import org.junit.jupiter.api.BeforeAll;
12 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
13
14 abstract class AbstractTestModelTest {
15     static EffectiveModelContext SCHEMA_CONTEXT;
16
17     @BeforeAll
18     static final void beforeClass() {
19         SCHEMA_CONTEXT = TestModel.createTestContext();
20     }
21
22     @AfterAll
23     static final void afterClass() {
24         SCHEMA_CONTEXT = null;
25     }
26 }