Ignore:
Timestamp:
Oct 19, 2009, 5:10:43 PM (15 years ago)
Author:
Tatsukawa, Akimichi
Message:

commit at the timing of leaving Pittsburgh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/lib/adl_parser/test/remote_adl_test.rb

    r319 r323  
    2828
    2929
    30   must "test_adls should properly parsed" do
     30#   must "test_adls should properly parsed" do
     31#     assert_nothing_raised do
     32#       @test_adls.each do |adl|
     33#         puts "Processing #{adl}"
     34#         open(adl) do |file|
     35#           p "Processing #{file.gets}"
     36#           case file.gets
     37#           when "http://www.openehr.org/svn/knowledge/archetypes/dev/adl/test/basics/adl-test-ENTRY.basic_types_fail.v1.adl"
     38#             assert_raise Racc::ParserError do
     39#               @parser.parse(file.read, adl)
     40#             end
     41#           else
     42#             assert_nothing_raised { @parser.parse(file.read, adl) }
     43#           end
     44#         end
     45#       end
     46#     end
     47#   end
     48
     49  must "ehr_adls should properly parsed" do
    3150    assert_nothing_raised do
    32       @test_adls.each do |adl|
     51      @ehr_adls.each do |adl|
    3352        puts "Processing #{adl}"
    3453        open(adl) do |file|
    35           @parser.parse(file.read, adl)
     54          assert_nothing_raised do
     55            @parser.parse(file.read, adl)
     56          end
    3657        end
    3758      end
     
    3960  end
    4061
    41 #   must "ehr_adls should properly parsed" do
    42 #     assert_nothing_raised do
    43 #       @ehr_adls.each do |adl|
    44 #         puts "Processing #{adl}"
    45 #         open(adl) do |file|
    46 #           @parser.parse(file.read, adl)
    47 #         end
    48 #       end
    49 #     end
    50 #   end
    51 
    5262
    5363end
Note: See TracChangeset for help on using the changeset viewer.