diff options
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2013-03-01 13:55:31 +0100 |
---|---|---|
committer | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2013-03-01 13:55:31 +0100 |
commit | 5ae70c92dc9b39251fc4a96bac322ac29b28bd72 (patch) | |
tree | 36d5cfda5ad56f53e62b362bcc548d9224fbb532 /org.jacoco.core.test/src/org/jacoco/core/runtime | |
parent | 57f7cf06888f1e34f9ab2e3129c3d433826ecbe1 (diff) | |
download | jacoco-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.java | 7 |
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")); + } + } |