-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from OP-TED/feature/TEDEFO-2401-pre-release-ve…
…rsions-in-sdk-downloader Updated the Dependency factory to use SNAPSHOT versions only when unit testing.
- Loading branch information
Showing
3 changed files
with
38 additions
and
7 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
14 changes: 14 additions & 0 deletions
14
src/test/java/eu/europa/ted/eforms/viewer/DependencyFactoryForUnitTesting.java
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package eu.europa.ted.eforms.viewer; | ||
|
||
import java.nio.file.Path; | ||
|
||
/** | ||
* Extends {@link DependencyFactory} to allow the use of SNAPSHOT versions when | ||
* unit testing. | ||
*/ | ||
public class DependencyFactoryForUnitTesting extends DependencyFactory { | ||
|
||
public DependencyFactoryForUnitTesting(Path sdkRoot) { | ||
super(sdkRoot, true); | ||
} | ||
} |
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