- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for IsEmpty (0.19 sec)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt
val errors: List<ReportMessage>, val warnings: List<ReportMessage>, val information: List<ReportMessage>, val accepted: List<ReportMessage> ) { val isEmpty: Boolean get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty() fun toText() = StringBuilder("Binary compatibility\n").apply {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Sep 21 16:02:23 GMT 2023 - 2.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
} fun assertHasNoWarning() { assertTrue("Has no warning (${richReport.warnings})", richReport.warnings.isEmpty()) } fun assertHasNoInformation() { assertTrue("Has no information (${richReport.information})", richReport.information.isEmpty()) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Sep 25 13:49:37 GMT 2023 - 16.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root } if (matches.isEmpty()) { throw GradleException("Could not locate any matches for $notation") } matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 11:19:07 GMT 2023 - 5K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
* @param destZip the target zip file * @param srcFiles the mapping of relative path to the file */ private fun zip(destZip: File, srcFiles: List<Pair<String, File>>) { if (srcFiles.isEmpty()) { return } destZip.parentFile.mkdirs() ZipOutputStream(FileOutputStream(destZip), StandardCharsets.UTF_8).use { zipOutput ->
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jul 28 16:19:47 GMT 2023 - 12.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
get() = gradleProperty(MAX_TEST_DISTRIBUTION_LOCAL_EXECUTORS).orNull?.toInt() val Project.flakyTestStrategy: FlakyTestStrategy get() = gradleProperty(FLAKY_TEST).let { if (it.getOrElse("").isEmpty()) { return FlakyTestStrategy.INCLUDE } else { return FlakyTestStrategy.valueOf(it.get().toUpperCaseAsciiOnly()) } }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Jan 01 01:23:31 GMT 2024 - 16.2K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty() } assertFalse(subProjectFolders.isEmpty()) return subProjectFolders } @Test fun allSubprojectsAreListed() { val knownSubprojectDirs = model.subprojects.subprojects.map { File("../", it.path) }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue Jan 02 10:00:06 GMT 2024 - 13.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") }, canRunTogether: (T, T) -> Boolean = { _, _ -> true } ): List<R> { if (list.isEmpty()) { return noElementSplitFunction(expectedBucketNumber) } if (expectedBucketNumber == 1) { return listOf(smallElementAggregateFunction(list)) }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Nov 17 05:17:44 GMT 2022 - 4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/performance-test-extensions.kt
os: Os = Os.LINUX, testJavaVersion: String = os.perfTestJavaVersion.major.toString(), testJavaVendor: String = os.perfTestJavaVendor.toString(), ) = listOf( "$task${if (extraParameters.isEmpty()) "" else " $extraParameters"}", "-PperformanceBaselines=$baselines", "-PtestJavaVersion=$testJavaVersion", "-PtestJavaVendor=$testJavaVendor", "-PautoDownloadAndroidStudio=true",
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Apr 04 07:21:42 GMT 2024 - 3.8K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
include("**/*.pom") include("**/*.xml") include("**/*.module") } override fun asArguments() = if (!localRepo.isEmpty) mapOf("integTest.localRepository" to localRepo.singleFile).asSystemPropertyJvmArguments() else emptyList() @Internal override fun getName() = "libsRepository" }
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Jul 01 22:53:59 GMT 2022 - 8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
private val CtMember.jvmSignature: String get() = when (this) { is CtField -> "$name:$signature" is CtConstructor -> if (parameterTypes.isEmpty()) "$name$signature" else "<init>$signature" is CtMethod -> "$name$signature" else -> throw IllegalArgumentException("Unsupported javassist member type '${this::class}'") }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 07 08:20:38 GMT 2023 - 4.6K bytes - Viewed (0)