クラスの使用
org.springframework.test.context.ContextConfigurationAttributes
ContextConfigurationAttributes を使用するパッケージ
パッケージ
説明
このパッケージには Spring TestContext フレームワークが含まれており、使用中の実際のテストフレームワークにとらわれないアノテーション駆動型ユニットおよび統合テストのサポートを提供します。
Spring TestContext フレームワークのサポートクラス。
Web は、Spring TestContext フレームワークのクラスをサポートします。
org.springframework.test.context 内の ContextConfigurationAttributes 使用
型 ContextConfigurationAttributes のパラメーターを持つ org.springframework.test.context のメソッド修飾子と型メソッド説明void
SmartContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) 特定のテストクラスのContextConfigurationAttributes
を処理します。型 ContextConfigurationAttributes の型引数を持つ org.springframework.test.context のメソッドパラメーター修飾子と型メソッド説明ContextCustomizerFactory.createContextCustomizer
(ClassSE<?> testClass, ListSE<ContextConfigurationAttributes> configAttributes) ConfigurableApplicationContext
をリフレッシュする前にカスタマイズするために使用するContextCustomizer
を作成します。org.springframework.test.context.support 内の ContextConfigurationAttributes 使用
型 ContextConfigurationAttributes のパラメーターを持つ org.springframework.test.context.support のメソッド修飾子と型メソッド説明void
AbstractContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) デフォルトの実装では、declaring class
をテストクラスとして使用し、提供されたconfiguration attributes
から取得したresource locations
を処理する場所として使用して、AbstractContextLoader.processLocations(Class, String...)
に類似した場所を処理します。void
AbstractDelegatingSmartContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) 提供されたContextConfigurationAttributes
を処理するための候補SmartContextLoaders
へのデリゲート。void
AnnotationConfigContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) 提供されたContextConfigurationAttributes
のコンポーネントクラスを処理します。型 ContextConfigurationAttributes の型引数を持つ org.springframework.test.context.support のメソッドパラメーター修飾子と型メソッド説明protected ContextLoader
AbstractTestContextBootstrapper.resolveContextLoader
(ClassSE<?> testClass, ListSE<ContextConfigurationAttributes> configAttributesList) ContextConfigurationAttributes
の提供されたリストに使用するContextLoader
SE クラスを解決してから、そのContextLoader
をインスタンス化して返します。protected ClassSE<? extends ContextLoader>
AbstractTestContextBootstrapper.resolveExplicitContextLoaderClass
(ListSE<ContextConfigurationAttributes> configAttributesList) org.springframework.test.context.web 内の ContextConfigurationAttributes 使用
型 ContextConfigurationAttributes のパラメーターを持つ org.springframework.test.context.web のメソッド修飾子と型メソッド説明void
AnnotationConfigWebContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) 提供されたContextConfigurationAttributes
でアノテーション付きクラスを処理します。