Sha256: 9637293578ef5bf13085908f99df9b692f1d177c905bf9803c1765e5b7687bf9

Contents?: true

Size: 405 Bytes

Versions: 15

Compression:

Stored size: 405 Bytes

Contents

# encoding: utf-8

class Nanoc::Extra::FileProxyTest < Nanoc::TestCase

  def test_create_many
    if_implemented do
      # Create test file
      File.open('test.txt', 'w') { |io| }

      # Create lots of file proxies
      count = Process.getrlimit(Process::RLIMIT_NOFILE)[0] + 5
      file_proxies = []
      count.times { file_proxies << Nanoc::Extra::FileProxy.new('test.txt') }
    end
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
nanoc-3.7.4 test/extra/test_file_proxy.rb
nanoc-3.7.3 test/extra/test_file_proxy.rb
nanoc-3.7.2 test/extra/test_file_proxy.rb
nanoc-3.7.1 test/extra/test_file_proxy.rb
nanoc-3.7.0 test/extra/test_file_proxy.rb
nanoc-3.6.11 test/extra/test_file_proxy.rb
nanoc-3.6.10 test/extra/test_file_proxy.rb
nanoc-3.6.9 test/extra/test_file_proxy.rb
nanoc-3.6.8 test/extra/test_file_proxy.rb
nanoc-3.6.7 test/extra/test_file_proxy.rb
nanoc-3.6.6 test/extra/test_file_proxy.rb
nanoc-3.6.5 test/extra/test_file_proxy.rb
nanoc-3.6.4 test/extra/test_file_proxy.rb
nanoc-3.6.3 test/extra/test_file_proxy.rb
nanoc-3.6.2 test/extra/test_file_proxy.rb