-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sabi-144 Migrate Testframework from junit4 to junit5
- Migrated Server Module
- Loading branch information
1 parent
1511a13
commit 51f814b
Showing
26 changed files
with
163 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (c) 2022 by Stefan Schubert under the MIT License (MIT). | ||
* Copyright (c) 2023 by Stefan Schubert under the MIT License (MIT). | ||
* See project LICENSE file for the detailed terms and conditions. | ||
*/ | ||
|
||
|
@@ -8,7 +8,7 @@ | |
import de.bluewhale.sabi.model.SizeUnit; | ||
import de.bluewhale.sabi.persistence.model.*; | ||
import de.bluewhale.sabi.persistence.repositories.*; | ||
import org.junit.Before; | ||
import org.junit.jupiter.api.BeforeEach; | ||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.jdbc.core.JdbcTemplate; | ||
|
||
|
@@ -51,7 +51,7 @@ public class BasicDataFactory { | |
protected static final String P_USER1_EMAIL = "[email protected]"; | ||
protected static final String P_USER2_EMAIL = "[email protected]"; | ||
|
||
@Before | ||
@BeforeEach | ||
public void initOnlyOnce() { | ||
|
||
if (populatedBasicData) return; | ||
|
41 changes: 0 additions & 41 deletions
41
sabi-server/src/test/java/de/bluewhale/sabi/MasterTestSuite.java
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
sabi-server/src/test/java/de/bluewhale/sabi/MeasurementTestSuite.java
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
sabi-server/src/test/java/de/bluewhale/sabi/TankTestSuite.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.