Search in sources :

Example 1 with ProcessImport

use of org.openlca.io.ilcd.input.ProcessImport in project olca-modules by GreenDelta.

the class ILCDImportExportTest method testF_Process.

@Test
public void testF_Process() {
    String id = "76d6aaa4-37e2-40b2-994c-03292b600074";
    var dataSet = importConf.store().get(Process.class, id);
    var process = new ProcessImport(importConf).run(dataSet);
    assertEquals(id, process.refId);
    new ProcessExport(exportConf).run(process);
    assertTrue(exportConf.store.contains(Process.class, id));
}
Also used : ProcessImport(org.openlca.io.ilcd.input.ProcessImport) Process(org.openlca.ilcd.processes.Process) ProcessExport(org.openlca.io.ilcd.output.ProcessExport) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 Process (org.openlca.ilcd.processes.Process)1 ProcessImport (org.openlca.io.ilcd.input.ProcessImport)1 ProcessExport (org.openlca.io.ilcd.output.ProcessExport)1