Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testParse_empty (0.07 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
        assertNull(spec.initialCapacity);
        assertNull(spec.maximumSize);
        assertNull(spec.maximumWeight);
        assertNull(spec.concurrencyLevel);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
        assertNull(spec.initialCapacity);
        assertNull(spec.maximumSize);
        assertNull(spec.maximumWeight);
        assertNull(spec.concurrencyLevel);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertFalse(PLAIN_TEXT_UTF_8.withParameter("charset", "UTF-16").is(PLAIN_TEXT_UTF_8));
        assertFalse(PLAIN_TEXT_UTF_8.is(PLAIN_TEXT_UTF_8.withParameter("charset", "UTF-16")));
      }
    
      public void testParse_empty() {
        assertThrows(IllegalArgumentException.class, () -> MediaType.parse(""));
      }
    
      public void testParse_badInput() {
        assertThrows(IllegalArgumentException.class, () -> MediaType.parse("/"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top