Incorrect types in execution lead to compilation errors
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
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: https://github.com/UnitTestBot/usvm/issues/144
- 主要语言
- Kotlin
- 星标
- 33
- 派生
- 27
- 平均合并
- 4 天 3 小时
- 30 天内合并 PR
- 15
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
UnitTestBot/usvm 的其他 Issue
-
难度 5/5 一周以上 新手友好度 45/100
UnitTestBot/usvm#388 ·
-
难度 5/5 一周以上 新手友好度 25/100
UnitTestBot/usvm#384 ·
-
难度 5/5 一周以上 新手友好度 35/100
UnitTestBot/usvm#382 ·
-
难度 4/5 3-5 天 新手友好度 48/100
UnitTestBot/usvm#379 ·
-
难度 5/5 一周以上 新手友好度 25/100
UnitTestBot/usvm#373 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
T31n/YagniLauncher#1051 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
Accepted Needs Triage
难度 2/5 1-3 小时 新手友好度 84/100
ankidroid/Anki-Android#22114 · 5 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
solana-foundation/pay-kit#341 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
element-hq/element-x-android#7783 ·
维护者通常 1 天内回复