Ignore:
Timestamp:
Aug 6, 2009, 9:06:59 AM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

roll back branch 0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.0/adl_parser/tests/parser_test.rb

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