Commit 29bdf720 authored by Stefan Schuhbaeck's avatar Stefan Schuhbaeck
Browse files

correct typo

parent 58cd4211
Pipeline #62849 failed with stages
in 10 minutes and 48 seconds
...@@ -30,7 +30,7 @@ public class JoltTest { ...@@ -30,7 +30,7 @@ public class JoltTest {
public void run2() { public void run2() {
List chainrSpecJson = JsonUtils.classpathToList("/transfrom_v2_to_v3.json"); List chainrSpecJson = JsonUtils.classpathToList("/transform_v2_to_v3.json");
Chainr chainr = Chainr.fromSpec(chainrSpecJson); Chainr chainr = Chainr.fromSpec(chainrSpecJson);
Object inputJson = JsonUtils.classpathToObject("/scenario_test.json"); Object inputJson = JsonUtils.classpathToObject("/scenario_test.json");
......
...@@ -46,7 +46,7 @@ public class JoltIdentityTransformationTest { ...@@ -46,7 +46,7 @@ public class JoltIdentityTransformationTest {
for (Path p : scenarioFiles) { for (Path p : scenarioFiles) {
Object jsonInput = JsonUtils.filepathToObject(p.toString()); Object jsonInput = JsonUtils.filepathToObject(p.toString());
Chainr transformation = Chainr transformation =
Chainr.fromSpec(JsonUtils.classpathToList("/transfrom_v1_to_v2.json")); Chainr.fromSpec(JsonUtils.classpathToList("/transform_v1_to_v2.json"));
Chainr identityV02 = Chainr identityV02 =
Chainr.fromSpec(JsonUtils.classpathToList("/identity_v2.json")); Chainr.fromSpec(JsonUtils.classpathToList("/identity_v2.json"));
Object jsonNew = transformation.transform(jsonInput); Object jsonNew = transformation.transform(jsonInput);
...@@ -99,7 +99,7 @@ public class JoltIdentityTransformationTest { ...@@ -99,7 +99,7 @@ public class JoltIdentityTransformationTest {
@Test @Test
public void transformv1t0v2() throws IOException { public void transformv1t0v2() throws IOException {
Path scenario = Paths.get("../VadereModelTestsV0.1/TestOSM/scenarios/basic_1_chicken_osm1.scenario"); Path scenario = Paths.get("../VadereModelTestsV0.1/TestOSM/scenarios/basic_1_chicken_osm1.scenario");
List chainrSpecJson = JsonUtils.classpathToList("/transfrom_v1_to_v2.json"); List chainrSpecJson = JsonUtils.classpathToList("/transform_v1_to_v2.json");
Chainr transform_v1_v2 = Chainr.fromSpec(chainrSpecJson); Chainr transform_v1_v2 = Chainr.fromSpec(chainrSpecJson);
Object inputJson = JsonUtils.filepathToObject(scenario.toString()); Object inputJson = JsonUtils.filepathToObject(scenario.toString());
Object jsonOut1 = transform_v1_v2.transform(inputJson); Object jsonOut1 = transform_v1_v2.transform(inputJson);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment