Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for assertDone (0.38 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      private static void assertSuccessful(
          AbstractFuture<Integer> future, @Nullable Integer expectedResult)
          throws InterruptedException, TimeoutException, ExecutionException {
        assertDone(future);
        assertThat(future.isCancelled()).isFalse();
    
        assertThat(getDone(future)).isEqualTo(expectedResult);
        assertThat(getDoneFromTimeoutOverload(future)).isEqualTo(expectedResult);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.SocketTimeoutException
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3.junit5
    
    import assertk.assertThat
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import java.util.concurrent.CopyOnWriteArrayList
    import mockwebserver3.Dispatcher
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.RecordedRequest
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 11:13:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          }
        }
    
      /**
       * These assertions ensure the [PublicSuffixDatabase] remains correct. The specification is
       * very flexible regarding wildcard rules, but this flexibility is not something currently used
       * in practice. To simplify the implementation, we've avoided implementing the flexible rules in
       * favor of supporting what's actually used in practice. That means if these assertions ever fail,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

    import assertk.all
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.doesNotContain
    import assertk.assertions.hasMessage
    import assertk.assertions.hasSize
    import assertk.assertions.index
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isIn
    import assertk.assertions.isLessThan
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isSameInstanceAs
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.net.SocketTimeoutException
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
     * <p>The declaration methods must be public.
     */
    @AndroidIncompatible // only used by android incompatible tests.
    @NullUnmarked
    abstract class SubtypeTester implements Cloneable {
    
      /** Annotates a public method that declares subtype assertion. */
      @RequiredModifiers(Modifier.PUBLIC)
      @Retention(RetentionPolicy.RUNTIME)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // We use this somewhat weird pattern with an enum for each assertion we want to make as a way
        // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to
        // have to have duplicate @GwtIncompatible test methods just to make that assertion.
        for (AssertFailsToDecodeStrategy strategy : AssertFailsToDecodeStrategy.values()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNotInstanceOf
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import java.io.IOException
    import java.net.CookieManager
    import java.net.Proxy
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt

     * limitations under the License.
     *
     */
    package okhttp.android.test
    
    import assertk.all
    import assertk.assertFailure
    import assertk.assertions.cause
    import assertk.assertions.hasClass
    import assertk.assertions.hasMessage
    import assertk.assertions.isNotNull
    import java.io.IOException
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.junit.runners.JUnit4
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top