Skip to content

Detecting lang63 tests #71

@andre15silva

Description

@andre15silva

Test detection faces a bug in the lang63 example, because of the following test cases:

org.apache.commons.lang.enum.EnumTest
org.apache.commons.lang.enum.EnumUtilsTest
org.apache.commons.lang.enum.ValuedEnumTest

The issue is that the fully qualified names passed to test-runner, for these classes, are actually just the class name itself:

[EnumTest, EnumUtilsTest, ValuedEnumTest, org.apache.commons.lang.ArrayUtilsAddTest, org.apache.commons.lang.ArrayUtilsRemoveTest, org.apache.commons.lang.ArrayUtilsTest, org.apache.commons.lang.BitFieldTest, org.apache.commons.lang.BooleanUtilsTest, org.apache.commons.lang.CharEncodingTest, org.apache.commons.lang.CharRangeTest, ...

My working hypothesis is that this issue comes from Spoon not handling a package name with the keyword enum well.

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