SpringJUnit4ClassRunnerAppCtxTests serves as a proof of concept JUnit 4 based test class, which verifies the expected functionality of {@link SpringJUnit4ClassRunner} in conjunction with the following:
Since no application context resource {@link ContextConfiguration#locations() locations} are explicitly declaredand since the {@link ContextConfiguration#loader() ContextLoader} is left setto the default value of {@link GenericXmlContextLoader}, this test class's dependencies will be injected via {@link Autowired @Autowired} and{@link Resource @Resource} from beans defined in the{@link ApplicationContext} loaded from the default classpath resource: "/org/springframework/test/context/junit/SpringJUnit4ClassRunnerAppCtxTests-context.xml
".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|