Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-1270

Test friendly: don't use System.currentMillis() but use Clock.millis() instead and add a constructor for unit tests to override the default Clock.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 7.25.0.Final
    • None
    • optaplanner-core
    • None

      Additionally, unit test Unimproved time millis spent score difference threshold termination.

              rsynek@redhat.com Radovan Synek (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: