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
> 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)
>
>
>


-- 
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