Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-6668

Fix Decimal format for some localizations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.11.0
    • Fix Version/s: None
    • Component/s: Platform
    • Labels:

      Description

      Unit tests were failed in some localizations eg. Polish:

      "FAILURE org.onosproject.ui.table.cell.NumberFormatterTest default2G: default 2G expected:<2[,000.]00000> but was:<2[ 000,]00000>
      FAILURE org.onosproject.ui.table.cell.NumberFormatterTest defaultFifty: default fifty expected:<50[.]00000> but was:<50[,]00000>
      FAILURE org.onosproject.ui.table.cell.NumberFormatterTest defaultZero: default zero expected:<0[.]00000> but was:<0[,]00000>
      FAILURE org.onosproject.ui.table.cell.NumberFormatterTest integer2G: integer 2G expected:<2[,]000> but was:<2[ ]000>
      FAILURE org.onosproject.ui.table.cell.NumberFormatterTest integer5M: integer 5M expected:<5[,000,]042> but was:<5[ 000 ]042>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatPacketRateKilo2: wrong label expected:<1.01[ Kpps]> but was:<1.01[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatPacketRateSmall: wrong label expected:<37[ pps]> but was:<37[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatMegaBytes: wrong label expected:<2.86[ MB]> but was:<2.86[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatClippedBitsSmall: wrong label expected:<64[ bps]> but was:<64[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatClippedBitsGigaExceedThreshold: wrong label expected:<10[ Gbps]> but was:<10[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatGigaBytes: wrong label expected:<3.73[ GB]> but was:<3.73[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatSmallBytes: wrong label expected:<1,000[ B]> but was:<1,000[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatTeraBytes: wrong label expected:<4,656.61[ GB]> but was:<4,656.61[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatClippedBitsGiga: wrong label expected:<3.73[ Gbps]> but was:<3.73[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatClippedBitsKilo: wrong label expected:<15.66[ Kbps]> but was:<15.66[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatClippedBitsMega: wrong label expected:<23.83[ Mbps]> but was:<23.83[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatPacketRateKilo: wrong label expected:<1[ Kpps]> but was:<1[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatPacketRateMega: wrong label expected:<8.58[ Mpps]> but was:<8.58[]>
      FAILURE org.onosproject.ui.topo.TopoUtilsTest formatKiloBytes: wrong label expected:<1.95[ KB]> but was:<1.95[]>"

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sfurman Szymon Furman
            Reporter:
            sfurman Szymon Furman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: