Grails

Patch: Additional Tests for WebUtils#getFormatFromURI

Details

  • Type: Test Test
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.0.1
  • Component/s: None
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Testcase included:
    yes

Description

The attached patch includes additional tests for WebUtils#getFormatFromURI. The existing assertions in WebUtilsTest only cover the cases where the URI actually includes a format. These additional assertions cover the scenarios where the URI contains no format and #getFormatFromURI must return null.

Activity

Hide
Graeme Rocher added a comment -

applied. thanks

Show
Graeme Rocher added a comment - applied. thanks

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: