Skip to content

assertArrayEquals overload is not found, tests doesn't compile  #135

Closed
@alexeyfridman

Description

@alexeyfridman

SAT-1622

Project: guava-26.0. Class: com.google.common.primitives.Booleans.
Compilation Error during compiling Test Class after test generation:

C:\Users\sWX1143086\work\UnitTestBot\UTBotJava\utbot-junit-contest\build\output\test_candidates\guava-26.0\com\google\common\primitives\BooleansTest.java:605: error: no suitable method found for assertArrayEquals(boolean[],boolean[])
assertArrayEquals(expected, actual);
^
method Assert.assertArrayEquals(long[],long[]) is not applicable
(argument mismatch; boolean[] cannot be converted to long[])
method Assert.assertArrayEquals(int[],int[]) is not applicable
(argument mismatch; boolean[] cannot be converted to int[])
method Assert.assertArrayEquals(short[],short[]) is not applicable
(argument mismatch; boolean[] cannot be converted to short[])
method Assert.assertArrayEquals(char[],char[]) is not applicable
(argument mismatch; boolean[] cannot be converted to char[])
method Assert.assertArrayEquals(byte[],byte[]) is not applicable
(argument mismatch; boolean[] cannot be converted to byte[])
method Assert.assertArrayEquals(Object[],Object[]) is not applicable
(argument mismatch; boolean[] cannot be converted to Object[])

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions