- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 63 for collectEntries (0.38 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/NamedDomainObjectCollectionSchemaIntegrationTest.groovy
class NamedDomainObjectCollectionSchemaIntegrationTest extends AbstractIntegrationSpec { def setup() { buildFile """ def extractSchema(container) { return container.collectionSchema.elements.collectEntries { e -> [ e.name, e.publicType.simpleName ] }.sort() } def assertSchemaIs(Map expected, NamedDomainObjectCollection container) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValitdatePluginsTrait.groovy
fails "validatePlugins" def report = new TaskValidationReportFixture(file("build/reports/plugin-development/validation-report.json")) report.verify(messages.collectEntries { def fullMessage = it.message if (!it.defaultDocLink) { fullMessage = "${fullMessage}\n${learnAt(it.id, it.section)}" } [(fullMessage): it.severity]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 14:30:05 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageParallelIntegrationTest.groovy
""" } when: run(*apps.keySet().collect { "install${it.capitalize()}MainExecutable" }) then: Map<NativeInstallationFixture, HelloWorldApp> installations = apps.collectEntries { name, app -> def installation = installation("build/install/${name}Main") [installation, app] } installations.every { installation, app ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpComponentFixture.groovy
List<WbModule> getModules() { return component."wb-module"."dependent-module".collect { new WbModule(it) } } Map<String, String> getModuleProperties() { return component."wb-module".property.collectEntries { [(it.@name) : it.@value] } } WbModule lib(String jarName) { def module = modules.find { def handle = it.node.@handle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleContainerExecuter.groovy
} result } @CompileDynamic private OutputScrapingExecutionResult executeInContainer() { def invocation = buildInvocation() container.withEnv(invocation.environmentVars.collectEntries { k, v -> [k, v]}) def containerResult = container.execute(["/gradle-under-test/bin/gradle", *invocation.args] as String[]) def result if (containerResult.exitCode == 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/JvmBlockingTestClassGenerator.groovy
} } """.stripIndent() resource } } Map<String, String> withFailingTests(int num) { (1..num).collectEntries() { final testName = "OtherTest_${it}" as String final resource = "test_${it}" as String root.file("src/test/java/OtherTest_${it}.java") << """ $testFrameworkImports
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/scripts/process-log.groovy
} excludeFile << JsonOutput.prettyPrint(content) } } private sortDeep(entry) { if (entry instanceof Map) { entry.collectEntries { [(it.key), sortDeep(it.value)] }.sort() } else if (entry instanceof Iterable) { entry.collect { sortDeep(it) }.sort() } else { entry }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/AbstractTarBuildCacheEntryPackerSpec.groovy
abstract protected Deleter createDeleter() def pack(OutputStream output, OriginWriter writeOrigin = this.writeOrigin, TreeDefinition... treeDefs) { Map<String, FileSystemSnapshot> snapshots = treeDefs.collectEntries { treeDef -> FileSystemSnapshot result = FileSystemSnapshot.EMPTY if (treeDef.root != null) { result = fileSystemAccess.read(treeDef.root.absolutePath) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/ide/visualstudio/fixtures/SolutionFile.groovy
return true } def assertReferencesProject(ProjectFile expectedProject, Collection<String> configurations) { assertReferencesProject(expectedProject, configurations.collectEntries {[(it):it]}) } def assertReferencesProject(ProjectFile expectedProject, Map<String, String> configurations) { assertReferencesProject(expectedProject.name, expectedProject, configurations) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r60/KotlinDslScriptsModelCrossVersionSpec.groovy
} Map<File, KotlinDslScriptModel> singleRequestModels = model.scriptModels and: Map<File, KotlinBuildScriptModel> multiRequestsModels = spec.scripts.values().collectEntries { [(it): kotlinBuildScriptModelFor(projectDir, it)] } then: spec.scripts.values().each { script ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 16 19:10:39 UTC 2023 - 3.7K bytes - Viewed (0)