425b440c1d07dbf071dbc3ea9017c0bd3c07042e
[mdsal.git] / binding / mdsal-binding-dom-codec / src / test / java / org / opendaylight / mdsal / binding / dom / codec / impl / AbstractBindingCodecTest.java
1 /*
2  * Copyright (c) 2018 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.mdsal.binding.dom.codec.impl;
9
10 import org.junit.AfterClass;
11 import org.junit.Before;
12 import org.junit.BeforeClass;
13
14 public abstract class AbstractBindingCodecTest extends AbstractBindingRuntimeTest {
15     protected BindingCodecContext codecContext;
16
17     @BeforeClass
18     public static void beforeClass() {
19         AbstractBindingRuntimeTest.beforeClass();
20     }
21
22     @AfterClass
23     public static void afterClass() {
24         AbstractBindingRuntimeTest.afterClass();
25     }
26
27     @Before
28     public void before() {
29         this.codecContext = new BindingCodecContext(getRuntimeContext());
30     }
31 }