2020-02-06 14:20:36 +01:00
|
|
|
package li.strolch.plc.core.util;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
|
|
|
public class PlcAddressGeneratorTest {
|
|
|
|
|
|
|
|
@Test
|
|
|
|
public void shouldGenerate() throws IOException {
|
|
|
|
|
2021-02-15 23:23:29 +01:00
|
|
|
String templatesFile = "../example/plc-templates.xml";
|
2020-02-26 18:39:26 +01:00
|
|
|
String importFile = "../example/strolch-plc-example.csv";
|
|
|
|
String exportFile = "../example/strolch-plc-example.xml";
|
2020-02-06 14:20:36 +01:00
|
|
|
|
|
|
|
PlcAddressGenerator.main(new String[] { templatesFile, importFile, exportFile });
|
|
|
|
}
|
|
|
|
}
|