- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for expectation (0.34 sec)
-
pkg/proxy/util/nodeport_addresses_test.go
} return nil } func TestGetNodeIPs(t *testing.T) { type expectation struct { matchAll bool ips sets.Set[string] } testCases := []struct { name string cidrs []string itfAddrsPairs []InterfaceAddrsPair expected map[v1.IPFamily]expectation }{ { name: "IPv4 single", cidrs: []string{"10.20.30.0/24"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13.7K bytes - Viewed (0) -
security/pkg/nodeagent/sds/sdsservice_test.go
} func (s *TestServer) Verify(resp *discovery.DiscoveryResponse, expectations ...Expectation) *discovery.DiscoveryResponse { s.t.Helper() if len(resp.Resources) != len(expectations) { s.t.Fatalf("expected %d resources, got %d", len(expectations), len(resp.Resources)) } got := xdstest.ExtractTLSSecrets(s.t, resp.Resources) for _, e := range expectations { scrt := got[e.ResourceName] var expectationKey []byte
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 17 20:12:58 UTC 2024 - 11.6K bytes - Viewed (0) -
pkg/controller/util/selectors/bimultimap_test.go
} } } type expectation func(*BiMultimap) error func forwardSelect(key Key, want ...Key) expectation { return func(m *BiMultimap) error { got, _ := m.Select(key) if !unorderedEqual(want, got) { return fmt.Errorf("forward select %v wanted %v. got %v.", key, want, got) } return nil } } func reverseSelect(key Key, want ...Key) expectation { return func(m *BiMultimap) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 13 01:56:36 UTC 2022 - 16.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/fixtures/publish/ModuleVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.4K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 16.7K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 22.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
} private HttpResourceInteraction addOneRequestExpecation(String path, boolean matchPrefix, Collection<String> methods, Action action, OneRequestServerExpectation expectation) { expectations << expectation add(path, matchPrefix, methods, new AbstractHandler() { @Override
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/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy
modelsCreated(new ModelRequestExpectation(path, modelNames)) } void modelsCreated(ModelRequestExpectation expectation) { projectsConfigured(expectation.path) runsTasks = false loadsOnStore = false models.add(expectation) } void modelsQueriedAndNotPresent(String... paths) { for (path in paths) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 17.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
List<ResourceExpectation> expectations = new ArrayList<>(); for (ExpectedRequest call : expectedCalls) { expectations.add((ResourceExpectation) call); } addNonBlockingHandler(expectations); } private void addNonBlockingHandler(final Collection<? extends ResourceExpectation> expectations) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
RoundingMode mode = entry.getKey(); Double expectation = entry.getValue(); assertWithMessage("roundToDouble(" + input + ", " + mode + ")") .that(BigDecimalMath.roundToDouble(input, mode)) .isEqualTo(expectation); } if (!expectedValues.containsKey(UNNECESSARY)) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 10.6K bytes - Viewed (0)