Add an IT for publication of multiplatform resources in Android target

^KT-65540
This commit is contained in:
Timofey Solonin
2024-02-15 19:05:01 +01:00
committed by Space Team
parent a2989a3711
commit bba39dd4fe
38 changed files with 492 additions and 48 deletions
@@ -46,6 +46,18 @@ import java.util.zip.GZIPInputStream
// Set this to true if you want to dump all bytecode (test will fail in this case)
private val DUMP_ALL = System.getProperty("comparison.dump.all") == "true"
fun assertEqualDirectoriesIgnoringDotFiles(
expected: File,
actual: File,
forgiveOtherExtraFiles: Boolean,
) = assertEqualDirectories(
expected,
actual,
forgiveExtraFiles = forgiveOtherExtraFiles,
// e.g. ignore .DS_Store on macOS
filter = { !it.name.startsWith(".") },
)
fun assertEqualDirectories(
expected: File,
actual: File,