Skip to content

Remove @Disabled from DefaultPackageAddTestCase.testAddDefaultPackage() #244

@xjusko

Description

@xjusko

After replacing JUnit 4 with JUnit 5 in the issue https://issues.redhat.com/browse/SHRINKWRAP-541, the test method testAddDefaultPackage() of the test class DefaultPackageAddTestCase is failing.

The test expects the archive to contain three classes: DefaultPackageAddedTestCase.class, ClassInDefaultPackage.class, and ClassInDefaultPackage$InnerClassInDefaultPackage.class, but since changing to JUnit 5, the archive also contains module-info.class.

We need to check why that is and whether we need to modify the addDefaultPackage() method that is being tested there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions