Index

A B C E G I L O R S T V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractJUnit4SpringIntegrationTest - Class in com.github.seregamorph.testsmartcontext.junit4
Deprecated.
support of JUnit 4 will be removed in 1.0 release
AbstractJUnit4SpringIntegrationTest() - Constructor for class com.github.seregamorph.testsmartcontext.junit4.AbstractJUnit4SpringIntegrationTest
Deprecated.
 
AbstractJUnitSpringIntegrationTest - Class in com.github.seregamorph.testsmartcontext.jupiter
Base class for JUnit 5 Jupiter integration tests that create spring context.
AbstractJUnitSpringIntegrationTest() - Constructor for class com.github.seregamorph.testsmartcontext.jupiter.AbstractJUnitSpringIntegrationTest
 
AbstractTestNGSpringIntegrationTest - Class in com.github.seregamorph.testsmartcontext.testng
Base class for TestNG integration tests that create spring context.
AbstractTestNGSpringIntegrationTest() - Constructor for class com.github.seregamorph.testsmartcontext.testng.AbstractTestNGSpringIntegrationTest
 
afterPropertiesSet() - Method in class com.github.seregamorph.testsmartcontext.jdbc.LateInitDataSource
 
afterTestClass(TestContext) - Method in class com.github.seregamorph.testsmartcontext.SmartDirtiesContextTestExecutionListener
 
alter(List<XmlSuite>) - Method in class com.github.seregamorph.testsmartcontext.testng.SmartDirtiesSuiteListener
 
apply(TestDescriptor) - Method in class com.github.seregamorph.testsmartcontext.SmartDirtiesPostDiscoveryFilter
 

B

beforeTestClass(TestContext) - Method in class com.github.seregamorph.testsmartcontext.SmartDirtiesContextTestExecutionListener
 
BootstrapUtilsHelper - Class in org.springframework.test.context
Accessor of spring-boot package visible utility

C

classOrderStateMapSize(String) - Static method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSupport
 
close() - Method in class com.github.seregamorph.testsmartcontext.jdbc.CloseableDelegatingDataSource
 
CloseableDelegatingDataSource - Class in com.github.seregamorph.testsmartcontext.jdbc
Closeable DataSource which delegates close call to target
CloseableDelegatingDataSource() - Constructor for class com.github.seregamorph.testsmartcontext.jdbc.CloseableDelegatingDataSource
 
CloseableDelegatingDataSource(DataSource) - Constructor for class com.github.seregamorph.testsmartcontext.jdbc.CloseableDelegatingDataSource
 
com.github.seregamorph.testsmartcontext - package com.github.seregamorph.testsmartcontext
 
com.github.seregamorph.testsmartcontext.jdbc - package com.github.seregamorph.testsmartcontext.jdbc
 
com.github.seregamorph.testsmartcontext.junit4 - package com.github.seregamorph.testsmartcontext.junit4
 
com.github.seregamorph.testsmartcontext.jupiter - package com.github.seregamorph.testsmartcontext.jupiter
 
com.github.seregamorph.testsmartcontext.testng - package com.github.seregamorph.testsmartcontext.testng
 
createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - Method in class com.github.seregamorph.testsmartcontext.SpringContextEventLoggerListenerCustomizerFactory
 
CurrentTestContext - Class in com.github.seregamorph.testsmartcontext
Utility class to obtain current integration test class (executed by SpringExtension, SpringJUnit4ClassRunner or extending AbstractTestNGSpringContextTests depending on test framework).

E

ENGINE_JUNIT_JUPITER - Static variable in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSupport
 
ENGINE_TESTNG - Static variable in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSupport
 

G

getCurrentTestClassName() - Static method in class com.github.seregamorph.testsmartcontext.CurrentTestContext
Get current test class name.
getInstance() - Static method in class com.github.seregamorph.testsmartcontext.IntegrationTestFilter
 
getInstance() - Static method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSorter
 
getItemType() - Method in class com.github.seregamorph.testsmartcontext.TestClassExtractor
 
getNonItClasses() - Method in class com.github.seregamorph.testsmartcontext.TestSortResult
 
getNonItOrder() - Method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSorter
Get the order of non-integration test execution (bigger is later).
getOrder() - Method in class com.github.seregamorph.testsmartcontext.SmartDirtiesContextTestExecutionListener
 
getSortedConfigToTests() - Method in class com.github.seregamorph.testsmartcontext.TestSortResult
 
getTestClass(T) - Method in class com.github.seregamorph.testsmartcontext.TestClassExtractor
 

I

initialSort(List<T>, TestClassExtractor<? super T>) - Method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSorter
 
IntegrationTestFilter - Class in com.github.seregamorph.testsmartcontext
Integration Test class filter that should be ordered (as they use spring context).
IntegrationTestFilter() - Constructor for class com.github.seregamorph.testsmartcontext.IntegrationTestFilter
 
intercept(List<IMethodInstance>, ITestContext) - Method in class com.github.seregamorph.testsmartcontext.testng.SmartDirtiesSuiteListener
 
isInnerClass(Class<?>) - Static method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSupport
 
isIntegrationTest(Class<?>) - Method in class com.github.seregamorph.testsmartcontext.IntegrationTestFilter
Returns true if testClass is a Spring integration test class
isIntegrationTestJUnit4(Class<?>) - Method in class com.github.seregamorph.testsmartcontext.IntegrationTestFilter
This method should be only called if JUnit4 is on the classpath
isIntegrationTestJUnit5Jupiter(Class<?>) - Method in class com.github.seregamorph.testsmartcontext.IntegrationTestFilter
This method should be only called if JUnit5 Jupiter API is on the classpath

L

