memcached/test/test_helper.rb

20 строки
343 B
Ruby
Исходник Обычный вид История

2008-01-19 05:44:47 +03:00
$LOAD_PATH << "#{File.dirname(__FILE__)}/../lib"
2008-01-19 07:53:48 +03:00
2011-02-23 03:24:26 +03:00
require 'socket'
require 'benchmark'
2011-02-28 04:18:46 +03:00
require 'rubygems'
require 'ruby-debug' if ENV['DEBUG']
2008-01-20 07:18:31 +03:00
require 'memcached'
2011-02-28 04:18:46 +03:00
2008-01-19 05:44:47 +03:00
require 'test/unit'
2008-01-19 10:56:14 +03:00
require 'ostruct'
2011-02-28 04:18:46 +03:00
require 'mocha'
2008-01-19 21:25:29 +03:00
2009-08-04 01:13:58 +04:00
UNIX_SOCKET_NAME = File.join(ENV['TMPDIR']||'/tmp','memcached') unless defined? UNIX_SOCKET_NAME
2008-01-19 21:25:29 +03:00
class GenericClass
end
2011-02-23 03:24:26 +03:00