Skip to content

Commit

Permalink
Make ClosedInjectionStep public but sealed
Browse files Browse the repository at this point in the history
  • Loading branch information
slandelle committed Nov 21, 2018
1 parent 7924093 commit b393a8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,5 @@ case class ClosedInjectionProfile(steps: Iterable[ClosedInjectionStep]) extends
//
//
//
//
//
//
//
//
//
//
//
//
//[fl]
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package io.gatling.core.controller.inject.closed

import scala.concurrent.duration._

private[closed] trait ClosedInjectionStep {
sealed trait ClosedInjectionStep {

def valueAt(t: FiniteDuration): Int

Expand Down Expand Up @@ -49,3 +49,11 @@ case class RampConcurrentNumberInjection(from: Int, to: Int, duration: FiniteDur
from + math.round((to - from).toDouble / durationSeconds * t.toSeconds).toInt
}
}

//[fl]
//
//
//
//
//
//[fl]

0 comments on commit b393a8a

Please sign in to comment.