Sha256: 05fb1f4fcd6a63d96f6b14be6bd78d94e4db2db9b7060a2d965b796dd07650fc

Contents?: true

Size: 392 Bytes

Versions: 15

Compression:

Stored size: 392 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift('../lib')
require 'gearman'
require 'gearman/testlib'
require 'test/unit'

class TestUtil < Test::Unit::TestCase

  def test_ability_prefix_name_builder
    assert_equal(Gearman::Util.ability_name_with_prefix("test","a"),"test\ta")
  end

  def test_ability_name_for_perl
    assert_equal(Gearman::Util.ability_name_for_perl("test","a"),"test\ta")
  end  
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
gearman-ruby-4.0.5 test/util_test.rb
gearman-ruby-4.0.4 test/util_test.rb
gearman-ruby-4.0.3 test/util_test.rb
gearman-ruby-4.0.2 test/util_test.rb
gearman-ruby-3.0.8 test/util_test.rb
xing-gearman-ruby-1.1.0 test/util_test.rb
xing-gearman-ruby-1.2.0 test/util_test.rb
xing-gearman-ruby-1.3.0 test/util_test.rb
xing-gearman-ruby-1.3.1 test/util_test.rb
gearman-ruby-3.0.7 test/util_test.rb
gearman-ruby-3.0.6 test/util_test.rb
gearman-ruby-3.0.4 test/util_test.rb
gearman-ruby-3.0.3 test/util_test.rb
gearman-ruby-3.0.2 test/util_test.rb
gearman-ruby-3.0.1 test/util_test.rb