Changeset 46


Ignore:
Timestamp:
May 10, 2008, 10:11:49 PM (14 years ago)
Author:
KOBAYASHI, Shinji
Message:

to do:fix codes for this hierarchy

Location:
ruby/trunk/tests/adl_parser
Files:
1 added
2 edited
2 copied

Legend:

Unmodified
Added
Removed
  • ruby/trunk/tests/adl_parser/Rakefile

    r41 r46  
    4141Rake::TestTask.new('test:shell') do |t|
    4242  t.libs = ["lib"]
    43   t.pattern = ['tests/shell_test.rb']
     43  t.pattern = ['shell_test.rb']
    4444  t.warning = true
    4545  t.verbose = true
     
    4848Rake::TestTask.new('test:validator') do |t|
    4949  t.libs = ["lib"]
    50   t.pattern = ['tests/validator_test.rb']
     50  t.pattern = ['validator_test.rb']
    5151  t.warning = true
    5252  t.verbose = true
     
    5555Rake::TestTask.new('test:parser') do |t|
    5656  t.libs = ["lib"]
    57   t.pattern = ['tests/parser_test.rb']
     57  t.pattern = ['parser_test.rb']
    5858  t.warning = true
    5959  t.verbose = true
     
    6262Rake::TestTask.new('test:scanner') do |t|
    6363  t.libs = ["lib"]
    64   t.pattern = ['tests/scanner_test.rb']
     64  t.pattern = ['scanner_test.rb']
    6565  t.warning = true
    6666  t.verbose = true
  • ruby/trunk/tests/adl_parser/parser_test.rb

    r23 r46  
    1 require 'lib/parser.rb'
     1require '../lib/parser.rb'
    22require 'test/unit'
    33
  • ruby/trunk/tests/adl_parser/shell_test.rb

    r4 r46  
    1 require 'lib/shell.rb'
     1require '../../lib/adl_parser/shell.rb'
    22require 'test/unit'
    33
     
    55  def setup
    66    @adl_validator = ::OpenEHR::Application::ADLValidator.new(::OpenEHR::ADL::Validator.new(::OpenEHR::ADL::Parser.new))
    7     @file = File.open('tests/openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl')
    8     @string = File.read('tests/openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl')
     7    @file = File.open('openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl')
     8    @string = File.read('openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl')
    99    @stringio = StringIO.new(@string)
    1010  end
Note: See TracChangeset for help on using the changeset viewer.