List Info

Thread: Error Test1 on NxThemeJSF.




Error Test1 on NxThemeJSF.
user name
2006-12-14 11:07:50
I've got the same on NXRelationsJenaPlugin too.

Florent

----- Message d'origine ----
De : "bjalonfree.fr" <bjalonfree.fr>;
À : ecmlists.nuxeo.com
Envoyé le : Jeudi, 14 Décembre 2006, 11h23mn 00s
Objet&nbsp;: Re: [Ecm] Error Test1 on NxThemeJSF.

There is the same on NXRelationsJenaPlugin.



Selon Jean-Marc Orliaguet <jmochalmers.se>:

>; bjalonfree.fr wrote:
>; > Hi all,
> >
> > I'm working on Windows, Eclipse 3.2.1, Junit
> > When I launch TestAll Junit Test, Test1 throws this error :
> >
> > junit.framework.ComparisonFailure: expected:&lt;...
> > #{nxthemesInfo.map.i1.element.uid}
> > #{nxthemesInfo.map.i1.format.properties.charset}
> > #{ (nxthemesInfo.map.i1.test) ? "on" : "off"}
>; > <div>;content<;/div>...> but was:<...
> > #{nxthemesInfo.map.i1.element.uid}
> > #{nxthemesInfo.map.i1.format.properties.charset}
> > #{ (nxthemesInfo.map.i1.test) ? "on" : "off"}
>; > <div>;content<;/div>
&gt; > ...>
&gt; >
>
> thanks, it could be that line breaks are compared too and they differ in
> Unix and Windows.
&gt;
> I'm checking this.
>
> /JM
>
&gt;
>
&gt; >  &nbsp; &nbsp;at junit.framework.Assert.assertEquals(Assert.java:81)
&gt; >  &nbsp; &nbsp;at junit.framework.Assert.assertEquals(Assert.java:87)
&gt; >  &nbsp; &nbsp;at org.nuxeo.theme.test.jsfview.TestJSFView.test1(TestJSFView.java:51)
> >  &nbsp; &nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; >  &nbsp; &nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
&gt; >  &nbsp; &nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
&gt; >  &nbsp; &nbsp;at java.lang.reflect.Method.invoke(Unknown Source)
&gt; >  &nbsp; &nbsp;at junit.framework.TestCase.runTest(TestCase.java:154)
&gt; >  &nbsp; &nbsp;at org.jmock.core.VerifyingTestCase.runBare(Unknown Source)
&gt; >  &nbsp; &nbsp;at junit.framework.TestResult$1.protect(TestResult.java:106)
> >  &nbsp; &nbsp;at junit.framework.TestResult.runProtected(TestResult.java:124)
> >  &nbsp; &nbsp;at junit.framework.TestResult.run(TestResult.java:109)
&gt; >  &nbsp; &nbsp;at junit.framework.TestCase.run(TestCase.java:118)
> >  &nbsp; &nbsp;at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >  &nbsp; &nbsp;at junit.framework.TestSuite.run(TestSuite.java:203)
> >  &nbsp; &nbsp;at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >  &nbsp; &nbsp;at junit.framework.TestSuite.run(TestSuite.java:203)
> >  &nbsp; &nbsp;at
> >
>
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
> >  &nbsp; &nbsp;at
> >
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> >  &nbsp; &nbsp;at
> >
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> >  &nbsp; &nbsp;at
> >
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> >  &nbsp; &nbsp;at
> >
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
&gt; >  &nbsp; &nbsp;at
> >
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
&gt; >
> > I have some difficulty to see the difference...
> >
> > Benjamin
&gt; > _______________________________________________
> > ECM mailing list
> > ECMlists.nuxeo.com
> > http://lists.nuxeo.com/mailman/listinfo/ecm
> >
>
>


_______________________________________________
ECM mailing list
ECMlists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm



Nouveau : téléphonez moins cher avec Yahoo! Messenger. Appelez le monde entier à partir de 0,012 ¤/minute ! Téléchargez la version beta.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )