+
+ +

Class HttpResourceChainAwareResourceLoaderTest

+
+
+ +
+
    +
  • +
    +
    @ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
    +public class HttpResourceChainAwareResourceLoaderTest
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HttpResourceChainAwareResourceLoaderTest

        +
        public HttpResourceChainAwareResourceLoaderTest()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        testResourceExistsForaLocation

        +
        @Test
        +public void testResourceExistsForaLocation​(@Mock
        +                                           org.springframework.web.context.WebApplicationContext context,
        +                                           @Mock
        +                                           org.springframework.core.io.Resource existing,
        +                                           @Mock
        +                                           org.springframework.core.io.Resource nonExisting)
        +
      • +
      + + + +
        +
      • +

        testResourceExistsForSecondLocation

        +
        @Test
        +public void testResourceExistsForSecondLocation​(@Mock
        +                                                org.springframework.web.context.WebApplicationContext context,
        +                                                @Mock
        +                                                org.springframework.core.io.Resource existing,
        +                                                @Mock
        +                                                org.springframework.core.io.Resource nonExisting)
        +
      • +
      + + + +
        +
      • +

        testResourceExistsForThirdLocation

        +
        @Test
        +public void testResourceExistsForThirdLocation​(@Mock
        +                                               org.springframework.web.context.WebApplicationContext context,
        +                                               @Mock
        +                                               org.springframework.core.io.Resource existing,
        +                                               @Mock
        +                                               org.springframework.core.io.Resource nonExisting)
        +
      • +
      + + + +
        +
      • +

        testResourceDoesNotExist

        +
        @Test
        +public void testResourceDoesNotExist​(@Mock
        +                                     org.springframework.web.context.WebApplicationContext context,
        +                                     @Mock
        +                                     org.springframework.core.io.Resource nonExisting,
        +                                     @Mock
        +                                     org.springframework.core.io.Resource other)
        +
      • +
      + + + +
        +
      • +

        testHandlingOfLeadingSlashesInResourceNames

        +
        @Test
        +public void testHandlingOfLeadingSlashesInResourceNames​(@Mock
        +                                                        org.springframework.web.context.WebApplicationContext context,
        +                                                        @Mock
        +                                                        org.springframework.core.io.Resource nonExisting,
        +                                                        @Mock
        +                                                        org.springframework.core.io.Resource other)
        +
      • +
      + + + +
        +
      • +

        testHandlingOfTrailingSlashesInResourceLocations

        +
        @Test
        +public void testHandlingOfTrailingSlashesInResourceLocations​(@Mock
        +                                                             org.springframework.web.context.WebApplicationContext context,
        +                                                             @Mock
        +                                                             org.springframework.core.io.Resource nonExisting,
        +                                                             @Mock
        +                                                             org.springframework.core.io.Resource other)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+