On Wed, Nov 19, 2008 at 11:59 AM, Sebastien Bocq
<[EMAIL PROTECTED]>wrote:

>
> I tried again "git pull" followed by "mvn clean install"and I get the
> same error.
>
> Fast forward
> .../scala/net/liftweb/textile/TextileParser.scala  | 1265
> ++------------------
> .../main/scala/net/liftweb/http/CometActor.scala   |    2 +-
> .../main/scala/net/liftweb/http/LiftSession.scala  |    1 +
> .../scala/net/liftweb/mapper/MappedField.scala     |   24 +-
> .../main/scala/net/liftweb/mapper/MappedLong.scala |    6 +
> .../src/main/scala/net/liftweb/mapper/Mapper.scala |   29 +-
> .../net/liftweb/example/model/WikiEntry.scala      |   16 +-
> .../scala/net/liftweb/example/snippet/Wiki.scala   |    4 +-
> 8 files changed, 165 insertions(+), 1182 deletions(-)
>
> ...
>
> Failed tests:
>  A Textile Parse can 3 bullets
>  A Textile Parse can 3 bullets strong
>  A Textile Parse can 3 bullets not strong
>

I've added code that converts CR/LF pairs into LF.  Please see if it works
now.


>
>
> 2008/11/19 David Pollak <[EMAIL PROTECTED]>:
> >
> >
> > On Tue, Nov 18, 2008 at 4:59 PM, David Pollak
> > <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> On Tue, Nov 18, 2008 at 1:17 PM, Dano <[EMAIL PROTECTED]> wrote:
> >>>
> >>> This is a really curious error.  Using identical sources, it passes on
> >>> my Linux box but fails on my Windows laptop.
> >>
> >> It's a CR/LF issue.
> >>
> >> I'll fix it up.
> >
> > I've checked in code.  Please pull it and let me know if it works on
> Windows
> >
> >>
> >>
> >>>
> >>> I cleaned out my maven repository on my laptop just in case, but got
> >>> the same result.
> >>>
> >>>
> >>> On Nov 17, 1:58 pm, "David Pollak" <[EMAIL PROTECTED]>
> >>> wrote:
> >>> > Weird.
> >>> >
> >>> > I spent a while this morning adding these tests and they do indeed
> pass
> >>> > on
> >>> > my machine.
> >>> >
> >>> > I'm trying a clean build (I just blew away my Maven repository) to
> see
> >>> > if I
> >>> > can reproduce the issue.
> >>> >
> >>> > On Mon, Nov 17, 2008 at 1:43 PM, Sebastien Bocq
> >>> > <[EMAIL PROTECTED]>wrote:
> >>> >
> >>> > > Hello,
> >>> >
> >>> > > I could not wait and just pulled the latest version of lift for
> scala
> >>> > > 2.7.2 but some tests fail in TextileTestSpec. It has issues with
> >>> > > bullet lists, I placed the test report in attachment.
> >>> >
> >>> > > I pulled lift from git like this:
> >>> > > > cd liftweb
> >>> > > > git pull
> >>> > > (scala.version pom.xml is 2.7.2)
> >>> > > > mvn clean install
> >>> >
> >>> > > Thanks,
> >>> > > Sebastien
> >>> >
> >>> > >
> >>> > >
> -------------------------------------------------------------------------------
> >>> > > Test set: net.liftweb.textile.TextileSpecTest
> >>> >
> >>> > >
> >>> > >
> -------------------------------------------------------------------------------
> >>> > > Tests run: 11, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
> >>> > > 0.578 sec
> >>> > > <<< FAILURE!
> >>> > > A Textile Parse can 3 bullets  Time elapsed: 0 sec  <<< FAILURE!
> >>> > > org.specs.specification.FailureException: <p>
> >>> > > <br></br>* Hello
> >>> > > <br></br>* Dude
> >>> > > <br></br>* Dog
> >>> > > </p>
> >>> > >  is not equal to <ul><li> Hello</li>
> >>> > > <li> Dude</li>
> >>> > > <li> Dog</li>
> >>> > > </ul>
> >>> > >        at
> >>> > >
> >>> > >
> net.liftweb.textile.TextileSpec$$anonfun$1$$anonfun$apply$22.apply(TextileSpec.scala:65)
> >>> > >        at
> >>> > >
> >>> > >
> net.liftweb.textile.TextileSpec$$anonfun$1$$anonfun$apply$22.apply(TextileSpec.scala:57)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.specification.ExampleLifeCycle$class.executeTest(ExampleLifeCycle.scala:20)
> >>> > >        at
> org.specs.Specification.executeTest(Specification.scala:25)
> >>> > >        at org.specs.specification.Sus.executeTest(Sus.scala:143)
> >>> > >        at
> >>> > > org.specs.specification.Example$$anonfun$2.apply(Example.scala:118)
> >>> > >        at
> >>> > > org.specs.specification.Example$$anonfun$2.apply(Example.scala:105)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.specification.Example$$anonfun$in$1.apply(Example.scala:137)
> >>> > >        at
> org.specs.specification.Example.execute(Example.scala:154)
> >>> > >        at
> >>> > > org.specs.specification.Example.subExamples(Example.scala:92)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.runner.ExamplesTestSuite$$anonfun$initialize$2.apply(JUnit.scala:121)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.runner.ExamplesTestSuite$$anonfun$initialize$2.apply(JUnit.scala:116)
> >>> > >        at scala.Iterator$class.foreach(Iterator.scala:410)
> >>> > >        at
> >>> > >
> >>> > >
> scala.collection.mutable.SingleLinkedList$$anon$1.foreach(SingleLinkedList.scala:50)
> >>> > >        at scala.Iterable$class.foreach(Iterable.scala:256)
> >>> > >        at scala.collection.mutable.Queue.foreach(Queue.scala:24)
> >>> > >        at
> >>> > > org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:116)
> >>> > >        at org.specs.runner.JUnitSuite$class.init(JUnit.scala:31)
> >>> > >        at org.specs.runner.ExamplesTestSuite.init(JUnit.scala:107)
> >>> > >        at org.specs.runner.JUnitSuite$class.run(JUnit.scala:37)
> >>> > >        at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:136)
> >>> > >        at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >>> > >        at junit.framework.TestSuite.run(TestSuite.java:227)
> >>> > >        at org.specs.runner.JUnitSuite$class.run(JUnit.scala:37)
> >>> > >        at
> >>> > > net.liftweb.textile.TextileSpecTest.run(TextileSpec.scala:24)
> >>> > >        at
> >>> > > org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:28)
> >>> > >        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)
> >>> >
> >>> > > A Textile Parse can 3 bullets strong  Time elapsed: 0 sec  <<<
> >>> > > FAILURE!
> >>> > > org.specs.specification.FailureException: <p>
> >>> > > <br></br><strong> </strong>Hello* moo
> >>> > > <br></br>* Dude
> >>> > > <br></br>* Dog
> >>> > > </p>
> >>> > >  is not equal to <ul><li> <strong>Hello</strong> moo</li>
> >>> > > <li> Dude</li>
> >>> > > <li> Dog</li>
> >>> > > </ul>
> >>> > >        at
> >>> > >
> >>> > >
> net.liftweb.textile.TextileSpec$$anonfun$1$$anonfun$apply$25.apply(TextileSpec.scala:81)
> >>> > >        at
> >>> > >
> >>> > >
> net.liftweb.textile.TextileSpec$$anonfun$1$$anonfun$apply$25.apply(TextileSpec.scala:73)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.specification.ExampleLifeCycle$class.executeTest(ExampleLifeCycle.scala:20)
> >>> > >        at
> org.specs.Specification.executeTest(Specification.scala:25)
> >>> > >        at org.specs.specification.Sus.executeTest(Sus.scala:143)
> >>> > >        at
> >>> > > org.specs.specification.Example$$anonfun$2.apply(Example.scala:118)
> >>> > >        at
> >>> > > org.specs.specification.Example$$anonfun$2.apply(Example.scala:105)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.specification.Example$$anonfun$in$1.apply(Example.scala:137)
> >>> > >        at
> org.specs.specification.Example.execute(Example.scala:154)
> >>> > >        at
> >>> > > org.specs.specification.Example.subExamples(Example.scala:92)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.runner.ExamplesTestSuite$$anonfun$initialize$2.apply(JUnit.scala:121)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.runner.ExamplesTestSuite$$anonfun$initialize$2.apply(JUnit.scala:116)
> >>> > >        at scala.Iterator$class.foreach(Iterator.scala:410)
> >>> > >        at
> >>> > >
> >>> > >
> scala.collection.mutable.SingleLinkedList$$anon$1.foreach(SingleLinkedList.scala:50)
> >>> > >        at scala.Iterable$class.foreach(Iterable.scala:256)
> >>> > >        at scala.collection.mutable.Queue.foreach(Queue.scala:24)
> >>> > >        at
> >>> > > org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:116)
> >>> > >        at org.specs.runner.JUnitSuite$class.init(JUnit.scala:31)
> >>> > >        at org.specs.runner.ExamplesTestSuite.init(JUnit.scala:107)
> >>> > >        at org.specs.runner.JUnitSuite$class.run(JUnit.scala:37)
> >>> > >        at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:136)
> >>> > >        at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >>> > >        at junit.framework.TestSuite.run(TestSuite.java:227)
> >>> > >        at org.specs.runner.JUnitSuite$class.run(JUnit.scala:37)
> >>> > >        at
> >>> > > net.liftweb.textile.TextileSpecTest.run(TextileSpec.scala:24)
> >>> > >        at
> >>> > > org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:28)
> >>> > >        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)
> >>> >
> >>> > > A Textile Parse can 3 bullets not strong  Time elapsed: 0 sec  <<<
> >>> > > FAILURE!
> >>> > > org.specs.specification.FailureException: <p>
> >>> > > <br></br><strong> </strong>Hello moo
> >>> > > <br></br>* Dude
> >>> > > <br></br>* Dog
> >>> > > </p>
> >>> > >  is not equal to <ul><li> *Hello moo</li>
> >>> > > <li> Dude</li>
> >>> > > <li> Dog</li>
> >>> > > </ul>
> >>> > >        at
> >>> > >
> >>> > >
> net.liftweb.textile.TextileSpec$$anonfun$1$$anonfun$apply$28.apply(TextileSpec.scala:97)
> >>> > >        at
> >>> > >
> >>> > >
> net.liftweb.textile.TextileSpec$$anonfun$1$$anonfun$apply$28.apply(TextileSpec.scala:89)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.specification.ExampleLifeCycle$class.executeTest(ExampleLifeCycle.scala:20)
> >>> > >        at
> org.specs.Specification.executeTest(Specification.scala:25)
> >>> > >        at org.specs.specification.Sus.executeTest(Sus.scala:143)
> >>> > >        at
> >>> > > org.specs.specification.Example$$anonfun$2.apply(Example.scala:118)
> >>> > >        at
> >>> > > org.specs.specification.Example$$anonfun$2.apply(Example.scala:105)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.specification.Example$$anonfun$in$1.apply(Example.scala:137)
> >>> > >        at
> org.specs.specification.Example.execute(Example.scala:154)
> >>> > >        at
> >>> > > org.specs.specification.Example.subExamples(Example.scala:92)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.runner.ExamplesTestSuite$$anonfun$initialize$2.apply(JUnit.scala:121)
> >>> > >        at
> >>> > >
> >>> > >
> org.specs.runner.ExamplesTestSuite$$anonfun$initialize$2.apply(JUnit.scala:116)
> >>> > >        at scala.Iterator$class.foreach(Iterator.scala:410)
> >>> > >        at
> >>> > >
> >>> > >
> scala.collection.mutable.SingleLinkedList$$anon$1.foreach(SingleLinkedList.scala:50)
> >>> > >        at scala.Iterable$class.foreach(Iterable.scala:256)
> >>> > >        at scala.collection.mutable.Queue.foreach(Queue.scala:24)
> >>> > >        at
> >>> > > org.specs.runner.ExamplesTestSuite.initialize(JUnit.scala:116)
> >>> > >        at org.specs.runner.JUnitSuite$class.init(JUnit.scala:31)
> >>> > >        at org.specs.runner.ExamplesTestSuite.init(JUnit.scala:107)
> >>> > >        at org.specs.runner.JUnitSuite$class.run(JUnit.scala:37)
> >>> > >        at org.specs.runner.ExamplesTestSuite.run(JUnit.scala:136)
> >>> > >        at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >>> > >        at junit.framework.TestSuite.run(TestSuite.java:227)
> >>> > >        at org.specs.runner.JUnitSuite$class.run(JUnit.scala:37)
> >>> > >        at
> >>> > > net.liftweb.textile.TextileSpecTest.run(TextileSpec.scala:24)
> >>> > >        at
> >>> > > org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:28)
> >>> > >        at
> >>> > >
> >>> > >
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> >>> > >        at
> >>> >
> >>> > ...
> >>> >
> >>> > read more ยป
> >>>
> >>
> >>
> >>
> >> --
> >> Lift, the simply functional web framework http://liftweb.net
> >> Collaborative Task Management http://much4.us
> >> Follow me: http://twitter.com/dpp
> >> Git some: http://github.com/dpp
> >
> >
> >
> > --
> > Lift, the simply functional web framework http://liftweb.net
> > Collaborative Task Management http://much4.us
> > Follow me: http://twitter.com/dpp
> > Git some: http://github.com/dpp
> >
> > >
> >
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to