Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testWithParameters (0.17 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals(
            MediaType.parse("image/gif"), MediaType.parse("image/gif; foo=bar").withoutParameters());
      }
    
      public void testWithParameters() {
        assertEquals(
            MediaType.parse("text/plain; a=1; a=2; b=3"),
            MediaType.parse("text/plain").withParameters(PARAMETERS));
        assertEquals(
            MediaType.parse("text/plain; a=1; a=2; b=3"),
    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