- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 61 for expectActions (0.26 sec)
-
src/cmd/vet/vet_test.go
// argument to errorCheck as it does double duty as both a // string that appears in the output, and as file name // openable relative to the test directory, containing text // expectations. // // So, we munge the file. stderr = strings.ReplaceAll(stderr, filepath.FromSlash("./rangeloop.go"), filename) if err := errorCheck(stderr, false, filename, filepath.Base(filename)); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
pilot/pkg/networking/core/listenertest/match.go
type ListenersTest struct { // Match listener by name Name string // Match listener by port Port uint32 // Listener assertions Listener ListenerTest } // ListenerTest provides a struct for defining expectations for a listener type ListenerTest struct { // Assert the listener contains these filter chains (in order, if TotalMatch) FilterChains []FilterChainTest
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 6.4K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
var podUID string = string(pod.ObjectMeta.UID) ipProto := uint8(unix.IPPROTO_TCP) ctx, cancel := context.WithCancel(context.Background()) fixture := getTestFixure(ctx) defer cancel() setupLogging() // expectations fixture.ipsetDeps.On("addIP", "foo-v4", netip.MustParseAddr("3.3.3.3"), ipProto, podUID, false, ).Return(nil) fixture.ipsetDeps.On("addIP", "foo-v4",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 17.8K bytes - Viewed (0) -
tensorflow/compiler/jit/node_matchers_test.cc
// TODO(griffithjames): Exactly match these explanations. // // When the OSS build has been updated to include the new error messages, the // Explain() expectations can be exact strings again. { const std::string explanation = Explain(placeholder_c.node(), NodeWith(CtrlDeps())); EXPECT_NE(explanation.find("ctrl_deps, which has 2 elements"),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 14:43:57 UTC 2024 - 9.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy
request2.release() } server.stop() then: instant.aDone > instant.aBlocked instant.bDone > instant.bBlocked } def "can chain expectations"() { given: server.expectConcurrent("a", "b") server.expect("c") def handle = server.expectConcurrentAndBlock(2, "d", "e") server.expect("f") server.start()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 46.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
private final static Logger logger = LoggerFactory.getLogger(HttpServer.class) protected Matcher expectedUserAgent = null List<ServerExpectation> expectations = [] boolean chunkedTransfer = false org.gradle.api.Action<HttpServletRequest> beforeHandle org.gradle.api.Action<HttpServletRequest> afterHandle enum SupportedHash {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy
when: fails ':checkDeps' then: errorOutput.contains("Plugin [id: 'org.gradle.repo-conventions'] was not found in any of the following sources") // real expectations below /* when: repositoryInteractions { 'org:from-buildsrc:1.0' { expectResolve() } 'org:from-main-build:1.0' {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:56:27 UTC 2024 - 25.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go
In a few lines of code, it is possible to run an analyzer on a package of testdata files and check that it reported all the expected diagnostics and facts (and no more). Expectations are expressed using "// want ..." comments in the input code. # Standalone commands Analyzers are provided in the form of packages that a driver program is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/registry/batch/job/strategy.go
// Job managedBy field let's the Job object be controlled by external // controllers. We want to make sure the transitions done by the external // controllers meet the expectations of the clients of the Job API. // For example, we verify that a Job in terminal state (Failed or Complete) // does not flip to a non-terminal state. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
schemaGenerator func(maxLength *int64) *schema.Structural setMaxElements int64 // calc costs expectations are checked against the generated schema without any max element limits set expectedCalcCost uint64 expectCalcCostExceedsLimit uint64 // calc costs expectations are checked against the generated schema with max element limits set expectedSetCost uint64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0)