| 25 | using namespace std; |
| 26 | |
| 27 | void cacheFile(CachedMzMLHandler& cache, std::string & tmp_filename, PeakMap& exp) |
| 28 | { |
| 29 | NEW_TMP_FILE(tmp_filename); |
| 30 | |
| 31 | // Load experiment |
| 32 | MzMLFile().load(OPENMS_GET_TEST_DATA_PATH("MzMLFile_1.mzML"), exp); |
| 33 | TEST_EQUAL(exp.getNrSpectra() > 0, true) |
| 34 | TEST_EQUAL(exp.getNrChromatograms() > 0, true) |
| 35 | |
| 36 | // Cache the experiment to a temporary file |
| 37 | cache.writeMemdump(exp, tmp_filename); |
| 38 | // Create the index from the given file |
| 39 | cache.createMemdumpIndex(tmp_filename); |
| 40 | } |
| 41 | |
| 42 | START_TEST(CachedMzMLHandler, "$Id$") |
| 43 |
no test coverage detected