Ignore:
Timestamp:
Sep 24, 2009, 6:47:45 PM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

adjust some conflict

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/lib/models/tests/rm/test_support.rb

    r291 r292  
    1313class RM_Support_Identification_Test < Test::Unit::TestCase
    1414  def setup
    15 <<<<<<< .working
    16     assert_nothing_raised(Exception){@object_id = OpenEHR::RM::Support::Identification::Object_ID.new("0.0.3")}
    17     assert_nothing_raised(Exception){@object_ref = OpenEHR::RM::Support::Identification::Object_Ref.new('local', 'ANY', @object_id)}
    18     assert_nothing_raised(Exception){@archetype_id = OpenEHR::RM::Support::Identification::Archetype_ID.new('openEHR-EHR-SECTION.physical_examination-prenatal.v2')}
    19     assert_nothing_raised(Exception){@terminology_id = OpenEHR::RM::Support::Identification::Terminology_ID.new('ICD10(2003)')}
    20     assert_nothing_raised(Exception){@generic_id = OpenEHR::RM::Support::Identification::Generic_ID.new("0.0.3", "openehr")}
    21     assert_nothing_raised(Exception){@uid_based_id = OpenEHR::RM::Support::Identification::UID_Based_ID.new('rrip::0.0.3')}
    22     assert_nothing_raised(Exception){@hier_object_id = OpenEHR::RM::Support::Identification::Hier_Object_ID.new('0.0.4')}
    23     assert_nothing_raised(Exception){@locatable_ref = OpenEHR::RM::Support::Identification::Locatable_Ref.new('unknown', 'PERSON', @uid_based_id, 'data/event[at0001, standing]')}
    24     assert_nothing_raised(Exception){@party_ref = OpenEHR::RM::Support::Identification::Party_Ref.new('unknown', 'ORGANISATION', @object_id)}
    25     assert_nothing_raised(Exception){@access_group_ref = OpenEHR::RM::Support::Identification::Access_Group_Ref.new('unknown', 'ACCESS_GROUP', @object_id)}
    26     assert_nothing_raised(Exception){@version_tree_id = OpenEHR::RM::Support::Identification::Version_Tree_ID.new('1.2.3')}
    27     assert_nothing_raised(Exception){@object_version_id = OpenEHR::RM::Support::Identification::Object_Version_ID.new('ABC::DEF::1.2.3')}
    28 =======
    2915    assert_nothing_raised(Exception){@object_id = OpenEhr::RM::Support::Identification::ObjectId.new("0.0.3")}
    3016    assert_nothing_raised(Exception){@object_ref = OpenEhr::RM::Support::Identification::ObjectRef.new('local', 'ANY', @object_id)}
     
    3925    assert_nothing_raised(Exception){@version_tree_id = OpenEhr::RM::Support::Identification::VersionTreeId.new('1.2.3')}
    4026    assert_nothing_raised(Exception){@object_version_id = OpenEhr::RM::Support::Identification::ObjectVersionId.new('ABC::DEF::1.2.3')}
    41 >>>>>>> .merge-right.r168
    4227  end
    4328 
     
    10085
    10186  def test_archetype_id
    102 <<<<<<< .working
    103     assert_equal 'openEHR-EHR-SECTION.physical_examination-prenatal.v2', @archetype_id.value
    104     assert_equal 'openEHR-EHR-SECTION', @archetype_id.qualified_rm_entity
    105     assert_equal 'openEHR', @archetype_id.rm_originator
    106     assert_equal 'EHR', @archetype_id.rm_name
    107     assert_equal 'SECTION', @archetype_id.rm_entity
    108     assert_equal 'physical_examination', @archetype_id.concept_name
    109     assert_equal 'prenatal', @archetype_id.specialisation
    110     assert_equal 'v2', @archetype_id.version_id
    111 =======
    11287    assert_equal "0.0.5", @archetype_id.value
    11388    assert_nothing_raised(Exception){@archetype_id.value = "0.0.6"}
     
    166141    assert_raise(ArgumentError){@archetype_id.version_id = nil}
    167142    assert_raise(ArgumentError){@archetype_id.version_id = ""}
    168 >>>>>>> .merge-right.r168
    169143  end
    170144
Note: See TracChangeset for help on using the changeset viewer.