FEST
  1. FEST
  2. FEST-147

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

          • Assignee:
            Ted Young
            Reporter:
            Ansgar Konermann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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