You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Stephen Voorhees <st...@autodesk.com> on 2009/02/12 16:56:56 UTC

Unit test failures in trunk

Hi All,

I pulled the latest and greatest java code from the trunk and am getting a couple of unit test failures in CssContentRewriterTest and JPEGOptimizerTest.  Are these "expected" since things have been moving around?  Trying to figure out if I have issues on my end that I need to dig into.

Thanks!
--Steve



RE: Unit test failures in trunk

Posted by Stephen Voorhees <st...@autodesk.com>.
Done, https://issues.apache.org/jira/browse/SHINDIG-913.

Thanks! --Steve

-----Original Message-----
From: Louis Ryan [mailto:lryan@google.com]
Sent: Thursday, February 12, 2009 9:25 AM
To: shindig-dev@incubator.apache.org
Subject: Re: Unit test failures in trunk

Yup, thats broken. Can you open a JIRA ticket.

On Thu, Feb 12, 2009 at 8:22 AM, Stephen Voorhees <
stephen.voorhees@autodesk.com> wrote:

> I am getting a real test failure in CssContentRewriterTests, testCssBasic
> is failing.  Here's the error:
>
>
> =================================================================================
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.shindig.gadgets.rewrite.CSSContentRewriterTest
>
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec
> <<< FAILURE!
> testCssBasic(org.apache.shindig.gadgets.rewrite.CSSContentRewriterTest)
>  Time elapsed: 0.029 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: null expected:<... fp\3D 1150739864');[
> @import url('http\3A//
> www.test.com/dir/proxy?url\3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css\26gadget\3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml\26<http://www.test.com/dir/proxy?url%5C3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css%5C26gadget%5C3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml%5C26>fp\3D   1150739864');
> @import url('http\3A//www.example.org/hostrelative/excluded/other1.css'<http://www.example.org/hostrelative/excluded/other1.css%27>
> );
> DiV {
>  font: arial;
> ]
> }> but was:<... fp\3D 1150739864');[
> @import url('http\3A//
> www.test.com/dir/proxy?url\3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css\26gadget\3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml\26<http://www.test.com/dir/proxy?url%5C3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css%5C26gadget%5C3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml%5C26>fp\3D 1150739864');
> @import url('http\3A//www.example.org/hostrelative/excluded/other1.css'<http://www.example.org/hostrelative/excluded/other1.css%27>
> );
> DiV {
>  font: arial;]
> }>
>
>
> =================================================================================
>
>
> As for JPEGOptimizerTest, I was imagining things...  It passes with flying
> colors.
>
> --Steve
>
> -----Original Message-----
> From: Louis Ryan [mailto:lryan@google.com]
> Sent: Thursday, February 12, 2009 8:05 AM
> To: shindig-dev@incubator.apache.org
> Subject: Re: Unit test failures in trunk
>
> Stephen
>
> I think you are seeing logged exception messages that are expected by the
> tests as opposed to failures. Which methods are reported as failing?
>
> -Louis
>
> On Thu, Feb 12, 2009 at 7:56 AM, Stephen Voorhees <
> stephen.voorhees@autodesk.com> wrote:
>
> > Hi All,
> >
> > I pulled the latest and greatest java code from the trunk and am getting
> a
> > couple of unit test failures in CssContentRewriterTest and
> > JPEGOptimizerTest.  Are these "expected" since things have been moving
> > around?  Trying to figure out if I have issues on my end that I need to
> dig
> > into.
> >
> > Thanks!
> > --Steve
> >
> >
> >
>

Re: Unit test failures in trunk

Posted by Louis Ryan <lr...@google.com>.
Yup, thats broken. Can you open a JIRA ticket.

On Thu, Feb 12, 2009 at 8:22 AM, Stephen Voorhees <
stephen.voorhees@autodesk.com> wrote:

