Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 639 for testParse (0.13 sec)

  1. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test case for {@link ConcurrentHashMultiset}.
     *
     * @author Cliff L. Biffle
     * @author mike nonemacher
     */
    public class ConcurrentHashMultisetTest extends TestCase {
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

    import java.security.Policy;
    import java.security.ProtectionDomain;
    import java.util.concurrent.Callable;
    import java.util.concurrent.Semaphore;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /**
     * Tests that the {@code ClassLoader} of {@link FinalizableReferenceQueue} can be unloaded. These
     * tests are separate from {@link FinalizableReferenceQueueTest} so that they can be excluded from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link PeekingIterator}.
     *
     * @author Mick Killianey
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class PeekingIteratorTest extends TestCase {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. 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;
    
    /**
     * Tests for {@link HashBiMap}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class HashBiMapTest extends TestCase {
    
      public static final class HashBiMapGenerator extends TestStringBiMapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractStreamingHasher.
     *
     * @author Dimitris Andreou
     */
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

    import com.google.common.testing.SerializableTester;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code UnsignedLong}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class UnsignedLongTest extends TestCase {
      private static final ImmutableSet<Long> TEST_LONGS;
      private static final ImmutableSet<BigInteger> TEST_BIG_INTEGERS;
    
      static {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenSubtypeTest extends TestCase {
    
      public void testOwnerTypeSubtypes() throws Exception {
        new OwnerTypeSubtypingTests().testAllDeclarations();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    public class FreshValueGeneratorTest extends TestCase {
    
      @AndroidIncompatible // problem with equality of Type objects?
      public void testFreshInstance() {
        assertFreshInstances(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.authenticator
    
    import java.net.Authenticator
    import java.net.InetAddress
    import junit.framework.TestCase.assertNull
    import okhttp3.FakeDns
    import okhttp3.Protocol.HTTP_2
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.TestValueFactory
    import okhttp3.internal.RecordingAuthenticator
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertEquals("PrunedTag [tag=" + tag + ", id=" + id + ", css=" + css + ", attrName=" + attrName + ", attrValue=" + attrValue + "]",
                    prunedtag.toString());
        }
    
        public void test_parse() {
            PrunedTag[] tags = PrunedTag.parse("");
            assertEquals(0, tags.length);
    
            tags = PrunedTag.parse("a");
            assertEquals(1, tags.length);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top