Package com.tngtech.archunit.junit
Interface LocationProvider
@PublicAPI(usage=INHERITANCE)
public interface LocationProvider
Allows to provide a custom implementation, that supplies
Locations
to be imported by the JUnit test infrastructure.
The implementation must offer a public default (i.e. no arg) constructor.
-
Method Summary
-
Method Details
-
get
Returns locations to be imported for the current test run. The test class parameter can for example be used to evaluate custom annotations on the current test class.- Parameters:
testClass- The class object of the test currently executed- Returns:
- The locations to import
-