- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 91 for key2 (0.04 sec)
-
platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy
given: project.file('file') << "key2: value2" def manifest = convention.manifest { from 'file' attributes(key1: 'value1') } when: def mergedManifest = manifest.effectiveManifest then: manifest instanceof DefaultManifest mergedManifest.attributes as Map == [key1: 'value1', key2: 'value2', 'Manifest-Version': '1.0'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 20:25:05 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 4.3K bytes - Viewed (0) -
subprojects/core/src/test/resources/org/gradle/api/internal/catalog/parser/invalid16.toml
# missing key values [plugins] key=
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 31 07:18:45 UTC 2023 - 42 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt
} } @Test fun `can handle Hashtable`() { val hashtable = Hashtable<String, Any>(100) hashtable.put("key1", "value1") hashtable.put("key2", true) hashtable.put("key3", 42) configurationCacheRoundtripOf(hashtable).run { assertThat(hashtable, equalTo(this)) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/BTreeIndexedCacheTest.java
@Test public void handlesKeysWithSameHashCode() { createCache(); String key1 = new String(new byte[]{2, 31}); String key2 = new String(new byte[]{1, 62}); cache.put(key1, 1); cache.put(key2, 2); assertThat(cache.get(key1), equalTo(1)); assertThat(cache.get(key2), equalTo(2)); cache.close(); } private void checkAdds(Integer... values) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 14.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/groovy/groovy/build.gradle
List<String> list = new ArrayList<String>() list.add('org/gradle/api/**') list.add('org/gradle/internal/**') test.includes = list // Map literal. Map<String, String> map = [key1:'value1', key2: 'value2'] // Groovy will coerce named arguments // into a single map argument apply plugin: 'java' // end::listAndMapLiterals[] // tag::closureAsLastParam[] repositories { println "in a closure"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy
options.systemProperties = [key: 12, key2: "value", key3: null] then: options.systemProperties == [key: 12, key2: "value", key3: null] } def "can add system properties"() { when: options.systemProperties(key: 12) options.systemProperty('key2', 'value2') then: options.systemProperties == [key: 12, key2: 'value2'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 25.5K bytes - Viewed (0) -
platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy
def result = getMapUnderTestToRead().stringPropertyNames().containsAll(Arrays.asList(key1, key2)) then: result == expectedResult 1 * onAccess.accept(key1, reportedValue1) 1 * onAccess.accept(key2, reportedValue2) 0 * onAccess._ where: key1 | reportedValue1 | key2 | reportedValue2 | expectedResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 23.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/InMemoryDecoratedCacheTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 5.1K bytes - Viewed (0)