Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1451 - 1460 of 1,885 for Exception (0.15 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE);
        tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
      }
    
      public void testVerySmallDoubleValues() throws Exception {
        RateLimiter rateLimiter = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Should acquire initial permit", rateLimiter.tryAcquire());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE);
        tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
      }
    
      public void testVerySmallDoubleValues() throws Exception {
        RateLimiter rateLimiter = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Should acquire initial permit", rateLimiter.tryAcquire());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe_test.go

    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.args, " "), fErr)
    		}
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

              }
            };
    
        List<Throwable> exceptions = runThreadsAndReturnExceptions(numThreads, task);
    
        assertThat(exceptions).isEmpty();
      }
    
      private static List<Throwable> runThreadsAndReturnExceptions(int numThreads, Runnable task) {
        List<Thread> threads = new ArrayList<>(numThreads);
        final List<Throwable> exceptions = new ArrayList<>(numThreads);
        for (int i = 0; i < numThreads; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
          throw failure + AssertionError("uncaught exception thrown during test", uncaughtException)
        }
    
        if (context.isFlaky()) {
          logEvents()
        }
    
        LogManager.getLogManager().reset()
    
        var result: Throwable? = failure
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

    import jakarta.servlet.http.Cookie;
    import jakarta.servlet.http.HttpServletRequest;
    
    public class RoleQueryHelperTest extends UnitFessTestCase {
        public CachedCipher cipher;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            cipher = new CachedCipher();
            cipher.setKey("1234567890123456");
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * Call the {@code setCount()} method under test, but do not check its return value. Callers
       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      private TypeToInstanceMap<Object> map;
    
      @Override
      protected void setUp() throws Exception {
        map = new MutableTypeToInstanceMap<>();
      }
    
      public void testPutThrows() {
        assertThrows(
            UnsupportedOperationException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsFailureUrlBhv.java

    import org.dbflute.bhv.readable.EntityRowHandler;
    import org.dbflute.cbean.ConditionBean;
    import org.dbflute.cbean.result.ListResultBean;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.exception.IllegalBehaviorStateException;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.util.DfTypeUtil;
    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.delete.DeleteRequestBuilder;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRelatedQueryBhv.java

    import org.dbflute.bhv.readable.EntityRowHandler;
    import org.dbflute.cbean.ConditionBean;
    import org.dbflute.cbean.result.ListResultBean;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.exception.IllegalBehaviorStateException;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.util.DfTypeUtil;
    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.delete.DeleteRequestBuilder;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top