- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 7,815 for expect2 (0.17 sec)
-
pkg/kubelet/config/file_linux_test.go
t.Fatalf("expected %#v, Got %#v", expected, update) } case <-time.After(wait.ForeverTestTimeout): t.Fatalf("expected update, timeout instead") } } func TestReadPodsFromFileExistAlready(t *testing.T) { hostname := types.NodeName("random-test-hostname") var testCases = getTestCases(hostname) for _, testCase := range testCases { func() { dirName, err := mkTempDir("file-test") if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 12.3K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MaximumHeapHelperTest.groovy
import spock.lang.Specification class MaximumHeapHelperTest extends Specification { def "default max heap on IBM #testCase is #expected"() { expect: maximumHeapHelper.getDefaultMaximumHeapSize(osTotalMemory.bytes) == expected.bytes where: osTotalMemory | expected MemoryAmount.of('2g') | MemoryAmount.of('512m') MemoryAmount.of('1g') | MemoryAmount.of('512m')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/BooleanQuestionPromptEventTest.groovy
expect: event.prompt == "question? (default: yes) [yes, no] " // trailing space } def "accepts valid input"() { def event = new BooleanQuestionPromptEvent(123, "question?", true) expect: def result = event.convert(input) result.response == expected result.newPrompt == null where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
fn func() error filter, expect string }{ {call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"}, {call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"}, {call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 28 21:31:41 UTC 2023 - 7.5K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
signedHeaders := []string{"host", "x-amz-content-sha256", "x-amz-date", "transfer-encoding"} // If the `expect` key exists in the signed headers then golang server would have stripped out the value, expecting the `expect` header set to `100-continue` in the result. signedHeaders = append(signedHeaders, "expect") // expected header values. expectedHost := "play.min.io:9000" expectedContentSha256 := "1234abcd"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainIntegrationTest.groovy
executer.requireDaemon() } def "Given daemon toolchain version When executing any task Then daemon jvm was set up with expected configuration"() { given: writeJvmCriteria(Jvm.current()) captureJavaHome() expect: succeeds("help") assertDaemonUsedJvm(Jvm.current()) outputContains("Daemon JVM discovery is an incubating feature.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashCodeTest.groovy
} def "#a <=> #b: #expected"() { def hashA = HashCode.fromString(a) def hashB = HashCode.fromString(b) def compareAB = hashA <=> hashB def compareBA = hashB <=> hashA expect: Math.signum(compareAB) == expected Math.signum(compareBA) == -expected where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 8.2K bytes - Viewed (0) -
pkg/volume/util/storageclass_test.go
} lister := informerFactory.Storage().V1().StorageClasses().Lister() actual, err := GetDefaultClass(lister) if err != nil { t.Errorf("Expected no error, got %v", err) return } if tc.expect != actual { t.Errorf("Expected %v, got %v", tc.expect, actual) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 18 14:18:11 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/build-configuration/src/integTest/groovy/org/gradle/interal/buildconfiguration/tasks/UpdateDaemonJvmIntegrationTest.groovy
// Captures current, but maybe not desired behavior expect: succeeds( "updateDaemonJvm", "--jvm-version=10000") } @NotYetImplemented def "When execute updateDaemonJvm for valid vendor option Then build properties are populated with expected values"() { when: run "updateDaemonJvm", "--toolchain-vendor=$vendor" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/filters_test.go
k := instanceKey(i) if _, ok := expected[k]; !ok { unexpected[k] = struct{}{} } } for _, i := range got { k := instanceKey(i) // just remove the items rather than looping over expected, if anythings left we missed it delete(expected, k) if _, ok := unexpected[k]; ok { t.Errorf("expected %s to be filtered out", k) } } if len(expected) > 0 { t.Errorf("did not include %v", expected)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 13.1K bytes - Viewed (0)