Yeah..The DefaultResponseBuilder test already does that, must've missed the
println() statement in the dojo builder...Will be fixed later.

On 5/10/06, James Carman <[EMAIL PROTECTED]> wrote:

You could try appending the OS's line separator to the end of the String
you're comparing the writer's contents to.

-----Original Message-----
From: Brian K. Wallace [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 11:57 AM
To: Tapestry development
Subject: Re: svn commit: r405719 -

/tapestry/tapestry4/trunk/framework/src/java/org/apache/tapestry/engine/Engi
neServiceLink.java

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I know it's something, but looking at the error sure doesn't help.
(except for the normal "<..." and "...>", it looks the same to me.

Appreciate the look.

Jesse Kuhnert wrote:
> Hmmm..Maybe that's a platform line separator issue. Will try another fix
in
> a bit.
>
> On 5/10/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote:
>>
>     [junit] Testsuite:
> org.apache.tapestry.services.impl.DojoAjaxResponseBuilder
> Test
>     [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 0.08 sec
>
>     [junit] Testcase:
> testWriteExternalScripts(
> org.apache.tapestry.services.impl.DojoAjaxResponseBuilderTest):
> FAILED
>     [junit] expected:<...
>     [junit] <DEFANGED_script type="text/javascript"
> src="http://noname/js/package.js";></script>...> but was:<...
>     [junit] <DEFANGED_script type="text/javascript"
> src="http://noname/js/package.js";></script>
>     [junit] ...>junit.framework.ComparisonFailure: expected:<...
>     [junit] <DEFANGED_script type="text/javascript"
> src="http://noname/js/package.js";></script>...> but was:<...
>     [junit] <DEFANGED_script type="text/javascript"
> src="http://noname/js/package.js";></script>
>     [junit] ...>
>     [junit]     at
> org.apache.tapestry.services.impl.DojoAjaxResponseBuilderTest
> .assertOutput(DojoAjaxResponseBuilderTest.java:61)
>     [junit]     at
> org.apache.tapestry.services.impl.DojoAjaxResponseBuilderTest
> .testWriteExternalScripts(DojoAjaxResponseBuilderTest.java:265)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>     [junit]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java
> :39)
>     [junit]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>
> Jesse Kuhnert wrote:
>> I'm not having any issues with that test, what are you getting?
>
>> On 5/10/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote:
>
>> That seems to have done it for EngineServiceLink. Thanks.
>
>> But... Now there seem to be issues with DojoAjaxResponseBuilderTest.
> :-/
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEYg1aaCoPKRow/gARApZ6AKClrJCMK2PIQZjAGGtP6pErS3XsUwCfcG0k
5Dg29M7AZVlwijepqiQ0Tnw=
=0b2K
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to