You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide method buildFile.hasDependencyMatchingRegex() which considers transitive dependencies too as counterpart to buildFile.hasDeclaredDependencyMatchingRegex()
Acceptance Criteria
hasDependencyMatchingRegex
Givenpom.xml contains a dependency that brings a transitive dependency WhenhasDependencyMatchingRegex(<regex for the transitive dependency>) is called on this BuildFile Then this method should return true
Givenpom.xml contains a dependency that brings a transitive dependency WhenhasDependencyMatchingRegex(<regex for the declared dependency>) is called on this BuildFile Then this method should return true
hasDeclaredDependencyMatchingRegex
Givenpom.xml contains a dependency that brings a transitive dependency WhenhasDeclaredDependencyMatchingRegex(<regex for the transitive dependency>) is called on this BuildFile Then this method should return false
Givenpom.xml contains a dependency that brings a transitive dependency WhenhasDeclaredDependencyMatchingRegex(<regex for the declared dependency>) is called on this BuildFile Then this method should return true
Additional Information
See MigrateWlsEjbDeploymentDescriptor.incorporateIntoSourceFile():69
The text was updated successfully, but these errors were encountered:
What needs to be done
Provide method
buildFile.hasDependencyMatchingRegex()
which considers transitive dependencies too as counterpart tobuildFile.hasDeclaredDependencyMatchingRegex()
Acceptance Criteria
hasDependencyMatchingRegex
Given
pom.xml
contains a dependency that brings a transitive dependencyWhen
hasDependencyMatchingRegex(<regex for the transitive dependency>)
is called on thisBuildFile
Then this method should return true
Given
pom.xml
contains a dependency that brings a transitive dependencyWhen
hasDependencyMatchingRegex(<regex for the declared dependency>)
is called on thisBuildFile
Then this method should return true
hasDeclaredDependencyMatchingRegex
Given
pom.xml
contains a dependency that brings a transitive dependencyWhen
hasDeclaredDependencyMatchingRegex(<regex for the transitive dependency>)
is called on thisBuildFile
Then this method should return false
Given
pom.xml
contains a dependency that brings a transitive dependencyWhen
hasDeclaredDependencyMatchingRegex(<regex for the declared dependency>)
is called on thisBuildFile
Then this method should return true
Additional Information
See
MigrateWlsEjbDeploymentDescriptor.incorporateIntoSourceFile():69
The text was updated successfully, but these errors were encountered: