Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace fake singletons in codegen with classes #508

Closed
EgorkaKulikov opened this issue Jul 12, 2022 · 0 comments · Fixed by #540
Closed

Replace fake singletons in codegen with classes #508

EgorkaKulikov opened this issue Jul 12, 2022 · 0 comments · Fixed by #540
Assignees
Labels
comp-codegen Issue is related to code generator ctg-refactoring Issue related to refactoring process

Comments

@EgorkaKulikov
Copy link
Collaborator

Description

Consider an object TestCaseGenerator. It is a singleton now, but just for a historical reasons.
Currently it has an init method that is called from several places in project.
We should use classes with constructors instead of such sigletons.

@EgorkaKulikov EgorkaKulikov added comp-codegen Issue is related to code generator ctg-refactoring Issue related to refactoring process labels Jul 12, 2022
@EgorkaKulikov EgorkaKulikov self-assigned this Jul 12, 2022
@EgorkaKulikov EgorkaKulikov moved this to Todo in UTBot Java Jul 12, 2022
@EgorkaKulikov EgorkaKulikov moved this from Todo to In Progress in UTBot Java Jul 13, 2022
Repository owner moved this from In Progress to Done in UTBot Java Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-codegen Issue is related to code generator ctg-refactoring Issue related to refactoring process
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant