module ANTLR3::Test::Location

Attributes

test_path[RW]

Public Instance Methods

local_path( *parts ) click to toggle source
# File lib/antlr3/test/functional.rb, line 26
def local_path( *parts )
  File.join( test_directory, *parts )
end
output_directory( name = test_group ) click to toggle source
# File lib/antlr3/test/functional.rb, line 30
def output_directory( name = test_group )
  local_path( name )
end
test_directory() click to toggle source
# File lib/antlr3/test/functional.rb, line 22
def test_directory
  File.dirname( test_path )
end
test_group() click to toggle source
# File lib/antlr3/test/functional.rb, line 18
def test_group
  File.basename( test_path, '.rb' )
end