On Dec 8, 2003, at 02:40, nobu.nokada / softhome.net wrote:

> The problem is caused by cyclic requiring between
> test/unit/autorunner.rb, test/unit/ui/console/testrunner.rb,
> test/unit/ui/testrunnermediator.rb and test/unit.rb.
>
> When you require test/unit/ui/console/testrunner.rb, required
> test/unit/autorunner.rb requires former again, but it ends with
> no effect because it is under loading already, and constants
> defined in it cannot be accessed.
>
> In short, the point is that AutoRunner is depending on a particular
> test runner, I guess.  And, the other runners never use them?
>
>
> * lib/test/unit/autorunner.rb: remove dependency to a particular
>   runner.  [ruby-core:01901], [ruby-list:38869]
>
> * lib/test/unit/ui/testrunnerutilities.rb: moved output level
>   constants from Console.
>
> * lib/test/unit/ui/console/testrunner.rb: ditto.
>
> * lib/test/unit/ui/{fox,gtk,gtk2,tk}/testrunner.rb (initialize):
>   accept output_level.

This looks great, Nobu. Please commit.

Thanks,


Nathaniel

<:((><