aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.core.test/src/org/jacoco/core/runtime
diff options
context:
space:
mode:
authorMarc R. Hoffmann <hoffmann@mountainminds.com>2013-03-01 13:55:31 +0100
committerMarc R. Hoffmann <hoffmann@mountainminds.com>2013-03-01 13:55:31 +0100
commit5ae70c92dc9b39251fc4a96bac322ac29b28bd72 (patch)
tree36d5cfda5ad56f53e62b362bcc548d9224fbb532 /org.jacoco.core.test/src/org/jacoco/core/runtime
parent57f7cf06888f1e34f9ab2e3129c3d433826ecbe1 (diff)
downloadjacoco-5ae70c92dc9b39251fc4a96bac322ac29b28bd72.tar.gz
Verify that matcher works for inner classes.
Diffstat (limited to 'org.jacoco.core.test/src/org/jacoco/core/runtime')
-rw-r--r--org.jacoco.core.test/src/org/jacoco/core/runtime/WildcardMatcherTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.jacoco.core.test/src/org/jacoco/core/runtime/WildcardMatcherTest.java b/org.jacoco.core.test/src/org/jacoco/core/runtime/WildcardMatcherTest.java
index d1e930ad..e09547e4 100644
--- a/org.jacoco.core.test/src/org/jacoco/core/runtime/WildcardMatcherTest.java
+++ b/org.jacoco.core.test/src/org/jacoco/core/runtime/WildcardMatcherTest.java
@@ -62,4 +62,11 @@ public class WildcardMatcherTest {
assertTrue(new WildcardMatcher("*Test:*Foo").matches("UnitTest"));
}
+ @Test
+ public void testDollar() {
+ assertTrue(new WildcardMatcher("*$*").matches("java/util/Map$Entry"));
+ assertTrue(new WildcardMatcher("*$$$*")
+ .matches("org/example/Enity$$$generated123"));
+ }
+
}