Index
All Classes and Interfaces|All Packages
A
- addComponent(Type, Function<KoraAppGraph, T>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should be added to Graph Context
- addComponent(Type, Supplier<T>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should be added to Graph Context
- addComponent(Type, List<Class<?>>, Function<KoraAppGraph, T>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should be added to Graph Context
- addComponent(Type, List<Class<?>>, Supplier<T>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should be added to Graph Context
C
- components() - Element in annotation interface ru.tinkoff.kora.test.extension.junit5.KoraAppTest
- config() - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppTestConfigModifier
- create() - Static method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
E
- equals(Object) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
F
- findFirst(Class<T>) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
- findFirst(Class<T>, Class<?>...) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
-
Try to find implementation in Graph by type and tags
- findFirst(Type) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
- findFirst(Type, Class<?>...) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
-
Try to find implementation in Graph by type and tags
G
- getAll(Class<T>) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
- getAll(Class<T>, Class<?>...) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
-
Try to find implementation in Graph by type using
Tag.Any - getAll(Type) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
- getAll(Type, Class<?>...) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
-
Try to find implementation in Graph by type using
Tag.Any - getFirst(Class<T>) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
- getFirst(Class<T>, Class<?>...) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
-
Try to find implementation in Graph by type and tags
- getFirst(Type) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
- getFirst(Type, Class<?>...) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppGraph
-
Try to find implementation in Graph by type and tags
- graph() - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraAppTestGraphModifier
H
- hashCode() - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
I
- initializeMode() - Element in annotation interface ru.tinkoff.kora.test.extension.junit5.KoraAppTest
K
- KoraAppGraph - Interface in ru.tinkoff.kora.test.extension.junit5
-
ApplicationGraphDrawabstraction forKoraAppTest - KoraAppTest - Annotation Interface in ru.tinkoff.kora.test.extension.junit5
- KoraAppTest.InitializeMode - Enum Class in ru.tinkoff.kora.test.extension.junit5
- KoraAppTestConfigModifier - Interface in ru.tinkoff.kora.test.extension.junit5
-
Is useful when some part of configuration should be modified before test execution Example: Can be used to change config using TestContainer container ports
- KoraAppTestGraphModifier - Interface in ru.tinkoff.kora.test.extension.junit5
-
Is useful when
ApplicationGraphDrawis needed to be modified before test execution - KoraConfigFile - Class in ru.tinkoff.kora.test.extension.junit5
-
Configs inside
KoraConfigFileare merged in user specified method order - KoraConfigModification - Interface in ru.tinkoff.kora.test.extension.junit5
-
"application.conf" configuration modification for tests with system properties
- KoraConfigString - Class in ru.tinkoff.kora.test.extension.junit5
-
Configs inside
KoraConfigStringare merged in user specified method order - KoraConfigSystemProperties - Class in ru.tinkoff.kora.test.extension.junit5
-
Configs inside
KoraConfigSystemPropertiesare merged in user specified method order - KoraConfigSystemProperties() - Constructor for class ru.tinkoff.kora.test.extension.junit5.KoraConfigSystemProperties
- KoraGraphModification - Class in ru.tinkoff.kora.test.extension.junit5
M
- mockComponent(Type) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should be Mocked with
Mockito - mockComponent(Type, List<Class<?>>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should be Mocked with
Mockito - MockComponent - Annotation Interface in ru.tinkoff.kora.test.extension.junit5
-
Indicate that annotated types will be Mocked and injected
O
- ofResourceFile(String) - Static method in interface ru.tinkoff.kora.test.extension.junit5.KoraConfigModification
-
File is located in "resources" directory than example below:
KoraConfigModification.ofFile("reference-raw.conf") - ofString(String) - Static method in interface ru.tinkoff.kora.test.extension.junit5.KoraConfigModification
-
Example below:
KoraConfigModification.ofString(""" myconfig { myinnerconfig { first = 1 } } """) - ofSystemProperty(String, String) - Static method in interface ru.tinkoff.kora.test.extension.junit5.KoraConfigModification
-
Use system property to set `ENV_FIRST` and 'ENV_SECOND'
KoraConfigModification.ofSystemProperty("ENV_FIRST", "1") .withSystemProperty("ENV_SECOND", "2");
P
- PER_CLASS - Enum constant in enum class ru.tinkoff.kora.test.extension.junit5.KoraAppTest.InitializeMode
-
KoraAppTest.components()instances are initialized each Test Class - PER_METHOD - Enum constant in enum class ru.tinkoff.kora.test.extension.junit5.KoraAppTest.InitializeMode
-
KoraAppTest.components()instances are initialized each Test Method
R
- replaceComponent(Type, Function<KoraAppGraph, ? extends T>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should replace existing one with new one
- replaceComponent(Type, Supplier<? extends T>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should replace existing one with new one
- replaceComponent(Type, List<Class<?>>, Function<KoraAppGraph, ? extends T>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should replace existing one with new one
- replaceComponent(Type, List<Class<?>>, Supplier<? extends T>) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Component that should replace existing one with new one
- ru.tinkoff.kora.test.extension.junit5 - package ru.tinkoff.kora.test.extension.junit5
S
- systemProperties() - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigFile
- systemProperties() - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraConfigModification
- systemProperties() - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigString
- systemProperties() - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigSystemProperties
T
- TestComponent - Annotation Interface in ru.tinkoff.kora.test.extension.junit5
-
Indicate that
ComponentfromKoraAppTest.components()is expected to be injected from graph - toString() - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigFile
- toString() - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigString
- toString() - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigSystemProperties
V
- value() - Element in annotation interface ru.tinkoff.kora.test.extension.junit5.KoraAppTest
- valueOf(String) - Static method in enum class ru.tinkoff.kora.test.extension.junit5.KoraAppTest.InitializeMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class ru.tinkoff.kora.test.extension.junit5.KoraAppTest.InitializeMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withSystemProperty(String, String) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigFile
- withSystemProperty(String, String) - Method in interface ru.tinkoff.kora.test.extension.junit5.KoraConfigModification
-
Example: Given config below
- withSystemProperty(String, String) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigString
- withSystemProperty(String, String) - Method in class ru.tinkoff.kora.test.extension.junit5.KoraConfigSystemProperties
All Classes and Interfaces|All Packages