Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for shouldFail (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/erasure-decode_test.go

    	{dataBlocks: 4, onDisks: 8, offDisks: 0, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 0, length: oneMiByte, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false}, // 2
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. cmd/erasure-encode_test.go

    	algorithm                    BitrotAlgorithm
    	shouldFail, shouldFailQuorum bool
    }{
    	{dataBlocks: 2, onDisks: 4, offDisks: 0, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 0, algorithm: BLAKE2b512, shouldFail: false, shouldFailQuorum: false},                             // 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. internal/etag/etag_test.go

    	},
    
    	{String: `"3b83ef96387f14655fc854ddc3c6bd57`, ShouldFail: true},                                                                  // 6
    	{String: "ceb8853ddc5086cc4ab9e149f8f09c88-", ShouldFail: true},                                                                  // 7
    	{String: "ceb8853ddc5086cc4ab9e149f8f09c88-2a", ShouldFail: true},                                                                // 8
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        shouldFail(instance, Visibility.PROTECTED);
        shouldFail(instance, Visibility.PUBLIC);
      }
    
      private static void shouldFail(Class<?> cls, Visibility visibility) {
        try {
          new NullPointerTester().testStaticMethods(cls, visibility);
        } catch (AssertionError expected) {
          return;
        }
        fail("Should detect problem in " + cls.getSimpleName());
      }
    
      private static void shouldFail(Class<?> cls) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  5. internal/config/certs_test.go

    			t.Setenv(EnvCertPassword, testCase.password)
    		}
    		_, err = LoadX509KeyPair(certificate, privateKey)
    		if err != nil && !testCase.shouldFail {
    			t.Errorf("Test %d: test should succeed but it failed: %v", i, err)
    		}
    		if err == nil && testCase.shouldFail {
    			t.Errorf("Test %d: test should fail but it succeed", i)
    		}
    		os.Remove(privateKey)
    		os.Remove(certificate)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  6. internal/crypto/header_test.go

    		}
    	}
    }
    
    var kmsParseHTTPTests = []struct {
    	Header     http.Header
    	ShouldFail bool
    }{
    	{Header: http.Header{}, ShouldFail: true},                                                     // 0
    	{Header: http.Header{"X-Amz-Server-Side-Encryption": []string{"aws:kms"}}, ShouldFail: false}, // 1
    	{Header: http.Header{
    		"X-Amz-Server-Side-Encryption":                []string{"aws:kms"},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 13 14:52:15 GMT 2022
    - 21.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
        private final AtomicBoolean shouldWait;
        private final CountDownLatch delayLatch;
    
        DelayingIdentityLoader(AtomicBoolean shouldWait, CountDownLatch delayLatch) {
          this.shouldWait = shouldWait;
          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
        private final AtomicBoolean shouldWait;
        private final CountDownLatch delayLatch;
    
        DelayingIdentityLoader(AtomicBoolean shouldWait, CountDownLatch delayLatch) {
          this.shouldWait = shouldWait;
          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        CyclicBarrier firstBarrier = new CyclicBarrier(2);
        CyclicBarrier secondBarrier = new CyclicBarrier(2);
        AtomicBoolean shouldWait = new AtomicBoolean(true);
        Runnable task =
            () -> {
              try {
                if (shouldWait.get()) {
                  firstBarrier.await();
                  secondBarrier.await();
                }
              } catch (Exception e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        CyclicBarrier firstBarrier = new CyclicBarrier(2);
        CyclicBarrier secondBarrier = new CyclicBarrier(2);
        AtomicBoolean shouldWait = new AtomicBoolean(true);
        Runnable task =
            () -> {
              try {
                if (shouldWait.get()) {
                  firstBarrier.await();
                  secondBarrier.await();
                }
              } catch (Exception e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top