deps: Refactor dependencies (#3224)

* remove spring dep
move junit, logging, mockito under dep mgmt

* upgrade anti-corruption-layer deps

* async method invocation

* balking, bloc

* bridge to bytecode

* caching

* callback - cqrs

* component - health check

* hexagonal - metadata mapping

* rest of the patterns

* remove checkstyle, take spotless into use
This commit is contained in:
Ilkka Seppälä
2025-03-29 19:34:27 +02:00
committed by GitHub
parent 371439aeaa
commit 0ca162a55c
1863 changed files with 14403 additions and 17632 deletions
@@ -30,9 +30,7 @@ import org.htmlunit.WebClient;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
/**
* Test Album Selection and Album Listing
*/
/** Test Album Selection and Album Listing */
class AlbumListPageTest {
private final AlbumListPage albumListPage = new AlbumListPage(new WebClient());
@@ -48,5 +46,4 @@ class AlbumListPageTest {
albumPage.navigateToPage();
assertTrue(albumPage.isAt());
}
}
@@ -30,9 +30,7 @@ import org.htmlunit.WebClient;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
/**
* Test Album Page Operations
*/
/** Test Album Page Operations */
class AlbumPageTest {
private final AlbumPage albumPage = new AlbumPage(new WebClient());
@@ -45,16 +43,16 @@ class AlbumPageTest {
@Test
void testSaveAlbum() {
var albumPageAfterChanges = albumPage
.changeAlbumTitle("25")
.changeArtist("Adele Laurie Blue Adkins")
.changeAlbumYear(2015)
.changeAlbumRating("B")
.changeNumberOfSongs(20)
.saveChanges();
var albumPageAfterChanges =
albumPage
.changeAlbumTitle("25")
.changeArtist("Adele Laurie Blue Adkins")
.changeAlbumYear(2015)
.changeAlbumRating("B")
.changeNumberOfSongs(20)
.saveChanges();
assertTrue(albumPageAfterChanges.isAt());
}
@Test
@@ -63,5 +61,4 @@ class AlbumPageTest {
albumListPage.navigateToPage();
assertTrue(albumListPage.isAt());
}
}
@@ -30,9 +30,7 @@ import org.htmlunit.WebClient;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
/**
* Test Login Page Object
*/
/** Test Login Page Object */
class LoginPageTest {
private final LoginPage loginPage = new LoginPage(new WebClient());
@@ -44,12 +42,8 @@ class LoginPageTest {
@Test
void testLogin() {
var albumListPage = loginPage
.enterUsername("admin")
.enterPassword("password")
.login();
var albumListPage = loginPage.enterUsername("admin").enterPassword("password").login();
albumListPage.navigateToPage();
assertTrue(albumListPage.isAt());
}
}