36 lines
870 B
Java
36 lines
870 B
Java
package jmri.jmrix.bidib.netbidib.configurexml;
|
|
|
|
import org.junit.jupiter.api.AfterEach;
|
|
import org.junit.jupiter.api.BeforeEach;
|
|
|
|
import jmri.jmrix.bidib.netbidib.ConnectionConfig;
|
|
import jmri.util.JUnitUtil;
|
|
|
|
/**
|
|
* ConnectionConfigXmlTest.java
|
|
*
|
|
* Description: tests for the ConnectionConfigXml class
|
|
*
|
|
* @author Paul Bender Copyright (C) 2016
|
|
*/
|
|
public class ConnectionConfigXmlTest extends jmri.jmrix.configurexml.AbstractNetworkConnectionConfigXmlTestBase {
|
|
|
|
// The minimal setup for log4J
|
|
@BeforeEach
|
|
@Override
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
xmlAdapter = new ConnectionConfigXml();
|
|
cc = new ConnectionConfig();
|
|
}
|
|
|
|
@AfterEach
|
|
@Override
|
|
public void tearDown() {
|
|
JUnitUtil.resetWindows(false,false);
|
|
JUnitUtil.tearDown();
|
|
xmlAdapter = null;
|
|
cc = null;
|
|
}
|
|
}
|