Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,303 for causes (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        assertSame(EXCEPTION, record.getThrown());
      }
    
      public void testConcurrentModification() throws Exception {
        // Tests for the absence of a bug where logging while iterating over the
        // stored log records causes a ConcurrentModificationException
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        ExampleClassUnderTest.foo();
        for (LogRecord unused : handler.getStoredLogRecords()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/PercentEscaperTest.java

      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false));
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml

        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-gwt/src/com/google/common/net/Net.gwt.xml

        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

         *
         * @param message
         * @param cause
         */
        public MojoExecutionException(String message, Exception cause) {
            super(message, cause);
        }
    
        /**
         * Construct a new <code>MojoExecutionException</code> exception wrapping an underlying <code>Throwable</code>
         * and providing a <code>message</code>.
         *
         * @param message
         * @param cause
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TearDownStack.java

        this.suppressThrows = suppressThrows;
      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

        this.suppressThrows = suppressThrows;
      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/main/assemblies/files/fess.in.bat

    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djavax.net.ssl.trustStore=/tech/elastic/config/truststore.jks
    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djavax.net.ssl.trustStorePassword=changeit
    
    REM Causes the JVM to dump its heap on OutOfMemory.
    REM set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:+HeapDumpOnOutOfMemoryError
    REM The path to the heap dump location, note directory must exists and have enough
    REM space for a full heap dump.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertSame(cause, getRootCause(exception));
      }
    
      public void testGetRootCause_loop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getRootCause(cause));
        assertThat(expected).hasCauseThat().isSameInstanceAs(cause);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/AbstractCache.java

         * @param count the number of misses to record
         * @since 11.0
         */
        void recordMisses(int count);
    
        /**
         * Records the successful load of a new entry. This should be called when a cache request causes
         * an entry to be loaded, and the loading completes successfully. In contrast to {@link
         * #recordMisses}, this method should only be called by the loading thread.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
Back to top