- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 508 for someString (0.27 sec)
-
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
buildFile << """ task test(type: TaskWithNestedObjectProperty) { input = "someString" bean = new NestedProperty( inputDir: file('input'), input: 'someString', outputDir: file("\$buildDir/output"), nestedBean: new AnotherNestedProperty(inputFile: file('inputFile'))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 21 19:38:50 UTC 2022 - 16.8K bytes - Viewed (0) -
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) -
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) -
src/internal/coverage/defs.go
// <offset to pkg 0> // <offset to pkg 1> // ... // --package lengths table------ // <length of pkg 0> // <length of pkg 1> // ... // --string table------ // <uleb128 len> 8 // <data> "somestring" // ... // --package payloads------ // <meta-symbol for pkg 0> // <meta-symbol for pkg 1> // ... // // Each package payload is a stand-alone blob emitted by the compiler,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/vet/testdata/print/print.go
Printf("%[0]d x", 1) // ERROR "Printf format has invalid argument index \[0\]" // Something that satisfies the error interface. var e error fmt.Println(e.Error()) // ok // Something that looks like an error interface but isn't, such as the (*T).Error method // in the testing package. var et1 *testing.T et1.Error() // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 27.5K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskExecutionIntegrationTest.groovy
doLast { println 'do something' } } """ expect: 2.times { succeeds(":other-build:doSomething") outputContains("do something") } 2.times { succeeds("other-build:doSomething") outputContains("do something") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 12.8K bytes - Viewed (0) -
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) -
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) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy
sourceFile << """ #define SOME_STRING """ then: macros == [unresolvedMacro('SOME_STRING')] macroFunctions.empty } def "finds object-like macro directive with empty body"() { when: sourceFile << """ #define SOME_STRING // ignore """ then: macros == [unresolvedMacro('SOME_STRING')] macroFunctions.empty }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 34.3K bytes - Viewed (0)