Package de.juplo.httpresources
Class HttpResourceChainAwareResourceLoaderTest
- java.lang.Object
-
- de.juplo.httpresources.HttpResourceChainAwareResourceLoaderTest
-
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class) public class HttpResourceChainAwareResourceLoaderTest extends Object
-
-
Constructor Summary
Constructors Constructor Description HttpResourceChainAwareResourceLoaderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testHandlingOfLeadingSlashesInResourceNames(org.springframework.web.context.WebApplicationContext context, org.springframework.core.io.Resource nonExisting, org.springframework.core.io.Resource other)
void
testHandlingOfTrailingSlashesInResourceLocations(org.springframework.web.context.WebApplicationContext context, org.springframework.core.io.Resource nonExisting, org.springframework.core.io.Resource other)
void
testResourceDoesNotExist(org.springframework.web.context.WebApplicationContext context, org.springframework.core.io.Resource nonExisting, org.springframework.core.io.Resource other)
void
testResourceExistsForaLocation(org.springframework.web.context.WebApplicationContext context, org.springframework.core.io.Resource existing, org.springframework.core.io.Resource nonExisting)
void
testResourceExistsForSecondLocation(org.springframework.web.context.WebApplicationContext context, org.springframework.core.io.Resource existing, org.springframework.core.io.Resource nonExisting)
void
testResourceExistsForThirdLocation(org.springframework.web.context.WebApplicationContext context, org.springframework.core.io.Resource existing, org.springframework.core.io.Resource nonExisting)
-
-
-
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)
-
-