Deprecate AssertFile

Resolves #4181
This commit is contained in:
Mahmoud Ben Hassine
2022-08-24 14:59:19 +02:00
parent 7e535afb73
commit 4d0ed63dd7
5 changed files with 34 additions and 10 deletions

View File

@@ -28,8 +28,12 @@ import org.springframework.util.Assert;
*
* @author Dan Garrette
* @author Glenn Renfro
* @author Mahmoud Ben Hassine
* @since 2.0
* @deprecated since 5.0 (for removal in 5.2) in favor of test utilities provided by
* modern test libraries like JUnit 5, AssertJ, etc.
*/
@Deprecated(since = "5.0", forRemoval = true)
public abstract class AssertFile {
public static void assertFileEquals(File expected, File actual) throws Exception {