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:[email protected]]
Sent: Thursday, February 12, 2009 8:05 AM
To: [email protected]
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 <
[email protected]> 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
>
>
>
-------------------------------------------------------------------------------
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;]
}>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at 
org.apache.shindig.gadgets.rewrite.CSSContentRewriterTest.testCssBasic(CSSContentRewriterTest.java:69)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

Reply via email to