mirror of
https://gitee.com/dcren/initializr.git
synced 2025-11-28 09:22:41 +08:00
Migrate initializr-generator to Java
This commit is contained in:
committed by
Stephane Nicoll
parent
0ff278a3d0
commit
ac20d04985
@@ -37,11 +37,11 @@ public class DefaultDependencyMetadataProviderTests {
|
||||
|
||||
@Test
|
||||
public void filterDependencies() {
|
||||
Dependency first = Dependency.withId("first", "org.foo", "first",
|
||||
"1.1.4.RELEASE");
|
||||
Dependency first = Dependency.withId("first", "org.foo", "first");
|
||||
first.setVersionRange("1.1.4.RELEASE");
|
||||
Dependency second = Dependency.withId("second", "org.foo", "second");
|
||||
Dependency third = Dependency.withId("third", "org.foo", "third",
|
||||
"1.1.8.RELEASE");
|
||||
Dependency third = Dependency.withId("third", "org.foo", "third");
|
||||
third.setVersionRange("1.1.8.RELEASE");
|
||||
InitializrMetadata metadata = InitializrMetadataTestBuilder.withDefaults()
|
||||
.addDependencyGroup("test", first, second, third).build();
|
||||
DependencyMetadata dependencyMetadata = provider.get(metadata,
|
||||
|
||||
Reference in New Issue
Block a user