Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for suppressed (0.27 sec)

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

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

          client.newCall(request).execute()
        }.also { expected ->
          expected.assertSuppressed {
            val suppressed = it.single()
            assertThat(suppressed).isInstanceOf(IOException::class.java)
            assertThat(suppressed).isNotSameAs(expected)
          }
        }
      }
    
      /** Confirm suppressed exceptions that occur after connecting are returned. */
      @Test fun httpExceptionsAreReturnedAsSuppressed() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTest.java

            assertEquals(0, suppressed);
    
            suppressed = runSuppressionFailureTest(BROKEN_CLOSE_SOURCE, out);
            assertEquals(1, suppressed);
          }
    
          for (CharSource in : BROKEN_SOURCES) {
            for (CharSink out : BROKEN_SINKS) {
              int suppressed = runSuppressionFailureTest(in, out);
              assertTrue(suppressed <= 1);
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Closer.java

          this.addSuppressed = addSuppressed;
        }
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          // ensure no exceptions from addSuppressed
          if (thrown == suppressed) {
            return;
          }
          try {
            addSuppressed.invoke(thrown, suppressed);
          } catch (Throwable e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSourceTest.java

            assertEquals(0, suppressed);
    
            suppressed = runSuppressionFailureTest(BROKEN_CLOSE_SOURCE, out);
            assertEquals(1, suppressed);
          }
    
          for (ByteSource in : BROKEN_SOURCES) {
            for (ByteSink out : BROKEN_SINKS) {
              int suppressed = runSuppressionFailureTest(in, out);
              assertTrue(suppressed <= 1);
            }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSourceTest.java

            assertEquals(0, suppressed);
    
            suppressed = runSuppressionFailureTest(BROKEN_CLOSE_SOURCE, out);
            assertEquals(1, suppressed);
          }
    
          for (CharSource in : BROKEN_SOURCES) {
            for (CharSink out : BROKEN_SINKS) {
              int suppressed = runSuppressionFailureTest(in, out);
              assertTrue(suppressed <= 1);
            }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

            assertEquals(0, suppressed);
    
            suppressed = runSuppressionFailureTest(BROKEN_CLOSE_SOURCE, out);
            assertEquals(1, suppressed);
          }
    
          for (ByteSource in : BROKEN_SOURCES) {
            for (ByteSink out : BROKEN_SINKS) {
              int suppressed = runSuppressionFailureTest(in, out);
              assertTrue(suppressed <= 1);
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *   <li>An annotation named just "Suppress" might suggest to users that the test is suppressed
     *       under all environments. We could fight this by fully qualifying the annotation, but the
     *       result will be verbose and attention-grabbing.
     *   <li>We need to be careful about how we suppress {@code suite()} methods in {@code common.io}.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *   <li>An annotation named just "Suppress" might suggest to users that the test is suppressed
     *       under all environments. We could fight this by fully qualifying the annotation, but the
     *       result will be verbose and attention-grabbing.
     *   <li>We need to be careful about how we suppress {@code suite()} methods in {@code common.io}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top