void () { assertMatches("foo", "foo"); assertDoesntMatch("foo", "fxoo"); assertMatches("foo", "fOo"); assertMatches("foo", "fxOo"); assertMatches("foo", "fXOo"); assertMatches("fOo", "foo"); assertDoesntMatch("fOo", "FaOaOaXXXX"); assertMatches("ncdfoe", "NoClassDefFoundException"); assertMatches("fob", "FOO_BAR"); assertMatches("fo_b", "FOO_BAR"); assertMatches("fob", "FOO BAR"); assertMatches("fo b", "FOO BAR"); assertMatches("AACl", "AAClass"); assertMatches("ZZZ", "ZZZZZZZZZZ"); assertMatches("em", "emptyList"); assertMatches("bui", "BuildConfig.groovy"); assertMatches("buico", "BuildConfig.groovy"); assertMatches("buico.gr", "BuildConfig.groovy"); assertMatches("bui.gr", "BuildConfig.groovy"); assertMatches("*fz", "azzzfzzz"); assertMatches("WebLogic", "Weblogic"); assertMatches("WebLOgic", "WebLogic"); assertMatches("WEbLogic", "WebLogic"); assertDoesntMatch("WebLogic", "Webologic"); assertMatches("Wlo", "WebLogic"); }