[REBOL] Re: re REBOL-Tests
From: dvydra2:yaho:o at: 1-Mar-2001 10:01
Michal,
Thanks for the work-around. I also put a ZIP file on
the site. The .rip file worked for me, so it must be
browser dependent.
Regards,
David
--- Michal Kracik <[kracik--mbox--dkm--cz]> wrote:
> I got the same error when I saved the rip file with
> Netscape. Perhaps
> the webserver does not send the file as binary.
>
> try:
>
> >> write/binary %rebol-unit024.rip read/binary
> http://vydra.net/rebol-unit/rebol-unit024.rip
> >> do %rebol-unit024.rip
>
> that worked for me.
>
> --
> Michal Kracik
>
> Mike Yaunish wrote:
> >
> > At 02:50 PM 28/02/01 -0800, you wrote:
> > When I try to unpack the rebol-unit I get the
> following:
> > >> do %rebol-unit024.rip
> > Checksum failed 11676573 12228222
> >
> > >Bo and Everybody,
> > >
> > >I was just discussing this same issue at work two
> days
> > >ago. My shop is XP and we write unit-tests before
> we
> > >code as weel as automated functional tests that
> are
> > >created with the feedback of our users.
> > >
> > >We are using REBOL to created our func-tests
> framework
> > >and therefore we have written rebol-unit, which
> you
> > >will find at
> > >http://vydra.net/rebol-unit/rebol-unit.html .
> > >
> > >If we all write tests to the same interface
> > >(rebol-unit?) multiple parties can add tests into
> the
> > >suite without any code rewriting.
> > >
> > >Please let me know if this makes sense to you.
> > >Rebol-unit is an open source project.
> > >
> > >Regards,
> > >
> > >David
> > >
> > >
> > >
> > >--- [bo--rebol--com] wrote:
> > > >
> > > > Frank (and others working on spec'ing REBOL),
> > > >
> > > > If you have any tests that you've written to
> > > > validate the results of
> > > > your implementation, please forward them to
> > > > [feedback--rebol--com]. We're
> > > > always looking for more good tests to add to
> our
> > > > test suite.
> > > >
> > > > Thanks in advance for your efforts to help
> make
> > > > REBOL better.
> > > >
> > > > -Bo
> > > >
> > > > On 27-Feb-2001/16:48:20+1:00, [fsievert--uos--de]
> wrote:
> > > > >Hi!
> > > > >
> > > > >I have now implemented more than 50% of all
> action!
> > > > and native! values.
> > > > >Freebell runs (slow) on a Psion PDAs, too.
> > > > >
> > > > >You can see the status of the project at:
> > > > >
> > > >
> >
>
>http://proton.cl-ki.uni-osnabrueck.de/Freebell/status.html
> > > > >and try Freebell/Core 0.05 at
> > > > >
> http://proton.cl-ki.uni-osnabrueck.de/Freebell/
> > > > >
> > > > >I implemented a way to handle java-object!'s
> with
> > > > REBOL.
> > > > >Try "do demo" in the Freebell-Input-Field.
> > > > >
> > > > >Demo is defined:
> > > > >
> > > > >demo: func [/local win mem tmp] [
> > > > > mem: []
> > > > > if not empty? mem [
> > > > > win: first mem
> > > > > win/setVisible [no]
> > > > > clear mem
> > > > > ]
> > > > > insert mem win: make java-object!
> > > > "java.awt.Frame" ["Demo"]
> > > > >
> > > > > win/setLayout [make java-object!
> > > > "java.awt.BorderLayout" []]
> > > > >
> > > > > win/add [make java-object!
> "java.awt.Label" [
> > > > > "Freebell can open windows!"
> > > > > ] "North" ]
> > > > > win/add [tmp: make java-object!
> > > > "java.awt.Button" ["Ok"] "Center"]
> > > > >
> > > > > tmp/addActionListener [make
> java-object!
> > > > "Freebell.ActionListener" [
> > > > > to java-object! [win/setVisible
> [no]]
> > > > > ]]
> > > > > win/setSize [300 100]
> > > > > win/setVisible [yes]
> > > > > ()
> > > > >]
> > > > >
> > > > >
> > > > >You can create a java-object! using
> > > > >
> > > > > make java-object! "path.package.Class"
> [arguments
> > > > for constructor]
> > > > > (the block of Arguments is reduced)
> > > > >
> > > > >or
> > > > >
> > > > > make java-object! "path.package.Class" none
> > > > > (to get the Class-Object itself for
> invoking
> > > > static methods)
> > > > >
> > > > >or
> > > > >
> > > > > to java-object! value
> > > > > (to get the FreebellValue-Object)
> > > > >
> > > > >You can load a java-object! to get a
> > > > REBOL-Representation of it:
> > > > >
> > > > > load make java-object! "java.lang.String"
> > > > ["Hello"]
> > > > > == "Hello"
> > > > >
> > > > >Having a java-object! you can use a path on
> it.
> > > > >
> > > > > a: make java-object!
> "java.lang.StringBuffer"
> > > > ["Hello"]
> > > > > load a/append/toString ["!!"] []
> > > > > == "Hello!!"
> > > > >
> > > > >As you can see, this works like:
> > > > >
> > > > > a: make java-object!
> "java.lang.StringBuffer"
> > > > ["Hello"]
> > > > > b: a/append ["!!"]
> > > > > load b/toString []
> > > > > == "Hello!!"
> > > > >
> > > > >Have fun,
> > > > >Frank
> > > > >
> > > > >--
> > > > >To unsubscribe from this list, please send an
> email
> > > > to
> > > > >[rebol-request--rebol--com] with "unsubscribe" in
> the
> > > > >subject, without the quotes.
> > > > >
> > > > --
> > > > Bohdan "Bo"
> Lechnowsky
> > > > REBOL Adventure
> Guide
> > > > REBOL Technologies 707-467-8000
> > > > (http://www.rebol.com)
> > > > The Official Source for REBOL Books
> > > > (http://www.REBOLpress.com)
> > > >
> > > > --
> > > > To unsubscribe from this list, please send an
> email
> > > > to
> > > > [rebol-request--rebol--com] with "unsubscribe" in
> the
> > > > subject, without the quotes.
>
=== message truncated ===
=====
please reply to: [david--vydra--net]