~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to tests/style/cpplint_exceptions.py

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
CPP_CM = os.path.join('src','common_cpp')
29
29
LEGACY = os.path.join('src','LEGACY')
 
30
MAP = os.path.join('src', 'map')
30
31
TST = os.path.join('tests', 'cpp_unit')
31
32
 
32
33
exceptions[os.path.join(CPP_CM, 'Simulation',
73
74
 'explicit conversion is okay from ROOT to ThreeVectpr', 'rogers')
74
75
]
75
76
 
76
 
exceptions[os.path.join(TST, 'Maths', 'PolynomialVectorTest.cc')] = [
77
 
('  } catch (Squeal squee) {}',
78
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane')
79
 
]
80
 
 
81
 
exceptions[os.path.join(TST, 'Maths', 'VectorTest.cc')] = [
82
 
('  } catch (Squeal squeal) {}',
83
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane')
84
 
]
85
 
 
86
 
exceptions[os.path.join(TST, 'Optics', 'PhaseSpaceVectorTest.cc')] = [
87
 
('  } catch (Squeal squeal) {}',
88
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane')
89
 
]
90
 
 
91
 
exceptions[os.path.join(TST, 'Optics', 'CovarianceMatrixTest.cc')] = [
92
 
('  } catch (Squeal squeal) {}',
93
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane')
94
 
]
95
 
 
96
77
exceptions[os.path.join(CPP_CM, 'JsonCppStreamer','ORStream.hh')] = [
97
78
('template<>           orstream& orstream::operator<< <short> (short&  d) {',
98
79
 'doesnt like the necessary specialisation', 'richards'),
179
160
 
180
161
]
181
162
 
182
 
exceptions[os.path.join(TST, 'Maths', 'PolynomialMapTest.cc')] = [
183
 
('  } catch (Squeal squeal) {}',
184
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane'),
185
 
]
186
 
 
187
 
exceptions[os.path.join(TST, 'Optics',
188
 
                        'LinearApproximationOpticsModelTest.cc')] = [
189
 
('  } catch (Squeal squeal) {',
190
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane'),
191
 
]
192
 
 
193
 
exceptions[os.path.join(TST, 'Optics',
194
 
                        'PolynomialOpticsModelTest.cc')] = [
195
 
('  } catch (Squeal squeal) {',
196
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane'),
197
 
('    } catch (Squeal squeal) {',
198
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane'),
199
 
]
200
 
 
201
 
exceptions[os.path.join(TST, 'Recon/Global',
202
 
                        'TrackPointTest.cc')] = [
203
 
('  } catch (Squeal squeal) {',
204
 
 '"catch" is a keyword like "for" and "if", not a function', 'lane'),
205
 
]
206
 
 
207
163
exceptions[os.path.join(CPP_CM, 
208
164
                        'JsonCppProcessors',
209
165
                        'Common',
224
180
 'taylor'),
225
181
]
226
182
 
 
183
exceptions[os.path.join(CPP_CM,
 
184
                        'JsonCppProcessors',
 
185
                        'PrimitivesProcessors.hh')] = [
 
186
('typedef unsigned long long uint64;',
 
187
 'This is setting up the uint64 that cpplint wants',
 
188
 'rogers'),
 
189
]
 
190
 
227
191
exceptions[os.path.join('src', 'input', 'InputCppDAQOnlineData', 
228
192
                       'InputCppDAQOnlineData.cc')] = [
229
193
('      _sleep_time.tv_sec = static_cast<long>(delay_time);',
250
214
'rogers')
251
215
]
252
216
 
 
217