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

Incorrect types in execution lead to compilation errors #163

Open
EgorkaKulikov opened this issue Nov 29, 2023 · 0 comments
Open

Incorrect types in execution lead to compilation errors #163

EgorkaKulikov opened this issue Nov 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@EgorkaKulikov
Copy link
Collaborator

Run ContestEstimator with the following options:

timeLimit = 30
methodFilter = "com.google.common.base.CaseFormat.*"
projectFilter = listOf("guava-26.0")

There are the following compilation errors:

Compilation errors: C:\UtBotJava\UTBotJava\utbot-junit-contest\build\output\test_candidates\guava-26.0\com\google\common\base\CaseFormatTest.java:418: error: incompatible types: Object cannot be converted to CaseFormat
        CaseFormat sourceFormatMock = mock(anonymousCaseFormatClazz);

or

 Compilation errors: C:\UtBotJava\UTBotJava\utbot-junit-contest\build\output\test_candidates\guava-26.0\com\google\common\base\CaseFormatTest.java:63: error: incompatible types: String cannot be converted to Throwable
        (when((((Throwable) stringMock)).getCause())).thenReturn(((Throwable) null));

Run ContestEstimator with the following options:

timeLimit = 30
methodFilter = "com.google.common.collect.Queues.*"
projectFilter = listOf("guava-26.0")

There are the following compilation errors: #144

@EgorkaKulikov EgorkaKulikov added the bug Something isn't working label Nov 29, 2023
@Damtev Damtev assigned Saloed and unassigned Damtev Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants