diff options
author | taca <taca@pkgsrc.org> | 2002-01-04 00:36:54 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2002-01-04 00:36:54 +0000 |
commit | 34d3786380d6df72b027dd3abb5c8726621a2ec5 (patch) | |
tree | 85588053dc7b291d872cb01e2f4211dac7effcd8 /devel | |
parent | 45029035084f57cfd8e52e5e642c3d2995da7e55 (diff) | |
download | pkgsrc-34d3786380d6df72b027dd3abb5c8726621a2ec5.tar.gz |
Update ruby-unit package to 0.5.2. Changes are below.
Sun Dec 23 12:05:26 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/testsuite.rb: add extend_test instead of decorate_test_element.
* runit/testcase.rb: ditto.
* runit/ext/testdecorator.rb ditto.
Sat Dec 22 15:16:23 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/assert.rb(assert_exception): handles any kinds of
exceptions.
* tests/testassert.rb: ditto.
* runit/testcase.rb: add TestCase#count_test_cases.
* runit/testsuite.rb(Testsuite#add): accepts any kinds of argument.
* tests/testtestsuite.rb: ditto.
* runit/testsuite.rb: moved definition of decorated to
runit/ext/testdecorator.rb.
* runit/testcase.rb: ditto.
* runit/ext/testdecorator.rb: ditto.
Mon Dec 17 09:59:58 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/testfailure.rb: remove stacktrace at rubyunit.rb.
* doc_en/testcase.rd: update document matching the latest version.
* doc_en/testsuite.rd: ditto.
* doc_ja/testcase.rd: ditto.
* doc_ja/testsuite.rd: ditto.
* rubyunit.rb: TestSuite is subclass of Array.
* runit/testcase.rb: ditto.
* runit/testsuite.rb: ditto.
* tests/test_all_suite.rb: ditto.
* tests/testtestsuite.rb: ditto.
* runit/testfailure.rb: remove stacktrace at rubyunit.rb.
* sample/simpletest.rb: using rubyunit.rb.
* runit/version.rb: version 0.5.0.
Sun Dec 16 16:54:49 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* bin/c2t.rb: using rubyunit.rb.
* sample/sample01.rb: ditto.
* testrd2html.rb: ditto.
* tests/test_all_suite.rb: ditto.
* tests/testc2t.rb: ditto.
* tests/testassert.rb: add test of assert_exception
* doc_en/testcase.rd: add TestCase.test_cases TestCase.test_classes.
* doc_ja/testcase.rd: ditto.
* runit/testcase.rb: ditto.
* runit/testsuite.rb: refactoring
* install.rb: add rubyunit.rb
* add rubyunit.rb (Thanks to Dave Thomas)
Thu Nov 29 21:02:37 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/assert.rb: to_str => to_string
* test.rb unshift () => unshift()
* version 0.4.8
Sat Nov 24 19:39:45 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/testresult.rb(TestResult#start_test): correct the condition
when initializing @test_start_time.
* version 0.4.7
Fri Nov 23 14:47:49 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* doc_en: remove method index files.
* doc_ja: ditto.
* makehtml.rb: ditto.
* testrd2html.rb: ditto.
Sun Nov 18 17:59:22 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/testfailure.rb(TestFailure): add TestClass name in stack trace.
* runit/testresult.rb(TestResult): ditto.
* runit/assert.rb(Assert) : delegate TestFailure removing
runit/*.rb from stack trace.
Sat Nov 17 10:49:31 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/assert.rb (Assert#assert_match): return Regexp.last_match
if assert_match succeeded.
* runit/assert.rb (Assert#assert_not_match): The error message
specifies matching string when assert_not_match failed
* runit/version.rb 0.4.6
Sun Nov 11 14:51:50 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/assert.rb (Assert): refactoring
* runit/assert.rb (Assert#assert): 1st argument type should be TrueClass or FalseClass.
* runit/version.rb: 0.4.5
Sat Nov 3 20:32:26 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/assert.rb (Assert): refactoring
* runit/version.rb: 0.4.4
Sat Oct 27 16:11:29 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/testresult.rb (TestResult): remove TestResult#run
* runit/testcase.rb (TestCase#run): not call TestResult#run
* runit/error.rb: stop to define ScriptError
* runit/version.rb: 0.4.3
Sat Oct 27 15:43:13 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* sample/sample01.rb: TestSuite#add instead of TestSuite#add_test.
* sample/testall.rb: ditto.
* tests/testtestsuite.rb: ditto.
* tests/testtestresultitem.rb: ditto.
* tests/testtestresult.rb: ditto.
* tests/testtestdecorator.rb: ditto.
* tests/testtest_runnable.rb: ditto.
* tests/testteardownable.rb: ditto.
* tests/testskipassert.rb: ditto.
* tests/testsetuppable.rb: ditto.
* tests/testc2t.rb: ditto.
* tests/testall.rb: ditto.
* tests/test_all_suite.rb: ditto.
Wed Oct 24 23:11:41 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/testsuite.rb (TestSuite): @test_s --> @tests
* tests/testtestsuite.rb (TestSuite): ditto.
* runit/testsuite.rb (TestSuite#add): added. add_test is alias of add.
* runit/testcase.rb (TestCase.all_suite): use TestSuite#add instead of TestSuite#add_test.
* bin/c2t.rb (TestFrame#testrunner): ditto.
* runit/cui/testrunner.rb (TestRunner): remove create_result.
* runit/cui/testrunner.rb (TestRunner): QUIET_MODE[0] --> @@quiet_mode.
* runit/assert.rb (Assert): FAILURE_SKIP[0] --> @@skip_failure.
Sun Oct 21 16:12:25 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* runit/testresult.rb: refactoring
* test.rb: run test_all_suite.rb using installed ruby
Fri Oct 10 21:04:34 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* doc_en/assert.rd: assert_match, 1st argument and 2nd argument are opposition.
* doc_en/assert.rd: assert_not_match, ditto.
* doc_en/assert.rd: assert_match, ditto.
* doc_ja/assert.rd: assert_not_match, ditto.
Sun Oct 7 15:09:28 2001 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* re-formatting ChangeLog file. :-)
version 0.4.2
* assert.rb: deal with warning with msg.concat
* assert.rb: Should be AssertionFailedError when Assert.skip_failure is true.
version 0.4.1
* attach_setup, attach_teardown should be private method.
version 0.4.0
* RUNIT::TestCase.all_suite
* setupable --> setuppable, mapable --> mappable
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-unit/Makefile | 13 | ||||
-rw-r--r-- | devel/ruby-unit/PLIST | 53 | ||||
-rw-r--r-- | devel/ruby-unit/distinfo | 6 |
3 files changed, 41 insertions, 31 deletions
diff --git a/devel/ruby-unit/Makefile b/devel/ruby-unit/Makefile index 7f68cbf173c..5b33bdeb58f 100644 --- a/devel/ruby-unit/Makefile +++ b/devel/ruby-unit/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2001/07/04 16:02:36 taca Exp $ +# $NetBSD: Makefile,v 1.3 2002/01/04 00:36:54 taca Exp $ # FreeBSD: ports/devel/ruby-runit/Makefile,v 1.10 2001/01/19 09:41:15 knu Exp -DISTNAME= rubyunit-0.3.9.03a -PKGNAME= ${RUBY_PKGNAMEPREFIX}unit-0.3.9.3 +DISTNAME= rubyunit-${VERSION} +PKGNAME= ${RUBY_PKGNAMEPREFIX}unit-${VERSION} CATEGORIES= devel MASTER_SITES= http://homepage1.nifty.com/markey/ruby/rubyunit/ @@ -10,15 +10,16 @@ MAINTAINER= taca@netbsd.org HOMEPAGE= http://homepage1.nifty.com/markey/ruby/rubyunit/rubyunit_e.html COMMENT= Ruby implementation of eXtreme Programming +VERSION= 0.5.2 DIST_SUBDIR= ruby USE_RUBY_RD= yes REPLACE_RUBY= bin/c2t.rb bin/runtest.rb BINS= c2t runtest -DOCS= ChangeLog README ToDo -EXAMPLE= simpletest.rb testall.rb testarray.rb testrepeatedtest.rb \ - testtestsetup.rb +DOCS= ChangeLog README README.ja ToDo +EXAMPLE= sample01.rb sampletestsetup.rb simpletest.rb \ + testall.rb testarray.rb testrepeatedtest.rb testtestsetup.rb do-build: @cd ${WRKSRC}; \ diff --git a/devel/ruby-unit/PLIST b/devel/ruby-unit/PLIST index 9155684093b..9fa19c8cb9e 100644 --- a/devel/ruby-unit/PLIST +++ b/devel/ruby-unit/PLIST @@ -1,17 +1,20 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:26:35 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/01/04 00:36:54 taca Exp $ bin/c2t bin/c2t.rb bin/runtest bin/runtest.rb +${RUBY_SITELIBDIR}/rubyunit.rb ${RUBY_SITELIBDIR}/runit/assert.rb ${RUBY_SITELIBDIR}/runit/cui/testrunner.rb +@dirrm ${RUBY_SITELIBDIR}/runit/cui ${RUBY_SITELIBDIR}/runit/error.rb ${RUBY_SITELIBDIR}/runit/ext/repeatedtest.rb ${RUBY_SITELIBDIR}/runit/ext/testdecorator.rb ${RUBY_SITELIBDIR}/runit/ext/testsetup.rb -${RUBY_SITELIBDIR}/runit/method_mapable.rb +@dirrm ${RUBY_SITELIBDIR}/runit/ext +${RUBY_SITELIBDIR}/runit/method_mappable.rb ${RUBY_SITELIBDIR}/runit/robserver.rb -${RUBY_SITELIBDIR}/runit/setupable.rb +${RUBY_SITELIBDIR}/runit/setuppable.rb ${RUBY_SITELIBDIR}/runit/teardownable.rb ${RUBY_SITELIBDIR}/runit/testcase.rb ${RUBY_SITELIBDIR}/runit/testfailure.rb @@ -19,36 +22,31 @@ ${RUBY_SITELIBDIR}/runit/testresult.rb ${RUBY_SITELIBDIR}/runit/testsuite.rb ${RUBY_SITELIBDIR}/runit/topublic.rb ${RUBY_SITELIBDIR}/runit/version.rb -@dirrm ${RUBY_SITELIBDIR}/runit/cui -@dirrm ${RUBY_SITELIBDIR}/runit/ext @dirrm ${RUBY_SITELIBDIR}/runit ${RUBY_DOCDIR}/runit/ChangeLog ${RUBY_DOCDIR}/runit/README +${RUBY_DOCDIR}/runit/README.ja ${RUBY_DOCDIR}/runit/ToDo ${RUBY_DOCDIR}/runit/assert.html ${RUBY_DOCDIR}/runit/assert.rd -${RUBY_DOCDIR}/runit/cui/testrunner.html -${RUBY_DOCDIR}/runit/cui/testrunner.rd ${RUBY_DOCDIR}/runit/error.html ${RUBY_DOCDIR}/runit/error.rd -${RUBY_DOCDIR}/runit/ext/repeatedtest.html -${RUBY_DOCDIR}/runit/ext/repeatedtest.rd -${RUBY_DOCDIR}/runit/ext/testdecorator.html -${RUBY_DOCDIR}/runit/ext/testdecorator.rd -${RUBY_DOCDIR}/runit/ext/testsetup.html -${RUBY_DOCDIR}/runit/ext/testsetup.rd ${RUBY_DOCDIR}/runit/index.html +${RUBY_DOCDIR}/runit/index.rd ${RUBY_DOCDIR}/runit/ja/assert.html ${RUBY_DOCDIR}/runit/ja/assert.rd -${RUBY_DOCDIR}/runit/ja/cui/testrunner.html -${RUBY_DOCDIR}/runit/ja/cui/testrunner.rd ${RUBY_DOCDIR}/runit/ja/error.html ${RUBY_DOCDIR}/runit/ja/error.rd ${RUBY_DOCDIR}/runit/ja/index.html +${RUBY_DOCDIR}/runit/ja/index.rd +${RUBY_DOCDIR}/runit/ja/repeatedtest.html +${RUBY_DOCDIR}/runit/ja/repeatedtest.rd ${RUBY_DOCDIR}/runit/ja/robserver.html ${RUBY_DOCDIR}/runit/ja/robserver.rd -${RUBY_DOCDIR}/runit/ja/setupable.html -${RUBY_DOCDIR}/runit/ja/setupable.rd +${RUBY_DOCDIR}/runit/ja/setuppable.html +${RUBY_DOCDIR}/runit/ja/setuppable.rd +${RUBY_DOCDIR}/runit/ja/testdecorator.html +${RUBY_DOCDIR}/runit/ja/testdecorator.rd ${RUBY_DOCDIR}/runit/ja/teardownable.html ${RUBY_DOCDIR}/runit/ja/teardownable.rd ${RUBY_DOCDIR}/runit/ja/testcase.html @@ -57,31 +55,42 @@ ${RUBY_DOCDIR}/runit/ja/testfailure.html ${RUBY_DOCDIR}/runit/ja/testfailure.rd ${RUBY_DOCDIR}/runit/ja/testresult.html ${RUBY_DOCDIR}/runit/ja/testresult.rd +${RUBY_DOCDIR}/runit/ja/testrunner.html +${RUBY_DOCDIR}/runit/ja/testrunner.rd +${RUBY_DOCDIR}/runit/ja/testsetup.html +${RUBY_DOCDIR}/runit/ja/testsetup.rd ${RUBY_DOCDIR}/runit/ja/testsuite.html ${RUBY_DOCDIR}/runit/ja/testsuite.rd ${RUBY_DOCDIR}/runit/ja/version.html ${RUBY_DOCDIR}/runit/ja/version.rd +${RUBY_DOCDIR}/runit/repeatedtest.html +${RUBY_DOCDIR}/runit/repeatedtest.rd ${RUBY_DOCDIR}/runit/robserver.html ${RUBY_DOCDIR}/runit/robserver.rd -${RUBY_DOCDIR}/runit/setupable.html -${RUBY_DOCDIR}/runit/setupable.rd +${RUBY_DOCDIR}/runit/setuppable.html +${RUBY_DOCDIR}/runit/setuppable.rd ${RUBY_DOCDIR}/runit/teardownable.html ${RUBY_DOCDIR}/runit/teardownable.rd ${RUBY_DOCDIR}/runit/testcase.html ${RUBY_DOCDIR}/runit/testcase.rd +${RUBY_DOCDIR}/runit/testdecorator.html +${RUBY_DOCDIR}/runit/testdecorator.rd ${RUBY_DOCDIR}/runit/testfailure.html ${RUBY_DOCDIR}/runit/testfailure.rd ${RUBY_DOCDIR}/runit/testresult.html ${RUBY_DOCDIR}/runit/testresult.rd +${RUBY_DOCDIR}/runit/testrunner.html +${RUBY_DOCDIR}/runit/testrunner.rd +${RUBY_DOCDIR}/runit/testsetup.html +${RUBY_DOCDIR}/runit/testsetup.rd ${RUBY_DOCDIR}/runit/testsuite.html ${RUBY_DOCDIR}/runit/testsuite.rd ${RUBY_DOCDIR}/runit/version.html ${RUBY_DOCDIR}/runit/version.rd -@dirrm ${RUBY_DOCDIR}/runit/cui -@dirrm ${RUBY_DOCDIR}/runit/ext -@dirrm ${RUBY_DOCDIR}/runit/ja/cui @dirrm ${RUBY_DOCDIR}/runit/ja @dirrm ${RUBY_DOCDIR}/runit +${RUBY_EXAMPLESDIR}/runit/sample01.rb +${RUBY_EXAMPLESDIR}/runit/sampletestsetup.rb ${RUBY_EXAMPLESDIR}/runit/simpletest.rb ${RUBY_EXAMPLESDIR}/runit/testall.rb ${RUBY_EXAMPLESDIR}/runit/testarray.rb diff --git a/devel/ruby-unit/distinfo b/devel/ruby-unit/distinfo index 0559e88dffa..9c66b45cdf0 100644 --- a/devel/ruby-unit/distinfo +++ b/devel/ruby-unit/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/07/01 16:53:42 taca Exp $ +$NetBSD: distinfo,v 1.2 2002/01/04 00:36:54 taca Exp $ -SHA1 (ruby/rubyunit-0.3.9.03a.tar.gz) = 3e26ed8ae6fc0cd76b886f50358319915a9beac5 -Size (ruby/rubyunit-0.3.9.03a.tar.gz) = 20226 bytes +SHA1 (ruby/rubyunit-0.5.2.tar.gz) = beacf8478fbf9f84eb4848f88a0a418db9eaade9 +Size (ruby/rubyunit-0.5.2.tar.gz) = 23846 bytes |