Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 571 for testDate (0.64 sec)

  1. android/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.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests com.google.common.base.Suppliers.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     */
    @NullMarked
    @GwtCompatible
    public class SuppliersTest extends TestCase {
    
      static class CountingSupplier implements Supplier<Integer> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    @NullUnmarked
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link LoadingCache} tests that deal with caches that actually contain some key-value mappings.
     *
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class PopulatedCachesTest extends TestCase {
      // we use integers as keys; make sure the range covers some values that ARE cached by
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/HashBiMapTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link HashBiMap}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible
    @NullMarked
    public class HashBiMapTest extends TestCase {
    
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for AbstractStreamingHasher.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    @AndroidIncompatible // test-suite builders
    public final class MapTestSuiteBuilderTests extends TestCase {
      private MapTestSuiteBuilderTests() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Verify that the outputBuffer is stored properly
            byte[] testData = new byte[] { 1, 2, 3, 4, 5 };
            TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
            assertNotNull(testResponse);
        }
    
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StringsTest.java

    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Unit test for {@link Strings}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class StringsTest extends TestCase {
      public void testNullToEmpty() {
        assertEquals("", Strings.nullToEmpty(null));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("deprecation") // tests of numerous deprecated methods
    @NullUnmarked
    public class ThrowablesTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top