Sha256: 2741e20341a7d691934d9505bda6df9a01b73601c181942a7312f012831dc594

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

# Author::    Nicolas Pouillard  <ertai@lrde.epita.fr>.
# Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved.
# License::   LGPL
# $Id: /w/fey/uttk/trunk/lib/uttk/strategies/Error.rb 8778 2005-09-26T04:34:48.103938Z ertai  $


module Uttk

  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 Uttk

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uttk-0.4.6.1 lib/uttk/strategies/Error.rb
uttk-0.4.5.0 lib/uttk/strategies/Error.rb
uttk-0.4.6.2 lib/uttk/strategies/Error.rb