Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 131 for VALUE1 (0.1 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            def artifact2 = Stub(PublishArtifact)
    
            given:
            publications.artifacts.add(artifact1)
            publications.attributes.attribute(Attribute.of("thing", String), "value1")
            def variantDef = publications.variants.create("child")
            variantDef.attributes.attribute(Attribute.of("thing", String), "value2")
            variantDef.artifacts.add(artifact2)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            file("build.gradle") << '''
    application.applicationDefaultJvmArgs = ['-Dvar1=value1', '-Dvar2=some value2']
    '''
            file('src/main/java/org/gradle/test/Main.java') << '''
    package org.gradle.test;
    
    class Main {
        public static void main(String[] args) {
            if (!"value1".equals(System.getProperty("var1"))) {
                throw new RuntimeException("Expected system property not specified");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        waitUntilClosed(closingFuture);
        assertClosed(closeable1);
      }
    
      public void testWhenAllComplete_call() throws Exception {
        final ClosingFuture<String> input1 = ClosingFuture.from(immediateFuture("value1"));
        final ClosingFuture<Object> input2Failed = failedClosingFuture();
        final ClosingFuture<String> nonInput = ClosingFuture.from(immediateFuture("value3"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    				ObjectSelector:          &metav1.LabelSelector{},
    				AdmissionReviewVersions: []string{"v1beta1"},
    			}},
    			ExpectAllow:       true,
    			ExpectAnnotations: map[string]string{"allow.example.com/key1": "value1"},
    		},
    		{
    			Name: "match & disallow",
    			Webhooks: []registrationv1.ValidatingWebhook{{
    				Name:                    "disallow",
    				ClientConfig:            ccfgSVC("disallow"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  5. 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)
  6. security/tools/jwt/samples/gen-jwt.py

                            help="sub claim. If not provided, it is set to the same as iss claim.")
        parser.add_argument("-claims", "--claims",
                            help="Other claims in format name1:value1,name2:value2 etc. Only string values are supported.")
        parser.add_argument("-jwks", "--jwks",
                            help="Path to the output file for JWKS.")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. README.md

        "contentIndexName",
        "contentTypeName");
    suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
    ```
    
    ### Add suggest document from queryLog
    
    ```java
    QueryLog queryLog = new QueryLog("field1:value1", null);
    suggester.indexer().indexFromQueryLog(queryLog);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy

            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']
        }
    
        def "can configure manifest with an Action"() {
    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

                   classpath {
                       file {
                           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'
                           }
                       }
                   }
               }
            """
    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. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

                }
            """
    
            when:
            run 'myTask', "-Pmy=value1"
            then:
            executedAndNotSkipped(":myTask")
            file("build/myTask.txt").text == "value1-prop"
    
            when:
            run 'myTask', "-Pmy=value1"
            then:
            skipped(":myTask")
            file("build/myTask.txt").text == "value1-prop"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top