LateInitDataSource - Class in com.github.seregamorph.testsmartcontext.jdbc
DataSource decorator which resolves delegate DataSource on first demand.
LateInitDataSource(String, Supplier<DataSource>) - Constructor for class com.github.seregamorph.testsmartcontext.jdbc.LateInitDataSource
 
LateInitDataSource(Supplier<DataSource>) - Constructor for class com.github.seregamorph.testsmartcontext.jdbc.LateInitDataSource
 

O

obtainTargetDataSource() - Method in class com.github.seregamorph.testsmartcontext.jdbc.LateInitDataSource
 
ofClass(Function<T, Class<?>>) - Static method in class com.github.seregamorph.testsmartcontext.TestClassExtractor
 
ofMethod(Function<T, Class<?>>) - Static method in class com.github.seregamorph.testsmartcontext.TestClassExtractor
 
onApplicationEvent(ApplicationContextEvent) - Method in class com.github.seregamorph.testsmartcontext.SpringContextEventLoggerListener
 
onContextClosedEvent(ContextClosedEvent) - Method in class com.github.seregamorph.testsmartcontext.SpringContextEventLoggerListener
 
onContextRefreshedEvent(ContextRefreshedEvent) - Method in class com.github.seregamorph.testsmartcontext.SpringContextEventLoggerListener
 
onCreated() - Method in class com.github.seregamorph.testsmartcontext.SpringContextEventLoggerListener
 
orderClasses(ClassOrdererContext) - Method in class com.github.seregamorph.testsmartcontext.jupiter.SmartDirtiesClassOrderer
 
org.springframework.test.context - package org.springframework.test.context
 

R

resolveTestContextBootstrapper(Class<?>) - Static method in class org.springframework.test.context.BootstrapUtilsHelper
 

S

setFailureCause(Throwable) - Static method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSupport
 
setTestClassesLists(String, TestSortResult) - Static method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSupport
 
singletonList(Class<?>) - Static method in class com.github.seregamorph.testsmartcontext.TestSortResult
 
SmartDirtiesClassOrderer - Class in com.github.seregamorph.testsmartcontext.jupiter
Auto-discovered Jupiter ClassOrderer which reorders and groups the integration test classes per their configuration.
SmartDirtiesClassOrderer() - Constructor for class com.github.seregamorph.testsmartcontext.jupiter.SmartDirtiesClassOrderer
 
SmartDirtiesContextTestExecutionListener - Class in com.github.seregamorph.testsmartcontext
Listener that works in more tricky way than spring DirtiesContextTestExecutionListener.
SmartDirtiesContextTestExecutionListener() - Constructor for class com.github.seregamorph.testsmartcontext.SmartDirtiesContextTestExecutionListener
 
SmartDirtiesPostDiscoveryFilter - Class in com.github.seregamorph.testsmartcontext
Auto-discovered JUnit platform PostDiscoveryFilter which reorders and groups integration test classes according to their configuration.
SmartDirtiesPostDiscoveryFilter() - Constructor for class com.github.seregamorph.testsmartcontext.SmartDirtiesPostDiscoveryFilter
 
SmartDirtiesSuiteListener - Class in com.github.seregamorph.testsmartcontext.testng
SmartDirtiesSuiteListener() - Constructor for class com.github.seregamorph.testsmartcontext.testng.SmartDirtiesSuiteListener
 
SmartDirtiesTestsSorter - Class in com.github.seregamorph.testsmartcontext
The logic of this class can be customized via
SmartDirtiesTestsSorter() - Constructor for class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSorter
 
SmartDirtiesTestsSupport - Class in com.github.seregamorph.testsmartcontext
This class should only be used internally by the framework.
SmartDirtiesTestsSupport() - Constructor for class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSupport
 
sort(List<T>, TestClassExtractor<? super T>) - Method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSorter
Sorts passed testItems (contains both integration and unit tests) in-place, all tests are sequentially grouped by MergedContextConfiguration calculated per each test class.
SpringContextEventLoggerListener - Class in com.github.seregamorph.testsmartcontext
Helper bean that logs spring bootstrap and shutdown events.
SpringContextEventLoggerListener() - Constructor for class com.github.seregamorph.testsmartcontext.SpringContextEventLoggerListener
 
SpringContextEventLoggerListenerCustomizerFactory - Class in com.github.seregamorph.testsmartcontext
 
SpringContextEventLoggerListenerCustomizerFactory() - Constructor for class com.github.seregamorph.testsmartcontext.SpringContextEventLoggerListenerCustomizerFactory
 

T

TEST_CLASS - Enum constant in enum com.github.seregamorph.testsmartcontext.TestClassExtractor.ItemType
 
TEST_METHOD - Enum constant in enum com.github.seregamorph.testsmartcontext.TestClassExtractor.ItemType
 
TestClassExtractor<T> - Class in com.github.seregamorph.testsmartcontext
 
TestClassExtractor(TestClassExtractor.ItemType) - Constructor for class com.github.seregamorph.testsmartcontext.TestClassExtractor
 
TestClassExtractor.ItemType - Enum in com.github.seregamorph.testsmartcontext
 
TestSortResult - Class in com.github.seregamorph.testsmartcontext
 
toString() - Method in class com.github.seregamorph.testsmartcontext.jdbc.LateInitDataSource
 
toString() - Method in class com.github.seregamorph.testsmartcontext.TestSortResult
 

V

valueOf(String) - Static method in enum com.github.seregamorph.testsmartcontext.TestClassExtractor.ItemType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.seregamorph.testsmartcontext.TestClassExtractor.ItemType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyInnerClass(Class<?>) - Static method in class com.github.seregamorph.testsmartcontext.SmartDirtiesTestsSupport
 
A B C E G I L O R S T V 
All Classes and Interfaces|All Packages|Constant Field Values