File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1292,6 +1292,15 @@ sealed class TypeReplacementApproach {
1292
1292
* @param beanDefinitions describes bean definitions (bean name, type, some optional additional data)
1293
1293
* @param shouldUseImplementors describes it we want to replace interfaces with injected types or not
1294
1294
*/
1295
+ // TODO move it to utbot-framework so we can get use it as abstract factory
1296
+ // to get rid of numerous `when`s and polymorphically create things like:
1297
+ // - Instrumentation<UtConcreteExecutionResult>
1298
+ // - FuzzedType (to get rid of thisInstanceFuzzedTypeWrapper)
1299
+ // - JavaValueProvider
1300
+ // - CgVariableConstructor
1301
+ // - CodeGeneratorResult (generateForSpringClass)
1302
+ // Right now this refactoring is block because interface need to be extracted and moved to utbot-framework-api
1303
+ // As an alternative we can just move ApplicationContext itself to utbot-framework
1295
1304
class SpringApplicationContext (
1296
1305
mockInstalled : Boolean ,
1297
1306
staticsMockingIsConfigured : Boolean ,
You can’t perform that action at this time.
0 commit comments