Sha256: 9955f692f6eeb389328ee0a6a74819f0440eb9e73dfbf4da5313a6efcdf41991
Contents?: true
Size: 819 Bytes
Versions: 4
Compression:
Stored size: 819 Bytes
Contents
# # testing ruote # # Mon Apr 25 12:24:57 JST 2011 # # in Singapore # require File.expand_path('../../test_helper', __FILE__) require 'ostruct' require 'ruote' require 'ruote/svc/tracker' class UtSvcTrackerTest < Test::Unit::TestCase class FakeStorage def initialize @count = -1 end def put(doc) @count = @count + 1 return true if @count == 0 nil end def get_trackers { 'trackers' => {} } end end # Fighting issue found by Pedro Texeira : # # http://groups.google.com/group/openwferu-users/browse_thread/thread/cf2546d0b1cebfe8 # def test_add_tracker_fail_and_retry con = OpenStruct.new(:storage => FakeStorage.new) pl = Ruote::Tracker.new(con) pl.add_tracker('some-wfid', 'reply', 'some-id', {}, {}) assert true end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruote-2.3.0.3 | test/unit/ut_23_svc_tracker.rb |
ruote-2.3.0.2 | test/unit/ut_23_svc_tracker.rb |
ruote-2.3.0.1 | test/unit/ut_23_svc_tracker.rb |
ruote-2.3.0 | test/unit/ut_23_svc_tracker.rb |