27 #include "boost/thread/thread.hpp" 28 #include "boost/thread/barrier.hpp" 95 unit_assert(info2.otherRelations.begin()->first ==
"has_regexp");
158 cerr <<
"Exception in worker thread: " << e.what() << endl;
162 cerr <<
"Unhandled exception in worker thread." << endl;
168 boost::barrier testBarrier(testThreadCount);
169 boost::thread_group testThreadGroup;
170 for (
int i=0; i < testThreadCount; ++i)
172 testThreadGroup.join_all();
176 int main(
int argc,
char* argv[])
180 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
MS_instrument
instrument: Description of the instrument or the mass spectrometer.
PWIZ_API_DECL const CVTermInfo & cvTermInfo(CVID cvid)
returns CV term info for the specified CVID
void testOtherRelations()
MS_None____OBSOLETE
None ??: None.
std::multimap< std::string, std::string > propertyValues
MS_FT_ICR
FT_ICR (fourier transform ion cyclotron resonance mass spectrometer): A mass spectrometer based on th...
MS_binary_data_compression_type
binary data compression type: Compression Type.
MS______KR_____P_
(?<=[KR])(?!P): Regular expression for Trypsin.
MS_Trypsin
Trypsin: Enzyme trypsin.
MS_fourier_transform_ion_cyclotron_resonance_mass_spectrometer
fourier transform ion cyclotron resonance mass spectrometer: A mass spectrometer based on the princip...
UO_information_unit
information unit: A unit which is a standard measure of the amount of information.
UO_parts_per_million
parts per million: A dimensionless concentration notation which denotes the amount of a given substan...
MS_B
B (magnetic field strength): A property of space that produces a force on a charged particle equal to...
MS_accuracy
accuracy: Accuracy is the degree of conformity of a measured mass to its actual value.
structure for holding CV term info
MS_contact_email
contact email: Email address of the contact person or organization.
MS_regular_expressions_for_a_GUID
).
MS_peak_intensity
peak intensity: Intensity of ions as measured by the height or area of a peak in a mass spectrum...
int main(int argc, char *argv[])
MS_radial_ejection_linear_ion_trap
radial ejection linear ion trap: A linear ion trap mass spectrometer where ions are ejected along the...
#define unit_assert_operator_equal(expected, actual)
MS_m_z
m/z: Three-character symbol m/z is used to denote the quantity formed by dividing the mass of an ion ...
UO_mass_unit
mass unit: A unit which is a standard measure of the amount of matter/energy of a physical object...
std::vector< std::string > exactSynonyms
void testThreadSafety(const int &testThreadCount)
UO_dalton
dalton: An independently to the base SI units defined mass unit which is equal to one twelfth of the ...
MS_instrument_model
instrument model: Instrument model name not including the vendor's name.
UO_unit
unit: A unit of measurement is a standardized quantity of a physical quality.
MS_sample_number
sample number: A reference number relevant to the sample under study.
void testPropertyValues()
MS_mass_analyzer_type
mass analyzer type: Mass analyzer separates the ions according to their mass-to-charge ratio...
std::multimap< std::string, CVID > otherRelations
MS_zlib_compression
zlib compression: Zlib.
UO_energy_unit
energy unit: A unit which is a standard measure of the work done by a certain force (gravitational...
MS_linear_ion_trap
linear ion trap: A two dimensional Paul ion trap in which ions are confined in the axial dimension by...
MS_scan_polarity
scan polarity: An acquisition mode to which specifies weather polarity is negative, positive or alternating.
UNIMOD_Phospho
Phospho: Phosphorylation.
MS_QIT
QIT (quadrupole ion trap): Quadrupole Ion Trap mass analyzer captures the ions in a three dimensional...
MS_ion_trap
ion trap: A device for spatially confining ions using electric and magnetic fields alone or in combin...
#define TEST_PROLOG(argc, argv)
void testThreadSafetyWorker(boost::barrier *testBarrier)
MS_chemical_ionization
chemical ionization: The formation of a new ion by the reaction of a neutral species with an ion...
PWIZ_API_DECL bool cvIsA(CVID child, CVID parent)
returns true iff child IsA parent in the CV