Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for key2 (0.22 sec)

  1. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestMergeSpecTest.groovy

            then:
            mergedManifest.attributes == baseMap + otherMap + fileMap
            mergedManifest.attributes.keySet() as List == ['Manifest-Version', 'key1', 'key2', 'key3', 'key4', 'key5', 'key6']
            mergedManifest.sections.section == baseSectionMap + otherSectionMap + fileSectionMap
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AbstractAccessTrackingMapTest.groovy

            then:
            result == expectedResult
            1 * onAccess.accept(key1, reportedValue1)
            1 * onAccess.accept(key2, reportedValue2)
            0 * onAccess._
    
            where:
            key1       | reportedValue1  | key2           | reportedValue2 | expectedResult
            'existing' | 'existingValue' | 'other'        | 'otherValue'   | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/JavadocOptionFileWriterTest.groovy

            tempFile.text == toPlatformLineSeparators("""-key1 'value1'
    -key2 'value2'
    -key3 'value3'
    """)
            when:
            optionsMap.put("locale", new StringJavadocOptionFileOption("locale", "alocale"));
            and:
            javadocOptionFileWriter.write(tempFile)
            then:
            tempFile.text == toPlatformLineSeparators("""-locale 'alocale'
    -key1 'value1'
    -key2 'value2'
    -key3 'value3'
    """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultProcessForkOptionsTest.groovy

            when:
            options.environment = [key1: 12, key2: "${1+2}", key3: null]
    
            then:
            options.actualEnvironment == [key1: '12', key2: '3', key3: 'null']
        }
    
        def canAddEnvironmentVariables() {
            when:
            options.environment = [:]
    
            then:
            options.environment == [:]
    
            when:
            options.environment('key', 12)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/data/MavenDependencyKeyTest.groovy

            expect:
            MavenDependencyKey key1 = new MavenDependencyKey('group-one', 'artifact-one', 'jar', 'sources')
            MavenDependencyKey key2 = new MavenDependencyKey(groupId, artifactId, type, classifier)
            strictlyEquals(key1, key2) == equality
            (key1.hashCode() == key2.hashCode()) == hashCode
            (key1.toString() == key2.toString()) == stringRepresentation
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/WeakIdentityHashMapTest.groovy

        def "map preserves entries until keys in use"() {
            WeakIdentityHashMap<Thing, String> map = new WeakIdentityHashMap<>()
    
            Thing key1 = new Thing("Key1")
            Thing key2 = new Thing("Key2")
    
    
            when:
            map.put(key1, "Foo")
            map.put(key2, "Bar")
    
            then:
            map.keySet().every { it.get() != null }
    
            when:
            key1 = null
            key2 = null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. 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)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. 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)
Back to top