Skip to content

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

Closed
@Vassiliy-Kudryashov

Description

@Vassiliy-Kudryashov

Description
TestNG doesn't have assertArrayEquals in org.testng.Assert, we have to import org.testng.internal.junit.ArrayAsserts
To Reproduce
Generate some tests for arrays with TestNG

Actual behavior
Wrong import was added to test
import static org.testng.Assert.assertArrayEquals;

Expected behavior
import looks like
import static org.testng.internal.junit.ArrayAsserts.assertArrayEquals;

Environment
Test framework: TestNG
Java: 1.8
Mockito: Other packages
Test: Not parametrized
Additional context: no additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp-codegenIssue is related to code generator

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions