Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertSuppressed (0.05 sec)

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

            closer.close();
          }
        } catch (Throwable expected) {
          assertSame(tryException, expected);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    
        assertSuppressed(
            new Suppression(c2, tryException, c2Exception),
            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
    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. android/guava-tests/test/com/google/common/io/CloserTest.java

            closer.close();
          }
        } catch (Throwable expected) {
          assertSame(tryException, expected);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    
        assertSuppressed(
            new Suppression(c2, tryException, c2Exception),
            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
    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. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

    import mockwebserver3.junit5.StartStop
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.TestUtil.assertSuppressed
    import okio.Buffer
    import okio.BufferedSink
    import okio.ForwardingSink
    import okio.ForwardingSource
    import okio.GzipSink
    import okio.Sink
    import okio.Source
    import okio.buffer
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top