Sha256: 18f64c519960771ba5f32f3e259b4507b1a9158ce1ea9e2f383eea59e461bdf6

Contents?: true

Size: 1 KB

Versions: 18

Compression:

Stored size: 1 KB

Contents

# Copyright (c) 2012 National ICT Australia Limited (NICTA).
# This software may be used and distributed solely under the terms of the MIT license (License).
# You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT.
# By downloading or using this software you accept the terms and the liability disclaimer in the License.

require 'simplecov'
SimpleCov.start { add_filter "/test" }

gem 'minitest'
require 'minitest/autorun'
require 'minitest/pride'
require 'minitest/spec'
require 'minitest/mock'
require 'em/minitest/spec'
require 'mocha/setup'

require 'omf_common'
require 'blather/client/dsl'

require 'singleton'

OmfCommon::Message.init(type: :xml)

# Shut up all the loggers
Logging.logger.root.clear_appenders

# Add reset to singleton classes
#
class OmfCommon::Comm
  def self.reset
    @@instance = nil
  end
end

class OmfCommon::Eventloop
  def self.reset
    @@instance = nil
  end
end

class OmfCommon::Auth::CertificateStore
  def self.reset
    @@instance = nil
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
omf_common-6.1.2.pre.2 test/test_helper.rb
omf_common-6.1.2.pre test/test_helper.rb
omf_common-6.1.1 test/test_helper.rb
omf_common-6.1.1.pre test/test_helper.rb
omf_common-6.1.0 test/test_helper.rb
omf_common-6.0.8.pre.5 test/test_helper.rb
omf_common-6.0.7.1 test/test_helper.rb
omf_common-6.0.8.pre.4 test/test_helper.rb
omf_common-6.0.8.pre.3 test/test_helper.rb
omf_common-6.0.8.pre.2 test/test_helper.rb
omf_common-6.0.8.pre.1 test/test_helper.rb
omf_common-6.0.7 test/test_helper.rb
omf_common-6.0.6 test/test_helper.rb
omf_common-6.0.5 test/test_helper.rb
omf_common-6.0.4 test/test_helper.rb
omf_common-6.0.4.pre.1 test/test_helper.rb
omf_common-6.0.3 test/test_helper.rb
omf_common-6.0.2 test/test_helper.rb