Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 212 for suppress (0.05 sec)

  1. 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() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

      public void testCopyExceptions() {
        // test that exceptions are suppressed
    
        for (ByteSource in : BROKEN_SOURCES) {
          int suppressed = runSuppressionFailureTest(in, newNormalByteSink());
          assertEquals(0, suppressed);
    
          suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK);
          assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed);
        }
    
        for (ByteSink out : BROKEN_SINKS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharSourceTest.java

      public void testCopyExceptions() {
        // test that exceptions are suppressed
    
        for (CharSource in : BROKEN_SOURCES) {
          int suppressed = runSuppressionFailureTest(in, newNormalCharSink());
          assertEquals(0, suppressed);
    
          suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK);
          assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed);
        }
    
        for (CharSink out : BROKEN_SINKS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

      public void testCopyExceptions() {
        // test that exceptions are suppressed
    
        for (ByteSource in : BROKEN_SOURCES) {
          int suppressed = runSuppressionFailureTest(in, newNormalByteSink());
          assertEquals(0, suppressed);
    
          suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK);
          assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed);
        }
    
        for (ByteSink out : BROKEN_SINKS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Pepper, mostly,' said the cook.
    
      `Treacle,' said a sleepy voice behind her.
    
      `Collar that Dormouse,' the Queen shrieked out.  `Behead that
    Dormouse!  Turn that Dormouse out of court!  Suppress him!  Pinch
    him!  Off with his whiskers!'
    
      For some minutes the whole court was in confusion, getting the
    Dormouse turned out, and, by the time they had settled down
    again, the cook had disappeared.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  6. .idea/inspectionProfiles/Gradle.xml

          </extension>
        </inspection_tool>
        <inspection_tool class="SSBasedInspection" enabled="true" level="WARNING" enabled_by_default="true">
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 26 21:49:47 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      }
    
      @JvmStatic
      val windows: Boolean
        get() = System.getProperty("os.name", "?").startsWith("Windows")
    
      /**
       * Make assertions about the suppressed exceptions on this. Prefer this over making direct calls
       * so tests pass on GraalVM, where suppressed exceptions are silently discarded.
       *
       * https://github.com/oracle/graal/issues/3008
       */
      @JvmStatic
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

      @RequiredModifiers(Modifier.PUBLIC)
      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.METHOD)
      @interface TestSubtype {
        /** Suppresses the assertion on {@link TypeToken#getSubtype}. */
        boolean suppressGetSubtype() default false;
    
        /** Suppresses the assertion on {@link TypeToken#getSupertype}. */
        boolean suppressGetSupertype() default false;
      }
    
      private @Nullable Method method = null;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/SubtypeTester.java

      @RequiredModifiers(Modifier.PUBLIC)
      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.METHOD)
      @interface TestSubtype {
        /** Suppresses the assertion on {@link TypeToken#getSubtype}. */
        boolean suppressGetSubtype() default false;
    
        /** Suppresses the assertion on {@link TypeToken#getSupertype}. */
        boolean suppressGetSupertype() default false;
      }
    
      private @Nullable Method method = null;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top