From edc51952146314dd8894d5a63e371b9ddf1bd221 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Apr 2023 06:06:23 +0000 Subject: [PATCH 1/5] Bump org.mockito:mockito-core from 5.2.0 to 5.3.1 Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.2.0 to 5.3.1. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.2.0...v5.3.1) --- updated-dependencies: - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4a7a3cab..60659ce9 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ dependencies { testImplementation('org.junit.jupiter:junit-jupiter:5.9.2') testImplementation('com.github.npathai:hamcrest-optional:2.0.0') testImplementation('org.hamcrest:hamcrest:2.2') - testImplementation('org.mockito:mockito-core:5.2.0') + testImplementation('org.mockito:mockito-core:5.3.1') testImplementation('nl.jqno.equalsverifier:equalsverifier:3.14.1') } From b94071b2347de114645eed54d1838a98f9177fd1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Apr 2023 06:00:24 +0000 Subject: [PATCH 2/5] Bump org.junit:junit-bom from 5.9.2 to 5.9.3 Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.9.2 to 5.9.3. - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3) --- updated-dependencies: - dependency-name: org.junit:junit-bom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4a7a3cab..5360974c 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - testImplementation(platform('org.junit:junit-bom:5.9.2')) + testImplementation(platform('org.junit:junit-bom:5.9.3')) testImplementation('org.junit.jupiter:junit-jupiter:5.9.2') testImplementation('com.github.npathai:hamcrest-optional:2.0.0') testImplementation('org.hamcrest:hamcrest:2.2') From d0705c16133ef09dd78c514cd811a72d45bb9da3 Mon Sep 17 00:00:00 2001 From: w3stling Date: Thu, 18 May 2023 07:47:42 +0200 Subject: [PATCH 3/5] Test case updated --- .../RssReaderIntegrationTest.java | 38 +------------------ 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/src/test/java/com/apptasticsoftware/integrationtest/RssReaderIntegrationTest.java b/src/test/java/com/apptasticsoftware/integrationtest/RssReaderIntegrationTest.java index abeccdcf..b4c7e866 100644 --- a/src/test/java/com/apptasticsoftware/integrationtest/RssReaderIntegrationTest.java +++ b/src/test/java/com/apptasticsoftware/integrationtest/RssReaderIntegrationTest.java @@ -271,42 +271,6 @@ void rssVAFinansBadUrl() { } - @Test - void feedForAll() throws IOException { - RssReader reader = new RssReader(); - List items = reader.read("https://feedforall.com/sample-feed.xml").collect(Collectors.toList()); - - assertFalse(items.isEmpty()); - - for (Item item : items) { - // Validate channel - Channel channel = item.getChannel(); - assertNotNull(channel); - assertThat(channel.getTitle(), is("Sample Feed - Favorite RSS Related Software & Resources")); - assertThat(channel.getDescription(), is("Take a look at some of FeedForAll's favorite software and resources for learning more about RSS.")); - assertThat(channel.getLink(), is("http://www.feedforall.com")); - assertThat(channel.getCategories().get(0), is("Computers/Software/Internet/Site Management/Content Management")); - assertThat(channel.getLanguage(), isPresentAndIs("en-us")); - assertThat(channel.getCopyright(), isPresentAndIs("Copyright 2004 NotePage, Inc.")); - assertThat(channel.getGenerator(), isPresentAndIs("FeedForAll Beta1 (0.0.1.8)")); - assertThat(channel.getPubDate(), isPresentAndIs("Tue, 26 Oct 2004 14:06:44 -0500")); - assertThat(channel.getPubDateZonedDateTime(), isPresentAndIs(DateTime.toZonedDateTime("Tue, 26 Oct 2004 14:06:44 -0500"))); - assertThat(channel.getLastBuildDate(), isPresentAndIs("Mon, 1 Nov 2004 13:17:17 -0500")); - assertThat(channel.getLastBuildDateZonedDateTime(), isPresentAndIs(DateTime.toZonedDateTime("Mon, 1 Nov 2004 13:17:17 -0500"))); - - // Validate item - assertNotNull(item); - assertThat(item.getGuid(), isEmpty()); - assertThat(item.getIsPermaLink(), isEmpty()); - assertThat(item.getTitle(), isPresent()); - assertThat(item.getDescription(), isPresent()); - assertThat(item.getPubDate(), isPresent()); - assertThat(item.getPubDateZonedDateTime(), isPresent()); - assertThat(item.getLink(), isPresent()); - } - } - - @Test void investingcom() throws IOException { RssReader reader = new RssReader(); @@ -415,7 +379,7 @@ void rssWorldOfTank() throws IOException { Channel channel = item.getChannel(); assertNotNull(channel); assertThat(channel.getTitle(), containsString("World of Tanks")); - assertThat(channel.getDescription(), is("The latest news, updates, specials, and events for World of Tanks, the team-based, MMO tank battle game from Wargaming. Everything about WoT in one place.")); + assertThat(channel.getDescription(), anything()); assertThat(channel.getLanguage(), isPresentAndIs("en")); assertThat(channel.getLink(), is("https://worldoftanks.eu/en/news/")); assertThat(channel.getImage(), isPresent()); From acc8643f9f6ebeb93042acceb83e7927fd344f8e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Jun 2023 06:02:29 +0000 Subject: [PATCH 4/5] Bump org.sonarqube from 4.0.0.2929 to 4.2.0.3129 Bumps org.sonarqube from 4.0.0.2929 to 4.2.0.3129. --- updated-dependencies: - dependency-name: org.sonarqube dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4a7a3cab..00e81285 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { id 'signing' id 'maven-publish' id 'io.github.gradle-nexus.publish-plugin' version '1.3.0' - id 'org.sonarqube' version '4.0.0.2929' + id 'org.sonarqube' version '4.2.0.3129' } group 'com.apptasticsoftware' From 6c0ed112d3a7b991feff63e3590be876f22da2c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Jun 2023 21:19:11 +0000 Subject: [PATCH 5/5] Bump nl.jqno.equalsverifier:equalsverifier from 3.14.1 to 3.14.2 Bumps [nl.jqno.equalsverifier:equalsverifier](https://github.com/jqno/equalsverifier) from 3.14.1 to 3.14.2. - [Release notes](https://github.com/jqno/equalsverifier/releases) - [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md) - [Commits](https://github.com/jqno/equalsverifier/compare/equalsverifier-3.14.1...equalsverifier-3.14.2) --- updated-dependencies: - dependency-name: nl.jqno.equalsverifier:equalsverifier dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 60659ce9..9f61a911 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ dependencies { testImplementation('com.github.npathai:hamcrest-optional:2.0.0') testImplementation('org.hamcrest:hamcrest:2.2') testImplementation('org.mockito:mockito-core:5.3.1') - testImplementation('nl.jqno.equalsverifier:equalsverifier:3.14.1') + testImplementation('nl.jqno.equalsverifier:equalsverifier:3.14.2') } test {