Skip to content

Commit

Permalink
Merge pull request #89 from MopeSWTP-SS21/feature/test
Browse files Browse the repository at this point in the history
Feature/test
  • Loading branch information
manuEbg authored Jul 2, 2021
2 parents 92102f0 + 34f43c7 commit 602d478
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/java/LSPServerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LSPServerTest{
@BeforeAll
public void getCurrentUserAndSetRefPath() {
userName = System.getProperty("user.name");
refPath = "/home/"+userName+"/MopeSWTP/src/test/java/resources/exampleModels";
refPath = System.getProperty("user.dir") + "/src/test/java/resources/exampleModels";
}


Expand Down Expand Up @@ -70,6 +70,7 @@ public void startClient() {
}
}).start();
}

public void initializeServer() throws InterruptedException {
Thread.currentThread().sleep(1000);
clientLauncher.client.initServer();
Expand Down Expand Up @@ -126,4 +127,5 @@ public void checkModel() throws IOException, InterruptedException {
public void endTests(){
logger.info("All tests done... Completing Future");
testsFinished.complete(true);
}
}
}

0 comments on commit 602d478

Please sign in to comment.