> I am getting a real test failure in CssContentRewriterTests, testCssBasic
> is failing.  Here's the error:
>
>
> =================================================================================
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.shindig.gadgets.rewrite.CSSContentRewriterTest
>
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec
> <<< FAILURE!
> testCssBasic(org.apache.shindig.gadgets.rewrite.CSSContentRewriterTest)
>  Time elapsed: 0.029 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: null expected:<... fp\3D 1150739864');[
> @import url('http\3A//
> www.test.com/dir/proxy?url\3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css\26gadget\3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml\26<http://www.test.com/dir/proxy?url%5C3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css%5C26gadget%5C3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml%5C26>fp\3D   1150739864');
> @import url('http\3A//www.example.org/hostrelative/excluded/other1.css'<http://www.example.org/hostrelative/excluded/other1.css%27>
> );
> DiV {
>  font: arial;
> ]
> }> but was:<... fp\3D 1150739864');[
> @import url('http\3A//
> www.test.com/dir/proxy?url\3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css\26gadget\3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml\26<http://www.test.com/dir/proxy?url%5C3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css%5C26gadget%5C3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml%5C26>fp\3D 1150739864');
> @import url('http\3A//www.example.org/hostrelative/excluded/other1.css'<http://www.example.org/hostrelative/excluded/other1.css%27>
> );
> DiV {
>  font: arial;]
> }>
>
>
> =================================================================================
>
>
> As for JPEGOptimizerTest, I was imagining things...  It passes with flying
> colors.
>
> --Steve
>
> -----Original Message-----
> From: Louis Ryan [mailto:lryan@google.com]
> Sent: Thursday, February 12, 2009 8:05 AM
> To: shindig-dev@incubator.apache.org
> Subject: Re: Unit test failures in trunk
>
> Stephen
>
> I think you are seeing logged exception messages that are expected by the
> tests as opposed to failures. Which methods are reported as failing?
>
> -Louis
>
> On Thu, Feb 12, 2009 at 7:56 AM, Stephen Voorhees <
> stephen.voorhees@autodesk.com> wrote:
>
> > Hi All,
> >
> > I pulled the latest and greatest java code from the trunk and am getting
> a
> > couple of unit test failures in CssContentRewriterTest and
> > JPEGOptimizerTest.  Are these "expected" since things have been moving
> > around?  Trying to figure out if I have issues on my end that I need to
> dig
> > into.
> >
> > Thanks!
> > --Steve
> >
> >
> >
>

RE: Unit test failures in trunk

Posted by Stephen Voorhees <st...@autodesk.com>.
I am getting a real test failure in CssContentRewriterTests, testCssBasic is failing.  Here's the error:

=================================================================================

-------------------------------------------------------------------------------
Test set: org.apache.shindig.gadgets.rewrite.CSSContentRewriterTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec <<< FAILURE!
testCssBasic(org.apache.shindig.gadgets.rewrite.CSSContentRewriterTest)  Time elapsed: 0.029 sec  <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<... fp\3D 1150739864');[
@import url('http\3A//www.test.com/dir/proxy?url\3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css\26gadget\3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml\26 fp\3D   1150739864');
@import url('http\3A//www.example.org/hostrelative/excluded/other1.css');
DiV {
  font: arial;
]
}> but was:<... fp\3D 1150739864');[
@import url('http\3A//www.test.com/dir/proxy?url\3Dhttp%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css\26gadget\3Dhttp%3A%2F%2Fwww.example.org%2Fdir%2Fg.xml\26 fp\3D 1150739864');
@import url('http\3A//www.example.org/hostrelative/excluded/other1.css');
DiV {
  font: arial;]
}>

=================================================================================


As for JPEGOptimizerTest, I was imagining things...  It passes with flying colors.

--Steve

-----Original Message-----
From: Louis Ryan [mailto:lryan@google.com]
Sent: Thursday, February 12, 2009 8:05 AM
To: shindig-dev@incubator.apache.org
Subject: Re: Unit test failures in trunk

Stephen

I think you are seeing logged exception messages that are expected by the
tests as opposed to failures. Which methods are reported as failing?

-Louis

On Thu, Feb 12, 2009 at 7:56 AM, Stephen Voorhees <
stephen.voorhees@autodesk.com> wrote:

> Hi All,
>
> I pulled the latest and greatest java code from the trunk and am getting a
> couple of unit test failures in CssContentRewriterTest and
> JPEGOptimizerTest.  Are these "expected" since things have been moving
> around?  Trying to figure out if I have issues on my end that I need to dig
> into.
>
> Thanks!
> --Steve
>
>
>

Re: Unit test failures in trunk

Posted by Louis Ryan <lr...@google.com>.
Stephen

I think you are seeing logged exception messages that are expected by the
tests as opposed to failures. Which methods are reported as failing?

-Louis

On Thu, Feb 12, 2009 at 7:56 AM, Stephen Voorhees <
stephen.voorhees@autodesk.com> wrote:

> Hi All,
>
> I pulled the latest and greatest java code from the trunk and am getting a
> couple of unit test failures in CssContentRewriterTest and
> JPEGOptimizerTest.  Are these "expected" since things have been moving
> around?  Trying to figure out if I have issues on my end that I need to dig
> into.
>
> Thanks!
> --Steve
>
>
>