Uploaded image for project: 'MRUnit'
  1. MRUnit
  2. MRUNIT-30

Methods {add,set}{Input,Output}FromString have poor error messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.0
    • None

    Description

      For example, MapDriverBase addOutputFromString throws this error if the message cannot be parse:

      throw new IllegalArgumentException("Could not parse output pair in setOutput");

      The error message should have the bad method name removed and the text which was to be parsed should be added in single quotes.

      Attachments

        1. MRUNIT-30-1.patch
          6 kB
          Brock Noland

        Activity

          People

            brocknoland Brock Noland
            brocknoland Brock Noland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: