Update dependencies

This commit is contained in:
2026-01-06 23:48:37 -05:00
parent d7c2591dab
commit b869f6bc28
77 changed files with 744 additions and 442 deletions

View File

@@ -13,14 +13,14 @@ import org.mockito.InjectMocks;
import org.mockito.junit.jupiter.MockitoExtension;
import org.springframework.test.util.ReflectionTestUtils;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.mattrixwv.cipherstream.exception.InvalidCipherParameterException;
import com.mattrixwv.cipherstream.utils.CipherInfoUtil;
import com.mattrixwv.cipherstream.utils.CipherParameterUtil;
import tools.jackson.databind.JsonNode;
import tools.jackson.databind.ObjectMapper;
import tools.jackson.databind.node.ObjectNode;
@Tag("unit-test")
@ExtendWith(MockitoExtension.class)
@@ -60,7 +60,7 @@ public class HillCipherControllerTest{
}
@Test
public void testEncodeHill() throws JsonProcessingException{
public void testEncodeHill(){
ObjectNode cipherParams = generateParams(HILL_INPUT_STRING);
@@ -68,7 +68,7 @@ public class HillCipherControllerTest{
assertEquals(cipherParams, returnedJson);
assertEquals(HILL_OUTPUT_STRING, returnedJson.get(CipherParameterUtil.OUTPUT_STRING).asText());
assertEquals(HILL_OUTPUT_STRING, returnedJson.get(CipherParameterUtil.OUTPUT_STRING).asString());
}
@Test
@@ -79,7 +79,7 @@ public class HillCipherControllerTest{
}
@Test
public void testDecodeHill() throws JsonProcessingException{
public void testDecodeHill(){
ObjectNode cipherParams = generateParams(HILL_OUTPUT_STRING);
@@ -87,7 +87,7 @@ public class HillCipherControllerTest{
assertEquals(cipherParams, returnedJson);
assertEquals(HILL_INPUT_STRING, returnedJson.get(CipherParameterUtil.OUTPUT_STRING).asText());
assertEquals(HILL_INPUT_STRING, returnedJson.get(CipherParameterUtil.OUTPUT_STRING).asString());
}
@Test