Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.464 kb
require File.dirname(__FILE__) + '/test_dir'
require 'fileutils'
class TestDirWithJarWithoutDirEntry < TestDir # < Test::Unit::TestCase
JAR = File.expand_path 'jar_with_relative_require1.jar', File.dirname(__FILE__)
JAR_BAK = JAR + '.bak'
def setup
super
FileUtils.cp JAR, JAR_BAK unless File.exists? JAR_BAK
`zip #{JAR} -d test/`
end
def teardown
super
FileUtils.mv JAR_BAK, JAR, :force => true if File.exists? JAR_BAK
end
end
Jump to Line
Something went wrong with that request. Please try again.