@Target(value={TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) public @interface SpringApplicationContext
ApplicationContext for this
test object.
ApplicationContext
or a method that takes a single parameter of type ApplicationContext, the ApplicationContext
for this test object is injected into this field or method.
List<String> that returns an
ApplicationContext, this method becomes a custom create for this test class. If it has a parameter,
this method will be invoked with the config locations as parameter. The result of this method should be an instance
of an application context for which the refresh() method was not yet invoked.
public abstract String[] value
Copyright © 2016. All Rights Reserved.