Sha256: 07457da0a8737c81519ec6303a3b91818dbeb7867cf0f2a57c842b636deaf568

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

# Author::    Nicolas Pouillard  <ertai@lrde.epita.fr>.
# Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved.
# License::   LGPL
# $Id: Error.rb 567 2005-04-13 08:00:06Z polrop $


module TTK

  module Strategies

    # A test class which always raise an error.
    class Error < Strategy
      include Concrete

      def assertion
        raise_error('Error always raises an error')
      end

    end # class Error

  end # module Strategies

end # module TTK

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ttk-0.1.576 lib/ttk/strategies/Error.rb
ttk-0.1.580 lib/ttk/strategies/Error.rb
ttk-0.2.0 lib/ttk/strategies/Error.rb
ttk-0.1.579 lib/ttk/strategies/Error.rb
ttk-0.2.1 lib/ttk/strategies/Error.rb