Skip to content

Main branch broken due to handling user-defined imports #2990

Description

@Zegveld

When running the tests of the main branch they fail at:

[ERROR] Failures:
[ERROR] org.mapstruct.ap.test.bugs._2897.Issue2897Test.shouldImportNestedClassInMapperImports
[ERROR]   Run 1: Issue2897Test.shouldImportNestedClassInMapperImports [Expected checkstyle compliant output, but got errors:
[ERROR] C:\Programmeren\github\mapstruct\processor\target\compilation-tests\org.mapstruct.ap.test.bugs._2897.Issue2897Test\shouldImportNestedClassInMapperImports_jdk\generated-sources\org\mapstruct\ap\test\bugs\_2897\Issue2897MapperImpl.java:4:8: Nicht verwendeter Import - org.mapstruct.ap.test.bugs._2897.util.Util. [UnusedImports]
]
Expecting:
 <true>
to be equal to:
 <false>
but was not.
[ERROR]   Run 2: Issue2897Test.shouldImportNestedClassInMapperImports [Expected checkstyle compliant output, but got errors:
[ERROR] C:\Programmeren\github\mapstruct\processor\target\compilation-tests\org.mapstruct.ap.test.bugs._2897.Issue2897Test\shouldImportNestedClassInMapperImports_eclipse\generated-sources\org\mapstruct\ap\test\bugs\_2897\Issue2897MapperImpl.java:4:8: Nicht verwendeter Import - org.mapstruct.ap.test.bugs._2897.util.Util. [UnusedImports]
]
Expecting:
 <true>
to be equal to:
 <false>
but was not.

I'm creating a fix for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions