Improve OperatingSystemMXBean cpu load tests to not accept -1.0 by default

XMLWordPrintable

      The cpu load tests in OperatingSystemMXBean allow -1.0 which default "not implemented" behaviour.

      Test shouldn't allow -1.0 and have only specific exception to test better.

      Also, need to update test to use getCpuLoad()

            Assignee:
            Leonid Mesnik
            Reporter:
            Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: