Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 2,194 for Rtest (0.06 seconds)

  1. okhttp/src/commonTest/kotlin/okhttp3/OkHttpTest.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.matches
    import org.junit.jupiter.api.Test
    
    class OkHttpTest {
      @Test
      fun testVersion() {
        assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?"))
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 247 bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link ImmutableNetwork}. */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class ImmutableNetworkTest {
    
      @Test
      public void immutableNetwork() {
        MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class MethodUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEqualsMethod() throws Exception {
            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

              }
            }
            socketHandler.awaitSuccess()
          }
      }
    
      @Test
      fun upgrade() {
        executeAndCheckUpgrade(upgradeRequest())
      }
    
      @Test
      fun upgradeWithEmptyRequestBody() {
        executeAndCheckUpgrade(upgradeRequest().newBuilder().post(RequestBody.EMPTY).build())
      }
    
      @Test
      fun upgradeWithNonEmptyRequestBody() {
        executeAndCheckUpgrade(
          upgradeRequest()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 08 21:07:01 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java

     */
    package okhttp3;
    
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.RegisterExtension;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class CallJavaTest {
      @RegisterExtension
      OkHttpClientTestRule clientTestRule = new OkHttpClientTestRule();
    
      private OkHttpClient client = clientTestRule.newClient();
    
      @Test
      public void tagsSeededFromRequest() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import java.io.StringReader;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#getOrDefault}. Can't be invoked directly; please see
     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author shot
     * @author manhole
     */
    public class EnumerationIteratorTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         *
         */
        @Test
        public void testEnumerationIterator() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Test suite for {@link CacheBuilder}. TODO(cpovirk): merge into CacheBuilderTest?
     *
     * @author Jon Donovan
     */
    @GwtCompatible
    @NullUnmarked
    @RunWith(JUnit4.class)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/net/InetAddressesTest.java

        }
      }
    
      public void testGetEmbeddedIPv4ClientAddress() {
        Inet6Address testIp;
    
        // Test regular global unicast address.
        testIp = (Inet6Address) InetAddresses.forString("2001:db8::1");
        assertFalse(InetAddresses.hasEmbeddedIPv4ClientAddress(testIp));
    
        // Test ISATAP address.
        testIp = (Inet6Address) InetAddresses.forString("2001:db8::5efe:102:304");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
Back to Top