Skip to content

ProfileValueUtils should enforce class-level usage of @IfProfileValue to override method-level usage [SPR-5914] #10583

Closed

Description

@spring-projects-issues

Sam Brannen opened SPR-5914 and commented

Support for @IfProfileValue is inconsistent across the JUnit 3.8 and JUnit 4.x implementations with regard to class-level overrides. Specifically, the implementation in SpringJUnit4ClassRunner is correct; however, the implementation in AbstractJUnit38SpringContextTests is incorrect due to bugs in the logic in ProfileValueUtils.


Affects: 3.0 M3

Issue Links:

Referenced from: commits 5054802, 696d78c

Activity

  1. spring-projects-issues commented on Jul 9, 2009

    @spring-projects-issues
    CollaboratorAuthor

    Sam Brannen commented

    ProfileValueUtils now properly ensures that class-level usage of @IfProfileValue overrides method-level usage.

  2. added
    type: bug
    in: test
    on Jan 11, 2019
  3. added this to the 3.0 M4 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: testtype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions