Changeset 3412 for trunk/test/bam_header.cc
- Timestamp:
- Apr 23, 2015, 1:00:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/bam_header.cc
r3410 r3412 143 143 suite.err() << "error: exception: " << e.what() << "\n"; 144 144 } 145 146 try { 147 // try calling unknown ID 148 hdr.read_group("banana", "SM"); 149 suite.add(false); 150 suite.err() << "read_group(\"banana\", \"SM\") didn't throw\n"; 151 } 152 catch (utility::runtime_error& e) { 153 suite.out() << "expected exception with what(): " << e.what() << "\n"; 154 } 155 156 try { 157 // try calling unknown key 158 hdr.read_group("foo", "HM"); 159 suite.add(false); 160 suite.err() << "read_group(\"foo\", \"HM\") didn't throw\n"; 161 } 162 catch (utility::runtime_error& e) { 163 suite.out() << "expected exception with what(): " << e.what() << "\n"; 164 } 145 165 #endif 146 166 }
Note: See TracChangeset
for help on using the changeset viewer.