Skip to content

Commit 87c24d8

Browse files
committed
update the relative path to Compiler directory
1 parent 9e3866d commit 87c24d8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

SimulationRuntime/java_interface/src/org/openmodelica/test/TestDefinitionsParser.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void test_meta_modelica_mo() throws Exception {
4646
public void test_OMC_Util_mo() throws Exception {
4747
File jarFile = new File("test_files/OMC_Util.jar");
4848
DefinitionsCreator.createDefinitions(jarFile, "org.openmodelica.OMC",
49-
new File("../../../../Compiler/").getAbsoluteFile(),
49+
new File("../../Compiler/").getAbsoluteFile(),
5050
new String[]{
5151
"Util/Util.mo" /* Lots of "replaceable type X subtypeof Any;" */
5252
},
@@ -62,7 +62,7 @@ public void test_OMC_Util_mo() throws Exception {
6262
public void test_OMC_Absyn_mo() throws Exception {
6363
File jarFile = new File("test_files/OMC_Absyn.jar");
6464
DefinitionsCreator.createDefinitions(jarFile, "org.openmodelica.OMC",
65-
new File("../../../../Compiler/").getAbsoluteFile(),
65+
new File("../../Compiler/").getAbsoluteFile(),
6666
new String[]{"FrontEnd/Absyn.mo"},
6767
true);
6868
}
@@ -73,7 +73,7 @@ public void test_OMC_Values_mo() throws Exception {
7373
DefinitionsCreator.createDefinitions(
7474
jarFile,
7575
"org.openmodelica.OMC",
76-
new File("../../../../Compiler/FrontEnd").getAbsoluteFile(),
76+
new File("../../Compiler/FrontEnd").getAbsoluteFile(),
7777
new String[]{
7878
"Absyn.mo", "Values.mo"
7979
},
@@ -85,7 +85,7 @@ public void test_OMC_Values_mo() throws Exception {
8585
public void test_OMC_ClassInf_mo() throws Exception {
8686
File jarFile = new File("test_files/OMC_ClassInf.jar");
8787
DefinitionsCreator.createDefinitions(jarFile, "org.openmodelica.OMC",
88-
new File("../../../../Compiler/").getAbsoluteFile(),
88+
new File("../../Compiler/").getAbsoluteFile(),
8989
new String[]{
9090
"FrontEnd/Absyn.mo", "FrontEnd/ClassInf.mo", "FrontEnd/SCode.mo"
9191
},
@@ -103,7 +103,7 @@ public boolean accept(File dir, String name) {
103103
@Test
104104
public void test_OMC_mo_stripped() throws Exception {
105105
File jarFile = new File("test_files/OMC_full_no_functions.jar");
106-
File compilerDir = new File("../../../../Compiler/");
106+
File compilerDir = new File("../../Compiler/");
107107
String[] files = compilerDir.list(new MoFilter());
108108
DefinitionsCreator.createDefinitions(jarFile, "org.openmodelica.OMC",
109109
compilerDir.getAbsoluteFile(),
@@ -117,7 +117,7 @@ public void test_OMC_mo_stripped() throws Exception {
117117
@Test
118118
public void test_OMC_mo() throws Exception {
119119
File jarFile = new File("test_files/OMC_full.jar");
120-
File compilerDir = new File("../../../../Compiler/");
120+
File compilerDir = new File("../../Compiler/");
121121
String[] files = compilerDir.list(new MoFilter());
122122
DefinitionsCreator.createDefinitions(jarFile, "org.openmodelica.OMC",
123123
compilerDir.getAbsoluteFile(),

0 commit comments

Comments
 (0)