Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 1,876 for junit (0.06 sec)

  1. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import okhttp3.internal.idn.MappedRange.InlineDelta
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    class MappingTablesTest {
      @Test fun simplifyCombinesMultipleMappings() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0232, 0x0232, TYPE_MAPPED, "a".encodeUtf8()),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

    import com.google.common.hash.HashTestUtils.RandomHasherAction;
    import java.io.ByteArrayOutputStream;
    import java.nio.ByteBuffer;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /** Tests for AbstractNonStreamingHashFunction. */
    public class AbstractNonStreamingHashFunctionTest extends TestCase {
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import java.util.Map.Entry;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    
    /** Tests for {@link ListenerCallQueue}. */
    public class ListenerCallQueueTest extends TestCase {
    
      private static final ListenerCallQueue.Event<Object> THROWING_EVENT =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import java.util.Map.Entry;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    
    /** Tests for {@link ListenerCallQueue}. */
    public class ListenerCallQueueTest extends TestCase {
    
      private static final ListenerCallQueue.Event<Object> THROWING_EVENT =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.io.BaseEncoding.base16;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.Table;
    import com.google.common.testing.NullPointerTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.math.StatsTesting.ManyValues;
    import java.util.Collections;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    import static java.util.Collections.frequency;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/api/mockwebserver.api

    }
    
    public final class okhttp3/mockwebserver/MockResponse$Companion {
    }
    
    public final class okhttp3/mockwebserver/MockWebServer : org/junit/rules/ExternalResource, java/io/Closeable {
    	public static final field Companion Lokhttp3/mockwebserver/MockWebServer$Companion;
    	public final fun -deprecated_bodyLimit (J)V
    	public final fun -deprecated_port ()I
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

    import kotlin.test.assertFailsWith
    import okhttp3.internal.toCanonicalHost
    import okio.Buffer
    import okio.FileSystem
    import okio.GzipSource
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.use
    import org.junit.jupiter.api.Test
    
    class PublicSuffixDatabaseTest {
      private val publicSuffixDatabase = PublicSuffixDatabase()
    
      @Test fun longestMatchWins() {
        val buffer =
          Buffer()
            .writeUtf8("com\n")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top