Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 341 for someString (0.17 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy

            file("src/main/java/com/example/Example.java") << """
    package com.example;
    
    import org.apache.commons.lang3.StringUtils;
    
    public class Example {
        public boolean testIsEmpty(String someString) {
            return StringUtils.isEmpty(someString);
        }
    }
    """
    
            when:
            runner("jar")
                .forwardOutput()
                .build()
    
            then: "version numbers exist in the manifest"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/syscall/js/js_test.go

    func TestString(t *testing.T) {
    	want := "abc\u1234"
    	o := dummys.Get("someString")
    	if got := o.String(); got != want {
    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	dummys.Set("otherString", want)
    	if got := dummys.Get("otherString").String(); got != want {
    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	if !dummys.Get("someString").Equal(dummys.Get("someString")) {
    		t.Errorf("same value not equal")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

            verifyRoundtripOf({
                SerializableBeanContainingExternalizable().apply {
                    someString = "foo"
                    childBean = ExternalizableBean(42)
                    someInt = 13
                }
            }) {
                assertThat(it.someString, equalTo("foo"))
                assertThat(
                    it.childBean?.value,
                    equalTo(42)
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

                    description = "Prints the message 'do something'"
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            executeTaskViaTAPI(":other-build:tasks", "--all")
    
            then:
            assertHasBuildSuccessfulLogging()
            outputContains("doSomething - Prints the message 'do something'")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerInServiceRegistryTest.groovy

            then:
            0 * _
    
            when:
            listenerManager.getBroadcaster(TestListener).something("12")
    
            then:
            1 * created.run()
            0 * _
    
            when:
            listenerManager.getBroadcaster(NotStatefulListener).something("12")
    
            then:
            1 * service.something("12")
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

        val handshake = makeRequest(client)
    
        assertThat(handshake.cipherSuite).isIn(*expectedModernTls12CipherSuites.toTypedArray())
    
        // Probably something like
        // TLS_AES_128_GCM_SHA256
        // TLS_AES_256_GCM_SHA384
        // TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
        // TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        // TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/node.yaml

        topology.kubernetes.io/region: us-central1
        topology.kubernetes.io/zone: us-central1-b
        kubernetes.io/hostname: node-default-pool-something
      name: node-default-pool-something
      resourceVersion: "211582541"
      selfLink: /api/v1/nodes/node-default-pool-something
      uid: 0c24d0e1-a265-11e9-abe4-42010a80026b
    spec:
      podCIDR: 10.0.0.1/24
      providerID: some-provider-id-of-some-sort
    status:
      addresses:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top