パッケージ | 説明 |
---|---|
org.springframework.test.context | このパッケージには Spring TestContext フレームワークが含まれており、使用中の実際のテストフレームワークにとらわれないアノテーション駆動型ユニットおよび統合テストのサポートを提供します。 |
org.springframework.test.context.web | Web は、Spring TestContext フレームワークのクラスをサポートします。 |
修飾子と型 | メソッドと説明 |
---|---|
ContextCustomizer | ContextCustomizerFactory.createContextCustomizer(ClassSE<?> testClass, ListSE<ContextConfigurationAttributes> configAttributes) ConfigurableApplicationContext をリフレッシュする前にカスタマイズするために使用する ContextCustomizer を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
SetSE<ContextCustomizer> | MergedContextConfiguration.getContextCustomizers() アプリケーションコンテキストが読み込まれたときに適用される、マージされた ContextCustomizers を取得します。 |
コンストラクターと説明 |
---|
MergedContextConfiguration(ClassSE<?> testClass, StringSE[] locations, ClassSE<?>[] classes, SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, StringSE[] activeProfiles, StringSE[] propertySourceLocations, StringSE[] propertySourceProperties, SetSE<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) 指定されたパラメーターの新しい MergedContextConfiguration インスタンスを作成します。 |
コンストラクターと説明 |
---|
WebMergedContextConfiguration(ClassSE<?> testClass, StringSE[] locations, ClassSE<?>[] classes, SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, StringSE[] activeProfiles, StringSE[] propertySourceLocations, StringSE[] propertySourceProperties, SetSE<ContextCustomizer> contextCustomizers, StringSE resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) 指定されたパラメーターの新しい WebMergedContextConfiguration インスタンスを作成します。 |