Sha256: 8558081d39187148b331858a4776a2058472ab945e41c2b0c418f6a2fcbdcd82

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
$:.unshift File.expand_path(File.dirname(__FILE__) + "/generated")

require 'rubygems'
require 'test/spec'
require 'rbplusplus'
require 'mocha_standalone'

include RbPlusPlus

class Test::Unit::TestCase

  def full_dir(path)
    File.expand_path(File.join(File.dirname(__FILE__), path))
  end

  def setup
    `rm -rf #{full_dir('generated')}/*`
    Logger.stubs(:info)
    Logger.stubs(:warn)
    Logger.stubs(:error)
    Logger.stubs(:debug)
  end

  def teardown
    RbGCCXML::XMLParsing.clear_cache
    NodeCache.clear
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rbplusplus-0.9 test/test_helper.rb