Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestGetResource (0.06 seconds)

  1. guava-tests/test/com/google/common/io/ResourcesTest.java

                IllegalArgumentException.class, () -> Resources.getResource("no such resource"));
        assertThat(e).hasMessageThat().isEqualTo("resource no such resource not found.");
      }
    
      public void testGetResource() {
        assertThat(Resources.getResource("com/google/common/io/testdata/i18n.txt")).isNotNull();
      }
    
      public void testGetResource_relativePath_notFound() {
        IllegalArgumentException e =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top