utbot-framework/src/main/kotlin/org/utbot/framework/codegen/Domain.kt |
Make class Import abstract (for python imports), make class TestFramework open, field assertEquals and methdod assertionId open. Add nullable field testSuperClass to TestFramework (contains superclass for test class). |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/Keywords.kt |
Move function getLanguageKeywords into CgLanguageAssistant |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/CodeGenerator.kt |
Make class CodeGenerator , field context and methods open. Swap fields in class CodeGeneratorResult . |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/CgMethodTestSet.kt |
Add new constructors for CgMethodTestSet |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/TestClassContext.kt |
Remove internal from data class TestClassContext |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/builtin/UtilMethodBuiltins.kt |
Remove internal from class UtilMethodProvider |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/context/CgContext.kt |
Remove internal from classes Context and CgContextOwner . Add field cgLanguageAssistant into CgContextOwner . Move logic from CgContext.__outerMostTestClassContext and CgContext.outerMostTestClass to CgLanguageAssistant |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/name/CgNameGenerator.kt |
Remove internal from CgNameGenerator and CgNameGeneratorImpl , change codegenLanguage argument to cgLanguageAssistant |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/CgFieldStateManager.kt |
Remove internal from interface CgFieldStateManager |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/CgMethodConstructor.kt |
Change private to protected and add empty else branches in UtModel -when |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/CgTestClassConstructor.kt |
Change private to open or protected, add cgLanguageAssistant call instead standard implementations |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/CgVariableConstructor.kt |
Change private to open and add else branch in UtModel -when |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/MockFrameworkManager.kt |
Remove internal and add else branch in UtModel -when |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/TestFrameworkManager.kt |
Remove internal from TestFrameworkManager |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/util/ConstructorUtils.kt |
Remove internal from EnvironmentFieldStateCache , FieldStateCache , CgFieldState , CgContextOwner.importIfNeeded |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/tree/CgElement.kt |
Add visit for CgForEachLoop |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/util/DependencyPatterns.kt |
Add else-branch in TestFramework -whens |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/util/TreeUtil.kt |
Remove internal from buildExceptionHandler |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/visitor/CgAbstractRenderer.kt |
Add CgForEachLoop visit function, change private to protected some methods, move makeRender logic to CgLanguageAssistant |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/visitor/CgJavaRenderer.kt |
Remove language field |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/visitor/CgKotlinRenderer.kt |
Remove language field, change context.codegenLanugage to context.cgLanguageAssistant |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/visitor/CgRendererContext.kt |
Remove internal and add cgLanguageAssistant field |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/visitor/CgVisitor.kt |
Add visit for CgForEachLoop |
utbot-framework/src/main/kotlin/org/utbot/framework/concrete/MockValueConstructor.kt |
Add else-branch in UtModel -when |
utbot-framework/src/main/kotlin/org/utbot/framework/concrete/UtModelConstructor.kt |
Remove internal |
utbot-framework/src/main/kotlin/org/utbot/framework/fields/ExecutionStateAnalyzer.kt |
Add else-branch in UtModel -when |
utbot-framework/src/main/kotlin/org/utbot/framework/minimization/Minimization.kt |
Add else-branch in UtModel -when |
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/CgLanguageAssistant.kt |
New file with CgLanguageAssistant |
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/JavaCgLanguageAssistant.kt |
Implementation CgLanguageAssistant for Java |
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/KotlinCgLanguageAssistant.kt |
Implementation CgLanguageAssistant for Kotlin |
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/LanguageTestFrameworkManager.kt |
New file with LanguageTestFrameworkManager |
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/JVMTestFrameworkManager.kt |
Implementation LanguageTestFrameworkManager for JVM (Java + Kotlin) |