cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: svn commit: r416308 - /cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/util/WildcardMatcherHelperTestCase.java
Date Thu, 22 Jun 2006 09:59:35 GMT
Giacomo Pati wrote:
>>>
>>> -    public void testEmptyPattern() throws Exception {
>>> +    public void test21WildcardURIMatch()
>>> +    throws Exception {
>>> +        Map result = WildcardMatcherHelper.match("*/**", "samples/blocks/");
>>> +        assertNotNull(result);
>>> +        assertEquals("", result.get("1"));
> 
> Oh, if this test succeeds isn't it wrong? Shouldn't {1}be "samples"?
> 
Ups, yep - damn copy-paste. I corrected the test case, but it still
fails as the result is null.

Carsten
-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message