Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for nfail (0.06 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          diff1.entriesInCommon().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnLeft().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnRight().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    // copy returns a copy of the current state.
    func (st *state) copy() *state {
    	n := new(state)
    	*n = *st
    	return n
    }
    
    // fail panics with demangleErr, to be caught in doDemangle.
    func (st *state) fail(err string) {
    	panic(demangleErr{err: err, off: st.off})
    }
    
    // failEarlier is like fail, but decrements the offset to indicate
    // that the point of failure occurred earlier in the string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/validation/validation_test.go

    	}{{
    		name:           "empty string should fail",
    		path:           "",
    		expectingError: true,
    	}, {
    		name:           "no slash should fail",
    		path:           "foo",
    		expectingError: true,
    	}, {
    		name:           "single slash should work",
    		path:           "/",
    		expectingError: false,
    	}, {
    		name:           "continuous slash should fail",
    		path:           "//",
    		expectingError: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        try {
                          peeker.getDone(input2Failed);
                          fail("Peeker.getDone() should fail for failed inputs");
                        } catch (ExecutionException expected) {
                        }
                        try {
                          peeker.getDone(nonInput);
                          fail("Peeker should not be able to peek into non-input ClosingFuture.");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        try {
                          peeker.getDone(input2Failed);
                          fail("Peeker.getDone() should fail for failed inputs");
                        } catch (ExecutionException expected) {
                        }
                        try {
                          peeker.getDone(nonInput);
                          fail("Peeker should not be able to peek into non-input ClosingFuture.");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          Set<Set<Integer>> unused = powerSet(ContiguousSet.closed(0, Integer.MAX_VALUE / 2));
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          powerSet(singleton(null));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_attacher_test.go

    			var wg sync.WaitGroup
    			wg.Add(1)
    			go func(spec *volume.Spec, nodename string, fail bool) {
    				defer wg.Done()
    				attachID, err := csiAttacher.Attach(spec, types.NodeName(nodename))
    				if !fail && err != nil {
    					t.Errorf("expecting no failure, but got err: %v", err)
    				}
    				if fail && err == nil {
    					t.Errorf("expecting failure, but got no err")
    				}
    				if attachID != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		t.Errorf("expected: success-vol to be created")
    	}
    
    	// removing the path and simulating disk failure
    	os.RemoveAll(path)
    	// should fail with errDiskNotFound.
    	if _, err = xlStorage.ListVols(context.Background()); err != errDiskNotFound {
    		t.Errorf("Expected to fail with \"%s\", but instead failed with \"%s\"", errDiskNotFound, err)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. pkg/volume/testing/testing.go

    	FailOnSetupVolumeName = "fail-setup-volume"
    	//TimeoutAndFailOnSetupVolumeName will first timeout and then fail the setup
    	TimeoutAndFailOnSetupVolumeName = "timeout-and-fail-setup-volume"
    	// SuccessAndTimeoutSetupVolumeName will cause first mount operation to succeed but subsequent attempts to timeout
    	SuccessAndTimeoutSetupVolumeName = "success-and-timeout-setup-volume-name"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top