Code reformat
This commit is contained in:
parent
06c16d1eb0
commit
618c69690d
@ -1,22 +1,8 @@
|
|||||||
package com.baeldung.junit5vsjunit4assertions;
|
package com.baeldung.junit5vsjunit4assertions;
|
||||||
|
|
||||||
import static java.time.Duration.ofSeconds;
|
import org.junit.jupiter.api.Disabled;
|
||||||
import static java.util.Arrays.asList;
|
import org.junit.jupiter.api.DisplayName;
|
||||||
import static org.junit.jupiter.api.Assertions.assertAll;
|
import org.junit.jupiter.api.Test;
|
||||||
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertIterableEquals;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertLinesMatch;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertNotEquals;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertNull;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertSame;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertTimeout;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertTimeoutPreemptively;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
|
||||||
import static org.junit.jupiter.api.Assertions.fail;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
@ -24,9 +10,9 @@ import java.util.List;
|
|||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import java.util.function.BooleanSupplier;
|
import java.util.function.BooleanSupplier;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Disabled;
|
import static java.time.Duration.ofSeconds;
|
||||||
import org.junit.jupiter.api.DisplayName;
|
import static java.util.Arrays.asList;
|
||||||
import org.junit.jupiter.api.Test;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit test that demonstrate the different assertions available within JUnit 4
|
* Unit test that demonstrate the different assertions available within JUnit 4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user