build failure

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

build failure

Warner Onstine
Hi all,
Trying to build from CVS and I'm getting the following error:
     [junit] Testcase:  
TestUpload.xml(org.apache.tapestry.junit.mock.TestMocks): FAILED
     [junit] Request #2/Match Confirmation: Response does not contain  
string 'Contents match.'.
     [junit] junit.framework.AssertionFailedError: Request #2/Match  
Confirmation: Response does not contain string 'Contents match.'.
     [junit]     at  
org.apache.tapestry.junit.mock.MockTester.matchSubstring(MockTester.java
:610)
     [junit]     at  
org.apache.tapestry.junit.mock.MockTester.executeOutputAssertions(MockTe
ster.java:515)
     [junit]     at  
org.apache.tapestry.junit.mock.MockTester.executeAssertions(MockTester.j
ava:379)
     [junit]     at  
org.apache.tapestry.junit.mock.MockTester.executeRequest(MockTester.java
:198)
     [junit]     at  
org.apache.tapestry.junit.mock.MockTester.execute(MockTester.java:147)
     [junit]     at  
org.apache.tapestry.junit.mock.TestMocks.runTest(TestMocks.java:63)


     [junit] TEST org.apache.tapestry.junit.mock.TestMocks FAILED

I can't see anything that I've done wrong (at least off the bat), any  
ideas?

-warner


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: build failure

Erik Hatcher

On May 6, 2005, at 12:17 AM, Warner Onstine wrote:

> Hi all,
> Trying to build from CVS and I'm getting the following error:
>     [junit] Testcase: TestUpload.xml
> (org.apache.tapestry.junit.mock.TestMocks): FAILED
>     [junit] Request #2/Match Confirmation: Response does not  
> contain string 'Contents match.'.
>     [junit] junit.framework.AssertionFailedError: Request #2/Match  
> Confirmation: Response does not contain string 'Contents match.'.
>     [junit]     at  
> org.apache.tapestry.junit.mock.MockTester.matchSubstring
> (MockTester.java:610)
>     [junit]     at  
> org.apache.tapestry.junit.mock.MockTester.executeOutputAssertions
> (MockTester.java:515)
>     [junit]     at  
> org.apache.tapestry.junit.mock.MockTester.executeAssertions
> (MockTester.java:379)
>     [junit]     at  
> org.apache.tapestry.junit.mock.MockTester.executeRequest
> (MockTester.java:198)
>     [junit]     at org.apache.tapestry.junit.mock.MockTester.execute
> (MockTester.java:147)
>     [junit]     at org.apache.tapestry.junit.mock.TestMocks.runTest
> (TestMocks.java:63)
>
>
>     [junit] TEST org.apache.tapestry.junit.mock.TestMocks FAILED
>
> I can't see anything that I've done wrong (at least off the bat),  
> any ideas?

I believe this is a line ending issue and that the tests pass for  
Howard (on Windows).  I haven't looked deeper into it - but we'd love  
for you to :)

     Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: build failure

Howard Lewis Ship
Erik is right, this stuff is fragile because of line ending issues.
It's one of the reasons I've been wanting to move as much test code
out of the mock tests and into real unit tests.

On 5/6/05, Erik Hatcher <[hidden email]> wrote:

>
> On May 6, 2005, at 12:17 AM, Warner Onstine wrote:
>
> > Hi all,
> > Trying to build from CVS and I'm getting the following error:
> >     [junit] Testcase: TestUpload.xml
> > (org.apache.tapestry.junit.mock.TestMocks): FAILED
> >     [junit] Request #2/Match Confirmation: Response does not
> > contain string 'Contents match.'.
> >     [junit] junit.framework.AssertionFailedError: Request #2/Match
> > Confirmation: Response does not contain string 'Contents match.'.
> >     [junit]     at
> > org.apache.tapestry.junit.mock.MockTester.matchSubstring
> > (MockTester.java:610)
> >     [junit]     at
> > org.apache.tapestry.junit.mock.MockTester.executeOutputAssertions
> > (MockTester.java:515)
> >     [junit]     at
> > org.apache.tapestry.junit.mock.MockTester.executeAssertions
> > (MockTester.java:379)
> >     [junit]     at
> > org.apache.tapestry.junit.mock.MockTester.executeRequest
> > (MockTester.java:198)
> >     [junit]     at org.apache.tapestry.junit.mock.MockTester.execute
> > (MockTester.java:147)
> >     [junit]     at org.apache.tapestry.junit.mock.TestMocks.runTest
> > (TestMocks.java:63)
> >
> >
> >     [junit] TEST org.apache.tapestry.junit.mock.TestMocks FAILED
> >
> > I can't see anything that I've done wrong (at least off the bat),
> > any ideas?
>
> I believe this is a line ending issue and that the tests pass for
> Howard (on Windows).  I haven't looked deeper into it - but we'd love
> for you to :)
>
>      Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: build failure

