mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/test/unit/ui/testrunnerutilities.rb (TestRunnerUtilities):
moved run method which allows output level. [ruby-dev:22554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
45c950c1df
commit
47c7c5bac6
7 changed files with 10 additions and 24 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jan 13 14:26:59 2004 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
|
* lib/test/unit/ui/testrunnerutilities.rb (TestRunnerUtilities):
|
||||||
|
moved run method which allows output level. [ruby-dev:22554]
|
||||||
|
|
||||||
Tue Jan 13 13:04:24 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
|
Tue Jan 13 13:04:24 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
|
||||||
|
|
||||||
* test/test_*.rb: Pathname#parent -> Pathname#dirname.
|
* test/test_*.rb: Pathname#parent -> Pathname#dirname.
|
||||||
|
|
|
@ -16,11 +16,6 @@ module Test
|
||||||
class TestRunner
|
class TestRunner
|
||||||
extend TestRunnerUtilities
|
extend TestRunnerUtilities
|
||||||
|
|
||||||
# Creates a new TestRunner and runs the suite.
|
|
||||||
def self.run(suite, output_level=NORMAL)
|
|
||||||
return new(suite, output_level).start
|
|
||||||
end
|
|
||||||
|
|
||||||
# Creates a new TestRunner for running the passed
|
# Creates a new TestRunner for running the passed
|
||||||
# suite. If quiet_mode is true, the output while
|
# suite. If quiet_mode is true, the output while
|
||||||
# running is limited to progress dots, errors and
|
# running is limited to progress dots, errors and
|
||||||
|
|
|
@ -27,11 +27,6 @@ module Test
|
||||||
RED_STYLE = FXRGBA(0xFF,0,0,0xFF) #0xFF000000
|
RED_STYLE = FXRGBA(0xFF,0,0,0xFF) #0xFF000000
|
||||||
GREEN_STYLE = FXRGBA(0,0xFF,0,0xFF) #0x00FF0000
|
GREEN_STYLE = FXRGBA(0,0xFF,0,0xFF) #0x00FF0000
|
||||||
|
|
||||||
# Creates a new TestRunner and runs the suite.
|
|
||||||
def self.run(suite)
|
|
||||||
new(suite).start
|
|
||||||
end
|
|
||||||
|
|
||||||
# Creates a new TestRunner for running the passed
|
# Creates a new TestRunner for running the passed
|
||||||
# suite.
|
# suite.
|
||||||
def initialize(suite, output_level = NORMAL)
|
def initialize(suite, output_level = NORMAL)
|
||||||
|
|
|
@ -20,11 +20,6 @@ module Test
|
||||||
class TestRunner
|
class TestRunner
|
||||||
extend TestRunnerUtilities
|
extend TestRunnerUtilities
|
||||||
|
|
||||||
# Creates a new TestRunner and runs the suite.
|
|
||||||
def self.run(suite)
|
|
||||||
new(suite).start
|
|
||||||
end
|
|
||||||
|
|
||||||
# Creates a new TestRunner for running the passed
|
# Creates a new TestRunner for running the passed
|
||||||
# suite.
|
# suite.
|
||||||
def initialize(suite, output_level = NORMAL)
|
def initialize(suite, output_level = NORMAL)
|
||||||
|
|
|
@ -457,10 +457,6 @@ module Test
|
||||||
@viewer.join rescue nil # wait deadlock to handshake
|
@viewer.join rescue nil # wait deadlock to handshake
|
||||||
end # def initialize(suite)
|
end # def initialize(suite)
|
||||||
|
|
||||||
def self.run(suite)
|
|
||||||
new(suite).start
|
|
||||||
end # def self.run(suite)
|
|
||||||
|
|
||||||
end # class TestRunner
|
end # class TestRunner
|
||||||
|
|
||||||
end # module GTK2
|
end # module GTK2
|
||||||
|
|
|
@ -24,6 +24,11 @@ module Test
|
||||||
|
|
||||||
module TestRunnerUtilities
|
module TestRunnerUtilities
|
||||||
|
|
||||||
|
# Creates a new TestRunner and runs the suite.
|
||||||
|
def run(suite, output_level=NORMAL)
|
||||||
|
return new(suite, output_level).start
|
||||||
|
end
|
||||||
|
|
||||||
# Takes care of the ARGV parsing and suite
|
# Takes care of the ARGV parsing and suite
|
||||||
# determination necessary for running one of the
|
# determination necessary for running one of the
|
||||||
# TestRunners from the command line.
|
# TestRunners from the command line.
|
||||||
|
|
|
@ -21,11 +21,6 @@ module Test
|
||||||
class TestRunner
|
class TestRunner
|
||||||
extend TestRunnerUtilities
|
extend TestRunnerUtilities
|
||||||
|
|
||||||
# Creates a new TestRunner and runs the suite.
|
|
||||||
def self.run(suite)
|
|
||||||
new(suite).start
|
|
||||||
end
|
|
||||||
|
|
||||||
# Creates a new TestRunner for running the passed
|
# Creates a new TestRunner for running the passed
|
||||||
# suite.
|
# suite.
|
||||||
def initialize(suite, output_level = NORMAL)
|
def initialize(suite, output_level = NORMAL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue