mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-25 17:57:34 +00:00
(FIX) Upgrade all @since versions to 1.18.0 following the
parent pom's version update
This commit is contained in:
@@ -32,13 +32,13 @@ import org.junit.Test;
|
||||
* Unit tests for {@link FindCustomer}.
|
||||
*
|
||||
* @author George Aristy (george.aristy@gmail.com)
|
||||
* @since 1.17.0
|
||||
* @since 1.18.0
|
||||
*/
|
||||
public class FindCustomerTest {
|
||||
/**
|
||||
* Returns the given result with no exceptions.
|
||||
*
|
||||
* @since 1.17.0
|
||||
* @since 1.18.0
|
||||
*/
|
||||
@Test
|
||||
public void noExceptions() throws Exception {
|
||||
@@ -52,7 +52,7 @@ public class FindCustomerTest {
|
||||
* Throws the given exception.
|
||||
*
|
||||
* @throws Exception the expected exception
|
||||
* @since 1.17.0
|
||||
* @since 1.18.0
|
||||
*/
|
||||
@Test(expected = BusinessException.class)
|
||||
public void oneException() throws Exception {
|
||||
@@ -63,7 +63,7 @@ public class FindCustomerTest {
|
||||
* Should first throw the given exceptions, then return the given result.
|
||||
*
|
||||
* @throws Exception not an expected exception
|
||||
* @since 1.17.0
|
||||
* @since 1.18.0
|
||||
*/
|
||||
@Test
|
||||
public void resultAfterExceptions() throws Exception {
|
||||
|
||||
@@ -33,13 +33,13 @@ import static org.junit.Assert.*;
|
||||
* Unit tests for {@link Retry}.
|
||||
*
|
||||
* @author George Aristy (george.aristy@gmail.com)
|
||||
* @since 1.17.0
|
||||
* @since 1.18.0
|
||||
*/
|
||||
public class RetryTest {
|
||||
/**
|
||||
* Should contain all errors thrown.
|
||||
*
|
||||
* @since 1.17.0
|
||||
* @since 1.18.0
|
||||
*/
|
||||
@Test
|
||||
public void errors() throws Exception {
|
||||
@@ -65,7 +65,7 @@ public class RetryTest {
|
||||
* No exceptions will be ignored, hence final number of attempts should be 1 even if we're asking
|
||||
* it to attempt twice.
|
||||
*
|
||||
* @since 1.17.0
|
||||
* @since 1.18.0
|
||||
*/
|
||||
@Test
|
||||
public void attempts() {
|
||||
@@ -91,7 +91,7 @@ public class RetryTest {
|
||||
* Final number of attempts should be equal to the number of attempts asked because we are
|
||||
* asking it to ignore the exception that will be thrown.
|
||||
*
|
||||
* @since 1.17.0
|
||||
* @since 1.18.0
|
||||
*/
|
||||
@Test
|
||||
public void ignore() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user