pferraro
This test fails for me as well (on Windows with Java 1.5.0_03).  Are you
certain it's a line ending issue?

Paul

Howard Lewis Ship wrote:

>Erik is right, this stuff is fragile because of line ending issues.
>It's one of the reasons I've been wanting to move as much test code
>out of the mock tests and into real unit tests.
>
>On 5/6/05, Erik Hatcher <[hidden email]> wrote:
>  
>
>>On May 6, 2005, at 12:17 AM, Warner Onstine wrote:
>>
>>    
>>
>>>Hi all,
>>>Trying to build from CVS and I'm getting the following error:
>>>    [junit] Testcase: TestUpload.xml
>>>(org.apache.tapestry.junit.mock.TestMocks): FAILED
>>>    [junit] Request #2/Match Confirmation: Response does not
>>>contain string 'Contents match.'.
>>>    [junit] junit.framework.AssertionFailedError: Request #2/Match
>>>Confirmation: Response does not contain string 'Contents match.'.
>>>    [junit]     at
>>>org.apache.tapestry.junit.mock.MockTester.matchSubstring
>>>(MockTester.java:610)
>>>    [junit]     at
>>>org.apache.tapestry.junit.mock.MockTester.executeOutputAssertions
>>>(MockTester.java:515)
>>>    [junit]     at
>>>org.apache.tapestry.junit.mock.MockTester.executeAssertions
>>>(MockTester.java:379)
>>>    [junit]     at
>>>org.apache.tapestry.junit.mock.MockTester.executeRequest
>>>(MockTester.java:198)
>>>    [junit]     at org.apache.tapestry.junit.mock.MockTester.execute
>>>(MockTester.java:147)
>>>    [junit]     at org.apache.tapestry.junit.mock.TestMocks.runTest
>>>(TestMocks.java:63)
>>>
>>>
>>>    [junit] TEST org.apache.tapestry.junit.mock.TestMocks FAILED
>>>
>>>I can't see anything that I've done wrong (at least off the bat),
>>>any ideas?
>>>      
>>>
>>I believe this is a line ending issue and that the tests pass for
>>Howard (on Windows).  I haven't looked deeper into it - but we'd love
>>for you to :)
>>
>>     Erik
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [hidden email]
>>For additional commands, e-mail: [hidden email]
>>
>>
>>    
>>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: build failure

Warner Onstine
I got it to work with jdk 1.4 on windows, so I guess it could be
anything. I plan on digging into this this weekend.

-warner

On May 6, 2005, at 4:43 PM, Paul Ferraro wrote:

> This test fails for me as well (on Windows with Java 1.5.0_03).  Are
> you certain it's a line ending issue?
>
> Paul
>
> Howard Lewis Ship wrote:
>
>> Erik is right, this stuff is fragile because of line ending issues.
>> It's one of the reasons I've been wanting to move as much test code
>> out of the mock tests and into real unit tests.
>>
>> On 5/6/05, Erik Hatcher <[hidden email]> wrote:
>>
>>> On May 6, 2005, at 12:17 AM, Warner Onstine wrote:
>>>
>>>
>>>> Hi all,
>>>> Trying to build from CVS and I'm getting the following error:
>>>>    [junit] Testcase: TestUpload.xml
>>>> (org.apache.tapestry.junit.mock.TestMocks): FAILED
>>>>    [junit] Request #2/Match Confirmation: Response does not
>>>> contain string 'Contents match.'.
>>>>    [junit] junit.framework.AssertionFailedError: Request #2/Match
>>>> Confirmation: Response does not contain string 'Contents match.'.
>>>>    [junit]     at
>>>> org.apache.tapestry.junit.mock.MockTester.matchSubstring
>>>> (MockTester.java:610)
>>>>    [junit]     at
>>>> org.apache.tapestry.junit.mock.MockTester.executeOutputAssertions
>>>> (MockTester.java:515)
>>>>    [junit]     at
>>>> org.apache.tapestry.junit.mock.MockTester.executeAssertions
>>>> (MockTester.java:379)
>>>>    [junit]     at
>>>> org.apache.tapestry.junit.mock.MockTester.executeRequest
>>>> (MockTester.java:198)
>>>>    [junit]     at org.apache.tapestry.junit.mock.MockTester.execute
>>>> (MockTester.java:147)
>>>>    [junit]     at org.apache.tapestry.junit.mock.TestMocks.runTest
>>>> (TestMocks.java:63)
>>>>
>>>>
>>>>    [junit] TEST org.apache.tapestry.junit.mock.TestMocks FAILED
>>>>
>>>> I can't see anything that I've done wrong (at least off the bat),
>>>> any ideas?
>>>>
>>> I believe this is a line ending issue and that the tests pass for
>>> Howard (on Windows).  I haven't looked deeper into it - but we'd love
>>> for you to :)
>>>
>>>     Erik
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]