I downloaded Clojure Contrib Stable 1.2 from
http://github.com/downloads/clojure/clojure-contrib/clojure-contrib-1.2.0.zip
And builded with "mvn package".

The results are:

Testing clojure.contrib.test-io

FAIL in (test-as-url) (test_io.clj:21)
expected: (= (URL. "file:/foo") (as-url (File. "/foo")))
  actual: (not (= #<URL file:/foo> #<URL file:/C:/foo>))

FAIL in (test-relative-path-string) (test_io.clj:40)
absolute path strings are forbidden
expected: (thrown? IllegalArgumentException (relative-path-string (str
File/sepa
rator "baz")))
  actual: nil

FAIL in (test-relative-path-string) (test_io.clj:44)
absolute File paths are forbidden
expected: (thrown? IllegalArgumentException (relative-path-string (File.
(str Fi
le/separator "quux"))))
  actual: nil





Testing clojure.contrib.test-profile

FAIL in (test-print-summary) (test_profile.clj:7)
doesn't blow up with no data (assembla #31)
expected: (= "Name      mean       min       max     count       sum\n"
(with-ou
t-str (print-summary {})))
  actual: (not (= "Name      mean       min       max     count       sum\n"
"Na
me      mean       min       max     count       sum\r\n"))




Ran 365 tests containing 1300 assertions.
4 failures, 0 errors.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Clojure failed.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Mon Aug 30 11:01:35 CEST 2010
[INFO] Final Memory: 13M/31M
[INFO]
------------------------------------------------------------------------


On 27 August 2010 16:02, B Smith-Mannschott <bsmith.o...@gmail.com> wrote:

> What test failures are you seeing? I'm not seeing any building
> github.com/clojure/clojure-contrib 1.2.0-RC3
> (e4ea06c9ff93df3b3f667ab5768618ece5a98b6e).
>
> Ran 365 tests containing 1298 assertions.
> 0 failures, 0 errors.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
>
> // Ben
>
> On Fri, Aug 27, 2010 at 15:25, Michael Jaaka <michael.ja...@googlemail.com
> > wrote:
>
>> Agree with Daniel Janus. There are some conflicts without any reason.
>> This should be cleaned up for 1.2.1 version.
>> More over when I build clojure-contrib-1.2.jar I get 4 failures on
>> tests due to. It shouldn't appear in a final versions.
>> All contributors and Rick do a great job but you should think about
>> some QA.
>>
>> On 27 Sie, 15:20, B Smith-Mannschott <bsmith.o...@gmail.com> wrote:
>> > On Fri, Aug 27, 2010 at 13:54, Daniel Janus <nath...@gmail.com> wrote:
>> > > Hi,
>> >
>> > > so I finally got around to port my app to Clojure 1.2 and got confused
>> > > about the contrib shuffles.
>> >
>> > > There's clojure.java.io and clojure.contrib.io. The docs on the
>> latter
>> > > says that most of the functions defined in there are deprecated, and
>> > > one should use clojure.java.io instead. But clojure.java.io lacks
>> some
>> > > of the very useful macros and function I'm using, like with-in-reader,
>> > > with-out-writer, slurp*, to name but a few; clojure.contrib.io does
>> > > have them, but it relies on its own primitives, instead of building on
>> > > clojure.java.io. So in a way I'm committed to using (if indirectly)
>> > > code that is already deprecated. What are the plans for contrib
>> > > development in this case?
>> >
>> > with-out-writer and with-in-reader do indeed seem to be missing. By
>> hand,
>> > this would be e.g.
>> >
>> > (with-open [r (io/reader x)]
>> >   (binding [*in* r]
>> >     (read)))
>> >
>> > But that seems like the kind of boiler-plate a macro or function should
>> be
>> > provided for...
>> >
>> > > On a side note: shouldn't slurp* and slurp be unified somehow in a
>> > > future release?
>> >
>> > The slurp in clojure 1.2 corehttp://
>> clojure.github.com/clojure/clojure.core-api.html#clojure.core/...
>> > now properly supports encoding by passing :encoding. For example:
>> >
>> > (slurp path :encoding "UTF-8")
>> >
>> > > Also, contrib 1.2's str-utils contains the following confusing comment
>> > > at the very top:
>> >
>> > > ;; DEPRECATED in 1.2: Promoted to clojure.java.string. Note that
>> > > ;; many function names and semantics have changed
>> >
>> > I believe clojure.string (in Clojure 1.2.0) is what was meant.
>> >
>> >
>> >
>> > > whereas there's no such thing as clojure.java.string.
>> >
>> > > Daniel
>> >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> > > Groups "Clojure" group.
>> > > To post to this group, send email to clojure@googlegroups.com
>> > > Note that posts from new members are moderated - please be patient
>> with
>> > > your first post.
>> > > To unsubscribe from this group, send email to
>> > > clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
>> <clojure%2bunsubscr...@googlegroups.com<clojure%252bunsubscr...@googlegroups.com>>
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/clojure?hl=en
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to