class Drntest::Configuration

Attributes

base_path[RW]
catalog_version[RW]
droonga_engine[RW]
droonga_engine_options[RW]
engine_config[RW]
host[RW]
port[RW]
tag[RW]
timeout[RW]

Public Class Methods

new() click to toggle source
# File lib/drntest/configuration.rb, line 24
def initialize
  @port            = 24224
  @host            = "localhost"
  @tag             = "droonga"
  @base_path       = Pathname(Dir.pwd)
  @engine_config   = "default"
  @droonga_engine  = "droonga-engine"
  @droonga_engine_options = []
  @catalog_version = "2"
  @timeout         = 1
end

Public Instance Methods

engine_config_path() click to toggle source
# File lib/drntest/configuration.rb, line 40
def engine_config_path
  @base_path + "config" + @engine_config
end
suite_path() click to toggle source
# File lib/drntest/configuration.rb, line 36
def suite_path
  @base_path + "suite"
end