Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for suppressed (0.05 sec)

  1. android/guava-tests/test/com/google/common/io/CloserTest.java

        private final List<Suppression> suppressions = new ArrayList<>();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CloserTest.java

        private final List<Suppression> suppressions = new ArrayList<>();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertEquals(1, suppressed.length);
            assertEquals(suppressedException, suppressed[0]);
            assertEquals("Suppressed exception", suppressed[0].getMessage());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            // Add suppressed exceptions
            Exception suppressed1 = new IllegalArgumentException("Suppressed 1");
            Exception suppressed2 = new IOException("Suppressed 2");
            mainException.addSuppressed(suppressed1);
            mainException.addSuppressed(suppressed2);
    
            Throwable[] suppressedExceptions = mainException.getSuppressed();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            provider = new FessJsonResourceProvider();
        }
    
        public void test_isNullsSuppressed() {
            // Test that nulls are suppressed
            assertTrue(provider.isNullsSuppressed());
        }
    
        public void test_isPrettyPrintSuppressed() {
            // Test that pretty print is not suppressed
            assertFalse(provider.isPrettyPrintSuppressed());
        }
    
        public void test_provideMappingOption() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertNull(exception.getCause());
    
            // Test that suppression is enabled
            RuntimeException suppressed = new RuntimeException("Suppressed exception");
            exception.addSuppressed(suppressed);
            assertEquals(1, exception.getSuppressed().length);
            assertEquals(suppressed, exception.getSuppressed()[0]);
        }
    
        public void test_constructor_withSuppressionDisabled() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            Throwable[] suppressed = mainException.getSuppressed();
            assertEquals(1, suppressed.length);
            assertEquals(suppressedException, suppressed[0]);
        }
    
        @Test
        @DisplayName("Should provide correct cause for constructor with cause only")
        void testCauseOnlyConstructorMessage() {
            // Given
            RuntimeException cause = new RuntimeException("Specific cause message");
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        Throwable[] suppressed = e.getSuppressed();
        assertThat(suppressed).hasLength(2);
        assertThat(suppressed[0]).hasCauseThat().isInstanceOf(IllegalStateException.class);
        assertThat(suppressed[0]).hasCauseThat().hasMessageThat().isEqualTo("run failure");
    
        assertThat(suppressed[1]).hasCauseThat().isInstanceOf(IllegalStateException.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            try {
                exception.addSuppressed(new Exception("Test suppressed"));
                // If suppression is disabled, getSuppressed should return empty array
                assertEquals(0, exception.getSuppressed().length);
            } catch (Exception e) {
                // If an exception is thrown when trying to add suppressed, that's also valid
                // since suppression is disabled
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        return getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testListIterator_unmodifiable()} so that it can
       * be suppressed in GWT tests.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getListIteratorUnmodifiableMethod() {
        return getMethod(ListListIteratorTester.class, "testListIterator_unmodifiable");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top