Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 508 for someString (0.17 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    * What went wrong:
    something bad
    > cause 1
    
    * Try:
    something
    
    Failure 2:
    
    * What went wrong:
    something else bad
    > cause 2
    
    * Try:
    something
    
    """
            when:
            def failure = OutputScrapingExecutionFailure.from(output, "")
    
            then:
            failure.assertHasCause("cause 1")
            failure.assertHasCause("cause 2")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DependencyHandlerExtensionsTest.kt

            val dependencies = DependencyHandlerScope.of(dependencyHandler)
            dependencies {
                configuration("some:thing:1.0")
                (constraints) {
                    configuration("other:thing:1.0")
                }
            }
    
            verify(dependencyHandler).add("c", "some:thing:1.0")
            inOrder(constraintHandler) {
                verify(constraintHandler).add(eq("c"), eq("other:thing:1.0"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 06:41:25 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            'exact match'                                    | [key: 'something']              | 'foo'
            'exact match'                                    | [key: 'something else']         | 'bar'
            'partial match on key but attribute is optional' | [key: 'something', extra: 'no'] | 'foo'
        }
    
        def "revalidates default configuration if it has attributes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  4. pkg/apis/certificates/v1beta1/defaults_test.go

    			req:    newCSR(kubeletServerPEMOptions, pemOptions{uris: []string{"http://something"}}),
    			usages: kubeletServerUsages,
    			exp:    false,
    		},
    		"does not default to kubelet-serving if it specifies an emailAddress SAN": {
    			req:    newCSR(kubeletServerPEMOptions, pemOptions{emailAddresses: []string{"something"}}),
    			usages: kubeletServerUsages,
    			exp:    false,
    		},
    	}
    	for name, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  5. src/encoding/gob/gobencdec_test.go

    // Structs that include GobEncodable fields.
    
    type GobTest0 struct {
    	X int // guarantee we have  something in common with GobTest*
    	G *ByteStruct
    }
    
    type GobTest1 struct {
    	X int // guarantee we have  something in common with GobTest*
    	G *StringStruct
    }
    
    type GobTest2 struct {
    	X int    // guarantee we have  something in common with GobTest*
    	G string // not a GobEncoder - should give us errors
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  6. pkg/controller/deployment/util/deployment_util_test.go

    			generatePodTemplateSpec("foo", "foo-node", map[string]string{}, map[string]string{apps.DefaultDeploymentUniqueLabelKey: "value-2", "something": "else"}),
    			true,
    		},
    		{
    			"Same spec, the former doesn't have pod-template-hash label",
    			generatePodTemplateSpec("foo", "foo-node", map[string]string{}, map[string]string{"something": "else"}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy

            given:
            def project = project('root', null, Stub(GradleInternal))
            def action = { files -> files.builtBy('something') } as Action<ConfigurableFileCollection>
    
            when:
            def fileCollection = project.files('path', action)
    
            then:
            fileCollection.builtBy == ['something'] as Set
        }
    
        def "can create file tree configured with an Action"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

            new RuntimeException('Something went wrong')                                                                                  | 'Something went wrong'        | 'exception having no parent cause'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/VariantMetadataRules.java

            }
    
            @Override
            public void addAttributesAction(ImmutableAttributesFactory attributesFactory, VariantAction<? super AttributeContainer> action) {
                throw new UnsupportedOperationException("You are probably trying to add a variant attribute to something that wasn't supposed to be mutable");
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/DefaultTypeConverterTest.groovy

      - Any Number
      - A Boolean
      - A File""")
        }
    
        enum Thing {
            SOME_THING, SOME_OTHER_THING
        }
    
        def "converts CharSequence to Enum"() {
            expect:
            converter.convert("SOME_THING", Thing.class, false) == Thing.SOME_THING
            converter.convert("${Thing.SOME_OTHER_THING.name()}", Thing.class, false) == Thing.SOME_OTHER_THING
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 13.3K bytes
    - Viewed (0)
Back to top