public class DirectoryContentAssertionUtil extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Asserts that two given directories have the exact content in terms of folders and contents of all files.
public static void assertThatDirectoriesHaveSameContent(@Nonnull Path one, @Nonnull Path other) throws IOException
AbstractPathAssert.hasSameTextualContentAs(Path)to compare two files. In case the textual content does not match, the test fails.
one- The first directory
other- The second directory
IOException- In case file system operations fail
Copyright © 2021 SAP SE. All rights reserved.