Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for suppressed (0.2 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() {
    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)
  2. 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)
  3. 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        return Helpers.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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        return Helpers.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() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

                            // TODO(lukes): if guava ever moves to java7, this would be a good
                            // candidate for a suppressed exception, or maybe we could generalize
                            // Closer.Suppressor
                            logger
                                .get()
                                .log(
                                    Level.WARNING,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

        override fun writeTo(sink: BufferedSink) {
          sink.write(this@commonToRequestBody, offset, byteCount)
        }
      }
    }
    
    @Suppress("unused")
    fun RequestBody.commonContentLength(): Long = -1L
    
    @Suppress("unused")
    fun RequestBody.commonIsDuplex(): Boolean = false
    
    @Suppress("unused")
    fun RequestBody.commonIsOneShot(): Boolean = false
    
    /** Returns a new request body that transmits this. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

          // success
        }
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it
       * with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6409434">Sun bug 6409434</a> is fixed.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/KtFe10AnalysisSession.kt

    import org.jetbrains.kotlin.analysis.api.symbols.KtSymbolProviderByJavaPsi
    import org.jetbrains.kotlin.analysis.project.structure.KtModule
    
    @OptIn(KtAnalysisApiInternals::class, KtAnalysisNonPublicApi::class)
    @Suppress("LeakingThis")
    class KtFe10AnalysisSession(
        val analysisContext: Fe10AnalysisContext,
        override val useSiteModule: KtModule,
        token: KtLifetimeToken,
    ) : KtAnalysisSession(token) {
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Mar 18 10:13:57 GMT 2024
    - 5.3K bytes
    - Viewed (1)
Back to top