diff options
author | Diego <diegolparra@gmail.com> | 2014-12-27 17:09:38 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-28 18:12:27 +0100 |
commit | 58ec8bbe6a5192dc9cba9752324e1f793da156f2 (patch) | |
tree | 03e38722c5da10ef91997835f417a57f142ad6ec /kamon-core/src/test | |
parent | a7c2289a31f841c4abf360db197c355e766fb3e0 (diff) | |
download | Kamon-58ec8bbe6a5192dc9cba9752324e1f793da156f2.tar.gz Kamon-58ec8bbe6a5192dc9cba9752324e1f793da156f2.tar.bz2 Kamon-58ec8bbe6a5192dc9cba9752324e1f793da156f2.zip |
+ system-metrics: fix #135 and includes the following new metrics:
** DiskMetrics
** NonHeapMetrics
** LoadAverageMetrics
** ThreadMetrics
** ClassLoadingMetrics
and closes #131
Diffstat (limited to 'kamon-core/src/test')
-rw-r--r-- | kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala b/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala index 47ef4701..83992e61 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 { @@ -41,18 +41,18 @@ class GlobPathFilterSpec extends WordSpecLike with Matchers { } "match all expressions and crosses the path boundaries" in { - val filter = new GlobPathFilter("/user/actor-**") + val filter = new GlobPathFilter("/user/actor-**") filter.accept("/user/actor-") shouldBe true filter.accept("/user/actor-one") shouldBe true filter.accept("/user/actor-one/other") shouldBe true filter.accept("/user/something/actor") shouldBe false - filter.accept("/user/something/otherActor")shouldBe false + filter.accept("/user/something/otherActor") shouldBe false } "match exactly one characterr" in { - val filter = new GlobPathFilter("/user/actor-?") + val filter = new GlobPathFilter("/user/actor-?") filter.accept("/user/actor-1") shouldBe true filter.accept("/user/actor-2") shouldBe true |