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 {
|
|
|
|
|
2022-05-11 06:18:28 +02:00
|
|
|
String templatesFile = "../example/data/plc-templates.xml";
|
|
|
|
String importFile = "../example/data/strolch-plc-example.csv";
|
|
|
|
String exportFile = "../example/data/strolch-plc-example.xml";
|
2020-02-06 14:20:36 +01:00
|
|
|
|
2024-04-12 13:20:48 +02:00
|
|
|
PlcAddressGenerator.main(new String[]{templatesFile, importFile, exportFile});
|
2020-02-06 14:20:36 +01:00
|
|
|
}
|
|
|
|
}
|