枚举类的使用
org.springframework.boot.test.context.SpringBootTest.UseMainMethod
程序包
说明
Classes and annotations related to configuring Spring's
ApplicationContext
for
tests.-
org.springframework.boot.test.context中SpringBootTest.UseMainMethod的使用
修饰符和类型方法说明static SpringBootTest.UseMainMethod
返回带有指定名称的该类的枚举常量。static SpringBootTest.UseMainMethod[]
SpringBootTest.UseMainMethod.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同