Class Uttk::Strategies::Proxy
In: lib/uttk/strategies/Proxy.rb
Parent: Composite

I‘m composed by only one strategy and I‘m transparent in the log.

Methods

Included Modules

Abstract

Public Instance methods

[Source]

# File lib/uttk/strategies/Proxy.rb, line 16
      def create ( anObject, &block )
        unless @contents.empty?
          raise ArgumentError, "A proxy can contain only one test"
        end
        super
      end

Protected Instance methods

[Source]

# File lib/uttk/strategies/Proxy.rb, line 32
      def new_symtbl
        @symtbl
      end

[Source]

# File lib/uttk/strategies/Proxy.rb, line 24
      def run_composite
        test = @contents.first
        test.name ||= 'test'
        run_test(test, @log)
      end

[Validate]