Ignore:
Timestamp:
Aug 6, 2009, 1:20:05 AM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

adjust for rails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5.0/lib/adl_parser/test/parser_test.rb

    r116 r167  
    1616    assert_nothing_raised do
    1717      result = @parser.parse(laboratory_request, 'openEHR-EHR-ITEM_TREE.Laboratory_request.v1.adl')
    18       assert_instance_of OpenEHR::AM::Archetype::ARCHETYPE, result
    19       assert_instance_of OpenEHR::AM::Archetype::Archetype_Description::ARCHETYPE_DESCRIPTION, result.description
    20       assert_instance_of OpenEHR::AM::Archetype::Constraint_Model::C_COMPLEX_OBJECT, result.definition
     18      assert_instance_of OpenEhr::AM::Archetype::ARCHETYPE, result
     19      assert_instance_of OpenEhr::AM::Archetype::Archetype_Description::ARCHETYPE_DESCRIPTION, result.description
     20      assert_instance_of OpenEhr::AM::Archetype::Constraint_Model::C_COMPLEX_OBJECT, result.definition
    2121#      assert_equal '', result.definition
    2222    end
     
    2525    assert_nothing_raised do
    2626      result = @parser.parse(apgar, 'openEHR-EHR-OBSERVATION.apgar.v1.adl')
    27       assert_instance_of OpenEHR::AM::Archetype::ARCHETYPE, result
    28       assert_instance_of OpenEHR::AM::Archetype::Archetype_Description::ARCHETYPE_DESCRIPTION, result.description
    29       assert_instance_of OpenEHR::AM::Archetype::Constraint_Model::C_COMPLEX_OBJECT, result.definition
     27      assert_instance_of OpenEhr::AM::Archetype::ARCHETYPE, result
     28      assert_instance_of OpenEhr::AM::Archetype::Archetype_Description::ARCHETYPE_DESCRIPTION, result.description
     29      assert_instance_of OpenEhr::AM::Archetype::Constraint_Model::C_COMPLEX_OBJECT, result.definition
    3030    end
    3131
Note: See TracChangeset for help on using the changeset viewer.