- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testParse_empty (0.34 seconds)
-
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 */ @NullUnmarked public class CacheBuilderSpecTest extends TestCase { public void testParse_empty() { CacheBuilderSpec spec = parse(""); assertThat(spec.initialCapacity).isNull(); assertThat(spec.maximumSize).isNull(); assertThat(spec.maximumWeight).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 20.8K bytes - Click Count (0) -
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("/"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 20.4K bytes - Click Count (0)