Skip to content

Commit

Permalink
Refresh test data (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesbusy authored Jul 31, 2024
1 parent e8d552c commit 3e55740
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 68 deletions.
72 changes: 36 additions & 36 deletions src/test/java/org/openrewrite/jenkins/AddPluginsBomTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ void shouldNotAddBomIfNoDependencies() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.387.3</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<repositories>
<repository>
Expand All @@ -64,11 +64,11 @@ void shouldNotAddBomIfNoManagedDependencies() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.387.3</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<repositories>
<repository>
Expand Down Expand Up @@ -98,11 +98,11 @@ void shouldAddBomIfManagedDependencies() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<repositories>
<repository>
Expand All @@ -124,18 +124,18 @@ void shouldAddBomIfManagedDependencies() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.361.x</artifactId>
<version>2102.v854b_fec19c92</version>
<artifactId>bom-2.440.x</artifactId>
<version>3221.ve8f7b_fdd149d</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -167,18 +167,18 @@ void shouldLeaveBomVersionIfAlreadyPresent() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.361.x</artifactId>
<version>1706.vc166d5f429f8</version>
<artifactId>bom-2.440.x</artifactId>
<version>3221.ve8f7b_fdd149d</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -210,11 +210,11 @@ void shouldFixOutdatedPluginsBom() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -253,18 +253,18 @@ void shouldFixOutdatedPluginsBom() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.361.x</artifactId>
<version>2102.v854b_fec19c92</version>
<artifactId>bom-2.440.x</artifactId>
<version>3221.ve8f7b_fdd149d</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -296,7 +296,7 @@ void shouldFixOutdatedPluginsBomPropertiesBelowManagedDependencies() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<dependencyManagement>
Expand All @@ -323,7 +323,7 @@ void shouldFixOutdatedPluginsBomPropertiesBelowManagedDependencies() {
</dependency>
</dependencies>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
</project>
""".stripIndent(),
Expand All @@ -332,15 +332,15 @@ void shouldFixOutdatedPluginsBomPropertiesBelowManagedDependencies() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.361.x</artifactId>
<version>2102.v854b_fec19c92</version>
<artifactId>bom-2.440.x</artifactId>
<version>3221.ve8f7b_fdd149d</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -359,7 +359,7 @@ void shouldFixOutdatedPluginsBomPropertiesBelowManagedDependencies() {
</dependency>
</dependencies>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
</project>
""".stripIndent()
Expand All @@ -375,11 +375,11 @@ void shouldFixOutdatedPluginsBomEvenIfUnused() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -412,18 +412,18 @@ void shouldFixOutdatedPluginsBomEvenIfUnused() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.361.x</artifactId>
<version>2102.v854b_fec19c92</version>
<artifactId>bom-2.440.x</artifactId>
<version>3221.ve8f7b_fdd149d</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -456,11 +456,11 @@ void shouldLeaveOtherBomsAlone() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.70</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -500,7 +500,7 @@ void shouldHandleCommentsInManagedDependency() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.51</version>
<version>4.86</version>
<relativePath/>
</parent>
Expand Down Expand Up @@ -556,7 +556,7 @@ void shouldHandleCommentsInManagedDependency() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.51</version>
<version>4.86</version>
<relativePath/>
</parent>
Expand Down
10 changes: 5 additions & 5 deletions src/test/java/org/openrewrite/jenkins/CreateIndexJellyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void shouldCreateIndexJellyFromPomDescription() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
</parent>
<artifactId>my-plugin</artifactId>
<description>This is my plugin's description</description>
Expand Down Expand Up @@ -85,7 +85,7 @@ void shouldCreateIndexJellyEmptyDescription() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
</parent>
<artifactId>my-plugin</artifactId>
<description/>
Expand Down Expand Up @@ -121,7 +121,7 @@ void shouldCreateIndexJellyNoDescription() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
</parent>
<artifactId>my-plugin</artifactId>
<version>0.1</version>
Expand Down Expand Up @@ -170,7 +170,7 @@ void shouldCreateMultipleNestedIndexJellies() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
</parent>
<artifactId>my-plugin</artifactId>
<version>0.1</version>
Expand Down Expand Up @@ -199,7 +199,7 @@ void shouldCreateMultipleNestedIndexJellies() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
</parent>
<artifactId>different-plugin</artifactId>
<version>0.1</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void shouldAddRelativePathIfMissing() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
</parent>
<properties>
<jenkins.version>2.303.3</jenkins.version>
Expand All @@ -55,7 +55,7 @@ void shouldAddRelativePathIfMissing() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
Expand All @@ -80,7 +80,7 @@ void shouldNoOpIfRelativePathAlreadyPresent() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
<relativePath/>
</parent>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void shouldKnowIfJenkinsPlugin() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
</parent>
<artifactId>my-plugin</artifactId>
<version>0.1</version>
Expand All @@ -57,7 +57,7 @@ void shouldKnowIfJenkinsPlugin() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
</parent>
<artifactId>my-plugin</artifactId>
<version>0.1</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void shouldCreateJenkinsfile() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
<relativePath/>
</parent>
<artifactId>example-plugin</artifactId>
Expand Down Expand Up @@ -83,7 +83,7 @@ void shouldUpdateJenkinsfile() {
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.86</version>
<relativePath/>
</parent>
<artifactId>example-plugin</artifactId>
Expand Down
Loading

0 comments on commit 3e55740

Please sign in to comment.