类的使用
org.springframework.test.context.TestConstructor.AutowireMode
使用TestConstructor.AutowireMode的程序包 程序包 说明 org.springframework.test.context This package contains the Spring TestContext Framework which provides annotation-driven unit and integration testing support that is agnostic of the actual testing framework in use.org.springframework.test.context中TestConstructor.AutowireMode的使用
返回TestConstructor.AutowireMode的org.springframework.test.context中的方法 修饰符和类型 方法 说明 TestConstructor.AutowireMode
autowireMode()
Flag for setting the test constructor autowire mode for the current test class.static TestConstructor.AutowireMode
TestConstructor.AutowireMode. valueOf(String name)
返回带有指定名称的该类型的枚举常量。static TestConstructor.AutowireMode[]
TestConstructor.AutowireMode. values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。