Skip to content

It can not get the class, if run in testcase. #5

@MayiTiny

Description

@MayiTiny

I run with the Junit in test-class,it cann't get the files in class package.
So that means this class can not work with unit test.
Thanks a lot:)

PS:what about use this?
Thread.currentThread().getContextClassLoader().getResources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions