Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ExpectSuccess (0.14 sec)

  1. tests/integration/security/reachability_test.go

    				toMatch            match.Matcher
    				callOpts           []echo.CallOptions
    				expectMTLS         condition
    				expectCrossCluster condition
    				expectCrossNetwork condition
    				expectSuccess      condition
    				// minIstioVersion allows conditionally skipping based on required version
    				minIstioVersion string
    			}{
    				{
    					name: "global mtls strict",
    					configs: config.Sources{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        }
      }
    
      public void testValueOfLong() {
        for (long value : TEST_LONGS) {
          boolean expectSuccess = value >= 0;
          try {
            assertThat(UnsignedLong.valueOf(value).longValue()).isEqualTo(value);
            assertThat(expectSuccess).isTrue();
          } catch (IllegalArgumentException e) {
            assertThat(expectSuccess).isFalse();
          }
        }
      }
    
    
      public void testValueOfBigInteger() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/k8sleaderelection/leaderelection_test.go

    				observedRawRecord: observedRawRecord,
    				observedTime:      test.observedTime,
    				clock:             clock.RealClock{},
    			}
    			if test.expectSuccess != le.tryAcquireOrRenew(context.Background()) {
    				t.Errorf("unexpected result of tryAcquireOrRenew: [succeeded=%v]", !test.expectSuccess)
    			}
    
    			le.observedRecord.AcquireTime = metav1.Time{}
    			le.observedRecord.RenewTime = metav1.Time{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 23 16:39:43 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    		apiAuds       []string
    		respAuds      []string
    		expectSuccess bool
    	}{
    		{
    			name:          "no api audience and no audience in response",
    			apiAuds:       nil,
    			respAuds:      nil,
    			expectSuccess: true,
    		},
    		{
    			name:          "audience in response",
    			apiAuds:       nil,
    			respAuds:      []string{"other"},
    			expectSuccess: true,
    		},
    		{
    			name:          "with api audience",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/server_test.go

    }
    
    func TestIstiodCipherSuites(t *testing.T) {
    	cases := []struct {
    		name               string
    		serverCipherSuites []uint16
    		clientCipherSuites []uint16
    		expectSuccess      bool
    	}{
    		{
    			name:          "default cipher suites",
    			expectSuccess: true,
    		},
    		{
    			name:               "client and istiod cipher suites match",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          int logFloor = BigIntegerMath.log10(x, FLOOR);
          boolean expectSuccess = TEN.pow(logFloor).equals(x);
          try {
            assertEquals(logFloor, BigIntegerMath.log10(x, UNNECESSARY));
            assertTrue(expectSuccess);
          } catch (ArithmeticException e) {
            assertFalse(expectSuccess);
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10HalfUp() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/IntMathTest.java

        for (int x : POSITIVE_INTEGER_CANDIDATES) {
          int floor = IntMath.log10(x, FLOOR);
          boolean expectSuccess = IntMath.pow(10, floor) == x;
          try {
            assertEquals(floor, IntMath.log10(x, UNNECESSARY));
            assertTrue(expectSuccess);
          } catch (ArithmeticException e) {
            assertFalse(expectSuccess);
          }
        }
      }
    
      @GwtIncompatible // log10
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. src/internal/trace/trace_test.go

    				t.Logf("stderr: %s", string(errBuf.Bytes()))
    			}
    			t.Fatal(err)
    		}
    		tb := traceBuf.Bytes()
    
    		// Test the trace and the parser.
    		testReader(t, bytes.NewReader(tb), testtrace.ExpectSuccess())
    
    		// Run some extra validation.
    		if !t.Failed() && extra != nil {
    			extra(t, tb, errBuf.Bytes(), stress)
    		}
    
    		// Dump some more information on failure.
    		if t.Failed() && onBuilder {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top