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