FEST

Allow reuse of formatting helpers in class Formatting by making them public

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: FEST-Assert 1.1
  • Fix Version/s: FEST-Assert 1.2
  • Component/s: Assert
  • Labels:
    None
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

When writing custom assert classes, the static helper functions in class Formatting would come handy. Unfortunately, they are package protected. Hence, they cannot be used outside the FEST namespace. Of course, custom assertion classes populate their own namespace and are thus excluded from using Formatting.*

Patch makes methods format and inBrackets public. Both methods already have unit test coverage.

Activity

Hide
Ted Young added a comment -

Fixed with Revision #268 Committed by tedyoung at 7/2/09 9:46:33 PM

Show
Ted Young added a comment - Fixed with Revision #268 Committed by tedyoung at 7/2/09 9:46:33 PM

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
20m
Original Estimate - 20 minutes
Remaining:
20m
Remaining Estimate - 20 minutes
Logged:
Not Specified
Time Spent - Not Specified