Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 108 for expectAction (0.25 sec)

  1. 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)
  2. pkg/security/apparmor/validate.go

    	return retErr
    }
    
    // ValidateHost verifies that the host and runtime is capable of enforcing AppArmor profiles.
    // Note, this is intentionally only check the host at kubelet startup and never re-evaluates the host
    // as the expectation is that the kubelet restart will be needed to enable or disable AppArmor support.
    func (v *validator) ValidateHost() error {
    	return v.validateHostErr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/internal/runtime/exithook/hooks.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package exithook provides limited support for on-exit cleanup.
    //
    // CAREFUL! The expectation is that Add should only be called
    // from a safe context (e.g. not an error/panic path or signal
    // handler, preemption enabled, allocation allowed, write barriers
    // allowed, etc), and that the exit function F will be invoked under
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pkg/kubelet/prober/prober_manager_test.go

    					if !ok {
    						t.Fatalf("Missing expectation for test case: %v", c.Name)
    					}
    					if expected != *c.Started {
    						t.Errorf("Unexpected startup for container %v: Expected %v but got %v",
    							c.Name, expected, *c.Started)
    					}
    				}
    				{
    					expected, ok := tc.expectedReadiness[probeKey{testPodUID, c.Name, readiness}]
    					if !ok {
    						t.Fatalf("Missing expectation for test case: %v", c.Name)
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

            ERROR, //
            WARNING //
        }
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
         * creator of the problem, the general expectation is that the hint provides sufficient information to the user to
         * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
         * which the settings were read.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/copycerts/copycerts_test.go

    		// the expected permissions
    		if _, err := keyutil.ParsePrivateKeyPEM(diskCertData); err == nil {
    			// File permissions are set differently on Windows, which does not match the expectation below.
    			if goruntime.GOOS != "windows" {
    				if stat, err := os.Stat(certPath); err == nil {
    					if stat.Mode() != keyFileMode {
    						t.Errorf("key %q should have mode %#o, has %#o", certName, keyFileMode, stat.Mode())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

    @Experimental
    @Immutable
    public interface BuilderProblem {
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
         * creator of the problem, the general expectation is that the hint provides sufficient information to the user to
         * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
         * which the settings were read.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. tests/integration/security/ca_custom_root/trust_domain_alias_secure_naming_test.go

    // 5. DestinaitonRule with tls ISTIO_MUTUAL mode, because Istio auto mTLS will let client send plaintext to naked servers by default.
    // 6. MeshConfig.TrustDomainAliases contains one of the trust domain "server-naked-foo".
    //
    // Expectation:
    // When the "server-naked-foo" is in the list of MeshConfig.TrustDomainAliases, client requests to
    // "server-naked-foo" succeeds, and requests to "server-naked-bar" fails.
    func TestTrustDomainAliasSecureNaming(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

            }
            return path;
        }
    
        public interface ExpectedRequests {
        }
    
        /**
         * Represents an expectation about a particular HTTP request.
         */
        public interface ExpectedRequest {
        }
    
        /**
         * A mutable expectation about a particular HTTP request.
         */
        public interface BuildableExpectedRequest extends ExpectedRequest {
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. src/internal/trace/reader_test.go

    				ev.Task()
    			case trace.EventSync:
    			case trace.EventStackSample:
    			case trace.EventBad:
    			}
    		}
    	})
    }
    
    func testReader(t *testing.T, tr io.Reader, exp *testtrace.Expectation) {
    	r, err := trace.NewReader(tr)
    	if err != nil {
    		if err := exp.Check(err); err != nil {
    			t.Error(err)
    		}
    		return
    	}
    	v := testtrace.NewValidator()
    	for {
    		ev, err := r.ReadEvent()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top