aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/test/scala/kamon/util
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2016-12-04 15:37:51 -0300
committerDiego <diegolparra@gmail.com>2016-12-04 15:37:51 -0300
commit56039ef037d42cb817d0bc6d5a5891bc87e633c3 (patch)
tree711d36b49d69f7321ea75172d9d4969e318d7afe /kamon-core/src/test/scala/kamon/util
parente02d137ab960676cb89ff597bc33915f8b83a4d2 (diff)
downloadKamon-56039ef037d42cb817d0bc6d5a5891bc87e633c3.tar.gz
Kamon-56039ef037d42cb817d0bc6d5a5891bc87e633c3.tar.bz2
Kamon-56039ef037d42cb817d0bc6d5a5891bc87e633c3.zip
wip
Diffstat (limited to 'kamon-core/src/test/scala/kamon/util')
-rw-r--r--kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala2
-rw-r--r--kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala13
-rw-r--r--kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala2
-rw-r--r--kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala2
4 files changed, 11 insertions, 8 deletions
diff --git a/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala b/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala
index ab98d0ac..7d585087 100644
--- a/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala
@@ -16,7 +16,7 @@
package kamon.util
-import org.scalatest.{ Matchers, WordSpecLike }
+import org.scalatest.{Matchers, WordSpecLike}
class GlobPathFilterSpec extends WordSpecLike with Matchers {
"The GlobPathFilter" should {
diff --git a/kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala b/kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala
index a53451b6..cba6ad98 100644
--- a/kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala
@@ -17,8 +17,8 @@
package kamon.util
import com.typesafe.config.ConfigFactory
-import kamon.metric.instrument.{ Memory, Time }
-import org.scalatest.{ Matchers, WordSpec }
+import kamon.metric.instrument.{Memory, Time}
+import org.scalatest.{Matchers, WordSpec}
class NeedToScaleSpec extends WordSpec with Matchers {
@@ -27,7 +27,8 @@ class NeedToScaleSpec extends WordSpec with Matchers {
val config = ConfigFactory.parseString(
"""
|time-units = "ms"
- """.stripMargin)
+ """.stripMargin
+ )
config match {
case NeedToScale(timeUnits, memoryUnits) ⇒
@@ -39,7 +40,8 @@ class NeedToScaleSpec extends WordSpec with Matchers {
val config = ConfigFactory.parseString(
"""
|memory-units = "kb"
- """.stripMargin)
+ """.stripMargin
+ )
config match {
case NeedToScale(timeUnits, memoryUnits) ⇒
@@ -51,7 +53,8 @@ class NeedToScaleSpec extends WordSpec with Matchers {
val config = ConfigFactory.parseString(
"""
|some-other-key = "value"
- """.stripMargin)
+ """.stripMargin
+ )
config match {
case NeedToScale(timeUnits, memoryUnits) ⇒
diff --git a/kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala b/kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala
index edbf14b3..a2cc8629 100644
--- a/kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala
@@ -16,7 +16,7 @@
package kamon.util
-import org.scalatest.{ Matchers, WordSpecLike }
+import org.scalatest.{Matchers, WordSpecLike}
class RegexPathFilterSpec extends WordSpecLike with Matchers {
"The RegexPathFilter" should {
diff --git a/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala b/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
index a0275b33..4e5394f8 100644
--- a/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
@@ -19,7 +19,7 @@ package kamon.util.executors
import java.util.concurrent.Executors
import kamon.Kamon
-import kamon.metric.{ Entity, EntityRecorder }
+import kamon.metric.{Entity, EntityRecorder}
import kamon.testkit.BaseKamonSpec
class ExecutorServiceMetricsSpec extends BaseKamonSpec("executor-service-metrics-spec") {