MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / START_SECTION

Function START_SECTION

src/tests/class_tests/openms/source/MzMLFile_test.cpp:873–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871 }
872}
873END_SECTION
874
875START_SECTION([EXTRA] load only meta data)
876{
877 MzMLFile file;
878 file.getOptions().setMetadataOnly(true);
879 PeakMap exp;
880 file.load(OPENMS_GET_TEST_DATA_PATH("MzMLFile_1.mzML"),exp);
881
882 TEST_EQUAL(exp.size(),0)
883 TEST_EQUAL(exp.getIdentifier(),"document_accession");
884 TEST_EQUAL(exp.getContacts().size(),2)
885 TEST_EQUAL(exp.getSourceFiles().size(),5);
886 TEST_EQUAL(exp.getInstrument().getMassAnalyzers().size(),2)
887}
888END_SECTION
889
890START_SECTION([EXTRA] load with restricted MS levels)

Callers 1

MzMLFile_test.cppFile · 0.70

Calls 15

TEST_EQUALFunction · 0.85
addMSLevelMethod · 0.80
setFillDataMethod · 0.80
setMaxDataPoolSizeMethod · 0.80
setAlwaysAppendDataMethod · 0.80
makeRangeFunction · 0.70
setMetadataOnlyMethod · 0.45
loadMethod · 0.45
sizeMethod · 0.45
getRTMethod · 0.45
setRTRangeMethod · 0.45
setMZRangeMethod · 0.45

Tested by

no test coverage detected