diff options
author | Marco Miller <marco.mmiller@gmail.com> | 2020-09-24 14:49:35 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-09-24 14:49:35 +0000 |
commit | c104f431de225d119ed6e2768b4f2a7c866b4570 (patch) | |
tree | f1b8b10ec3c0ff829ef701f400081587331c1331 | |
parent | e988af7127f7a839dc4d55f339e06a3216e03e89 (diff) | |
parent | a2b6084537f85751a3298faf82bf2ab1be3b95ab (diff) |
Merge "GerritSimulation: Rename 'pack' to packageName for clarity" into stable-3.0
-rw-r--r-- | e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala b/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala index 6118460476..cfae0e9f4a 100644 --- a/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala +++ b/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala @@ -23,8 +23,8 @@ import io.gatling.http.request.builder.HttpRequestBuilder class GerritSimulation extends Simulation { implicit val conf: GatlingGitConfiguration = GatlingGitConfiguration() - private val pack = getClass.getPackage.getName - private val path = pack.replaceAllLiterally(".", "/") + private val packageName = getClass.getPackage.getName + private val path = packageName.replaceAllLiterally(".", "/") protected val name: String = getClass.getSimpleName private val pathName = s"data/$path/$name" protected val resource = s"$pathName.json" @@ -87,7 +87,7 @@ class GerritSimulation extends Simulation { } protected def replaceProperty(term: String, default: Any, in: String): String = { - val property = pack + "." + term + val property = packageName + "." + term var value = default default match { case _: String | _: Double => |