Sha256: 8583f027521ea1f6153071e34c09aac2ace8790a9a92c68ae0deea6a6e293137

Contents?: true

Size: 578 Bytes

Versions: 7

Compression:

Stored size: 578 Bytes

Contents

require 'test/unit'
require File.dirname(__FILE__) + '/memcache_server_test_helper'
require File.dirname(__FILE__) + '/memcache_segmented_test_helper'

$VERBOSE = nil
Memcache::Segmented.const_set('MAX_SIZE', 3)

class MemcacheSegmentedServerTest < Test::Unit::TestCase
  include MemcacheServerTestHelper
  include MemcacheServerTestHelper::AdvancedMethods
  include MemcacheSegmentedTestHelper

  with_prefixes nil, "foo:", "bar:"

  PORT = 11212
  def setup
    init_memcache(PORT) do
      Memcache::SegmentedServer.new(:host => 'localhost', :port => PORT)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
memcache-1.5.1 test/memcache_segmented_server_test.rb
memcache-1.5.0 test/memcache_segmented_server_test.rb
memcache-1.4.2 test/memcache_segmented_server_test.rb
memcache-1.4.1 test/memcache_segmented_server_test.rb
memcache-1.4.0 test/memcache_segmented_server_test.rb
memcache-1.3.0 test/memcache_segmented_server_test.rb
memcache-1.2.13 test/memcache_segmented_server_test.rb