Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 557 for testpass (0.03 sec)

  1. android/guava-tests/test/com/google/common/primitives/BytesTest.java

    import java.util.Collections;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Bytes}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class BytesTest extends TestCase {
      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link EventBus}.
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@code EnumBiMap}.
     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible
    @NullMarked
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CloserTest.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Closer}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests {@link SequentialExecutor}.
     *
     * @author JJ Furman
     */
    @NullUnmarked
    public class SequentialExecutorTest extends TestCase {
    
      private static class FakeExecutor implements Executor {
        final Queue<Runnable> tasks = new ArrayDeque<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

    import java.io.StringReader;
    import java.io.StringWriter;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code BaseEncoding}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class BaseEncodingTest extends TestCase {
    
      public void testSeparatorsExplicitly() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

    import java.lang.reflect.Modifier;
    import java.nio.ByteBuffer;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Locale;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Hashing}.
     *
     * <p>TODO(b/33919189): Migrate repeated testing methods to {@link HashTestUtils} and tweak unit
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  8. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

    import java.util.stream.LongStream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class ImmutableLongArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link TestCase} for {@link InternetDomainName}.
     *
     * @author Craig Berry
     */
    @GwtCompatible
    @NullUnmarked
    public final class InternetDomainNameTest extends TestCase {
      private static final InternetDomainName UNICODE_EXAMPLE =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
          checkExactMatches(m, chars);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top