- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for testhook (0.47 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher_test.go
} for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { m := NewMatcher(&fakeCelFilter{ evaluations: tc.evaluations, throwError: tc.throwError, }, tc.failPolicy, "webhook", "test", "testhook") ctx := context.TODO() matchResult := m.Match(ctx, fakeVersionedAttr, nil, nil) if matchResult.Error != nil { if len(tc.expectError) == 0 { t.Fatal(matchResult.Error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 00:53:08 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/WorkItemProgressEventCrossVersionSpec.groovy
.run() } } def prepareTaskTypeUsingWorker() { def gradle3Submit = 'workerExecutor.submit(TestWork) { c -> c.displayName = "org.gradle.test.TestWork" }' def submit = 'workerExecutor.noIsolation().submit(TestWork) { }' buildFile << """ import javax.inject.Inject import org.gradle.workers.*
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6K bytes - Viewed (0) -
src/testing/match_test.go
// Skipping a non-existent test doesn't change anything. {"", "TestFoo/skipped", "", "TestFoo", true, false}, {"TestFoo", "TestFoo/skipped", "", "TestFoo", true, false}, {"TestFoo/", "TestFoo/skipped", "", "TestFoo", true, true}, {"TestFoo/bar/baz", "TestFoo/skipped", "", "TestFoo", true, true}, {"TestFoo", "TestFoo/skipped", "", "TestBar", false, false}, {"TestFoo/", "TestFoo/skipped", "", "TestBar", false, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 14:48:54 UTC 2022 - 8K bytes - Viewed (0) -
pkg/test/framework/resource/matcher_test.go
matches: []string{"TestFoo/with_space"}, }, { name: "regex", input: []string{"Foo/.*/Baz"}, matches: []string{"TestFoo/something/TestBaz"}, nomatches: []string{"TestFoo", "TestFoo/TestBaz", "TestFoo/something/TestBar"}, }, { name: "multiple", input: []string{"TestFoo/subset", "TestBar"}, matches: []string{"TestBar", "TestBar/subtest", "TestFoo/subset"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 12 23:30:37 UTC 2021 - 2.3K bytes - Viewed (0) -
pkg/cmd/flag_test.go
func TestInitializeBoolFlag(t *testing.T) { cmd := &cobra.Command{} var testBool bool flag.BoolVar(&testBool, "testbool", defaultBool, "test bool flag") AddFlags(cmd) testName := "Initialize bool Flag" if !flag.Parsed() { t.Errorf("%s: flag.Parsed() returns false, should be true", testName) } cmd.Flags().VisitAll(func(f *pflag.Flag) { if f.Name != "testbool" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 3.4K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm_arm64_test.s
TEXT ·testvmovq(SB), NOSPLIT, $0-16 VMOVQ $0x7040201008040201, $0x3040201008040201, V1 VMOV V1.D[0], R0 VMOV V1.D[1], R1 MOVD R0, r1+0(FP) MOVD R1, r2+8(FP) RET // testmovk() uint64 TEXT ·testmovk(SB), NOSPLIT, $0-8 MOVD $0, R0 MOVK $(40000<<48), R0 MOVD R0, ret+0(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:46:11 UTC 2023 - 892 bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/swift/testReport/kotlin/core/src/test/swift/CoreTest.swift
import XCTest class CoreTest: XCTestCase { public static var allTests = [ ("testOk", testOk) ] func testOk() { print("hello from CoreTest.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 179 bytes - Viewed (0) -
src/cmd/go/testdata/script/import_main.txt
package main_test import ( "testing" xmain "x" ) var _ = xmain.X func TestFoo(t *testing.T) {} -- p1/p.go -- package p1 import xmain "x" var _ = xmain.X -- p2/p.go -- package p2 -- p2/p_test.go -- package p2 import ( "testing" xmain "x" ) var _ = xmain.X func TestFoo(t *testing.T) {} -- p3/p.go -- package p -- p3/p_test.go -- package p_test import (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 18 21:48:16 UTC 2019 - 1.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/global/main.go
// license that can be found in the LICENSE file. package main import ( "testshared/globallib" ) //go:noinline func testLoop() { for i, s := range globallib.Data { if s != int64(i) { panic("testLoop: mismatch") } } } //go:noinline func ptrData() *[1<<20 + 10]int64 { return &globallib.Data } //go:noinline func testMediumOffset() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.4K bytes - Viewed (0)