# Author:: Nicolas Despres . # Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved. # License:: LGPL # $Id: DistStrategy.rb 567 2005-04-13 08:00:06Z polrop $ module TTK module Strategies class DistStrategy < Composite protected def prologue super @test_id = nil end protected def prologue_test(test, log) @test_id = test.hash end protected def run_impl_test(test, log) test.symtbl = nil remote_status = @tester.run_strategy(test, @symtbl) remote_status.saved_log.repeat(log) remote_status.status end protected def abort_hook @tester.abort(@test_id) end end # class DistStrategy end # module Strategies end # module TTK