Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LeftoverFiles (0.07 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import java.util.zip.ZipOutputStream
    import javax.inject.Inject
    import kotlin.collections.component1
    import kotlin.collections.component2
    import kotlin.collections.set
    import kotlin.streams.toList
    
    
    typealias LeftoverFiles = Map<File, List<String>>
    
    
    abstract class TestFilesCleanupService @Inject constructor(
        private val fileSystemOperations: FileSystemOperations
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                assertTrue(rootDirFiles.any { it.name == fileName })
            }
        }
    
        private
        fun assertLeftoverFilesCleanedUpEventually(vararg leftoverFiles: String) {
            leftoverFiles.forEach {
                assertTrue(projectDir.resolve(it).walk().filter { it.isFile }.toList().isEmpty())
            }
        }
    
        @Test
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top