Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-852

Merlin function testProcessOrderBy() needs to use string ordering instead of enum ordering

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6
    • Component/s: merlin
    • Labels:
      None

      Description

      we have code:

                  InstancesResult.WorkflowStatus current = instance.getStatus();
                  softAssert.assertTrue(current.compareTo(previousStatus) <= 0,
                      "Wrong order. Compared " + current + " and " + previousStatus + " statuses.");
      

      since current and previous dates are enums it results in enum comparison we want string comparison at this point.

        Attachments

        1. FALCON-852-2.patch
          2 kB
          Raghav Kumar Gautam
        2. FALCON-852.patch
          1 kB
          Raghav Kumar Gautam

          Activity

            People

            • Assignee:
              raghavgautam Raghav Kumar Gautam
              Reporter:
              raghavgautam Raghav Kumar Gautam
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: