Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /FWCore/MessageService/test/AAA_AtlasOfTests is written in an unsupported language. File is not indexed.

0001 Atlas of MessageLogger tests
0002 
0003 Tests marked $ are tested in both single thread and multithread running.
0004 Tests marked % are tested with both the default and EDM_ML_DEBUG defined.
0005 
0006 u1 $%   Gives different thresholds to multiple destinations, and assigns
0007         limit=0 to annoying message categories preEventProcessing and FwkTest.
0008         Incidnetally tests noTimeStamps.  Also generates a job report file
0009         (u1_job_report.mxml).   
0010         ---------- UnitTestClient_A
0011         ---------- UnitTestClient_Ad
0012 
0013 u2 $    Tests handling of a message generated pre-configuration, by using the
0014         special generate_preconfiguration_message parameter in the cfg file.
0015         ---------- UnitTestClient_A
0016 
0017 u3      Generates a plain-vanilla statistics destination (not matching any 
0018         output destination).
0019         ---------- UnitTestClient_A
0020 
0021 u4      Generates a pair of statistics destinations but assigns a different 
0022         file name for one of them (other than the pset name) and a threshold for
0023         the other.
0024         ---------- UnitTestClient_A
0025         
0026 u5 $    Tests reset versus no reset behavior when multiple statistics 
0027         summaries are triggered.  (That is, if untracked bool reset = true 
0028         then the next time statistics are triggered, they start from having
0029         been cleared the last time the sumary was sent out.)
0030         ---------- UnitTestClient_B
0031 
0032 u6 $    Tests hex and other manipulators
0033         ---------- UnitTestClient_C
0034         
0035 u7      Filtering all but one category (for example FwkTest).
0036         Creates a fwkJobReports u7_job_report.mxml as well as logs. 
0037         ---------- UnitTestClient_C
0038         
0039 u8 $    Tests defaults and limits:
0040           overall defaults of no time stamps      
0041           overall defaults for all destinations, for unnamed categories,
0042           and for specific category
0043           default limit for a destination superceding overall default
0044           default limit for a destination not superceding specific 
0045           category overall default
0046           limit for specific category superceding both defaults
0047         ---------- UnitTestClient_E
0048 
0049 u9 $    Tests behavior when using the official MessageLogger.cfi.
0050         ---------- UnitTestClient_G
0051 
0052 u10     Use of  extensionless filenames
0053         ---------- UnitTestClient_C
0054 
0055 u11 $   reportEvery, and some overall defaults
0056         overall defaults regarding reportEvery
0057         overall defaults for all destinations, for unnamed categories 
0058         overall defaults for all destinations, specific category     
0059         default reportEvery for a destination superceding overall default                    
0060         default reportEvery for a destination not superceding 
0061                 specific category overall default 
0062         reportEvery for specific category superceding both defaults                            
0063         reportEvery and limits interacting with each other
0064         ---------- UnitTestClient_F
0065         
0066 u12     Tests the placeholder feature. 
0067         ---------- UnitTestClient_A
0068 
0069 u13     Tests LogVerbatim and LogTrace
0070         ---------- UnitTestClient_H
0071 
0072 u14 $   Message suppression by severity and by module.  For example,
0073         suppressInfo = { "sendSomeMessages", "source" }
0074         Does not test suppressInfo = "*" or any excludeModule or such.
0075         ---------- UnitTestClient_I
0076 
0077 u15     LogVerbatim and LogTrace; also whether isInfoEnalbled() works
0078         when it is enabled.  
0079         ---------- UnitTestClient_H
0080         
0081 u16 $   Explicit specification of filenames and of extensions in destinations,
0082         statistics, and jobReports.  Debug is enabled.
0083         ---------- UnitTestClient_Ad
0084         
0085 u17     Threshold levels for destinations, limit=0 for a category,
0086         enabling all (*) LogDebug, with one destination responding.
0087         Also verify that by default, the threshold for a destination is INFO,
0088         and verify name used for "severe" errors is System, not Severe, in 
0089         summary statistics, and jobReports.
0090         ---------- UnitTestClient_K
0091         
0092 u18     LogSystem, LogAbsolute, LogProblem, LogPrint, and LogVerbatim.
0093         ---------- UnitTestClient_M
0094         
0095 u19 %   Long header lines, to test the non-breaking behavior.
0096         ---------- UnitTestClient_N
0097         
0098 u20 $   Test default configuration file for MessageLogger service
0099         for users that include MessageLogger.cfi and nothing else.
0100         Side-tests the behavior of isMessageProcessingSetUp() when
0101         it should be returning true.
0102         ---------- UnitTestClient_G
0103 
0104 u21     By-severity default limit on each type of message,
0105         and specific-category override of that default.
0106         ---------- UnitTestClient_O
0107         
0108 u22 $   Tests effect of LogFlush by cfg-configurable choices of how many 
0109         messages to use to clog the queue and whether or not FlushMessageLog
0110         is invoked.  Under normal testing, it will invoke FlushMessageLog in
0111         a situation where its absence would result in different output.
0112         ---------- UnitTestClient_P
0113 
0114 u23 $   Tests effect of GroupLogStatistics(category) 
0115         by having 6 differently labeled modules (of two distinct classes)
0116         all of which issue LogIssue with two "grouped" categories.
0117         ---------- UnitTestClient_Q
0118 
0119 u24     Behavior when duplicate file names are supplied.  We create two
0120         destinations, with ERROR and WARNING thresholds, and force the
0121         files both to be u24.log.
0122         ---------- UnitTestClient_A
0123         
0124 u25     Imposition of limits and thresholds of specific interest to user
0125         requests:  Limits per-category on ERROR and WARNING messages.
0126         ---------- UnitTestClient_R
0127 
0128 u27 $   Tests proper output of both ungrouped and grouped categories
0129         in summary placed in the FrameworkJobReport.xml. 
0130         ---------- UnitTestClient_Q
0131 
0132 u28     Tests distinct threshold level for linked statistics destination:
0133         A destination with different PSet name uses output= to share the
0134         same stream as an ordinary output destination.  But their thresholds
0135         are different.  The statistics destination does ot report the INFO
0136         messages that the output destination did get.
0137         ---------- UnitTestClient_A
0138 
0139 u30 $   Tests LoggedErrorsSummary, using modues that have normal categories
0140         and also grouped categories.   The expectation is that even grouped
0141         categories will be separated by module on the per-event summary.
0142         ---------- UnitTestClient_S
0143 
0144 u31 $   Tests LoggerErrorsSummary() and  LoggerErrorsOnlySummary()
0145         ---------- UnitTestClient_T
0146 
0147 u33 $%  Tests behavior when modules log outside the per-event analyze
0148         Tests that each type of activity gets right module label
0149         Checks suppression and enabling of severities and LogDebug
0150         These tests are done in two versions - t (threads on) and not t
0151         ---------- UnitTestClient_V
0152         ---------- UnitTestClient_Vd
0153 
0154 u34     Tests that when no destinations have threshold as low asINFO,
0155         LogInfo is suppressed (rather than just ignored by all destinations).
0156         Uses a special testing class LogWarningThatSuppressesLikeLogInfo.
0157         ---------- UnitTestClient_W
0158 
0159 u35     Tests that when any destinations has threshold as low asINFO,
0160         LogInfo is not suppressed.  Other half of test infvolving u34.
0161         Uses a special testing class LogWarningThatSuppressesLikeLogInfo.
0162         ---------- UnitTestClient_W
0163 
0164 Non-regression-suite tests (not run via scramv1 b runtests):
0165 
0166 u0      Includes the cfi file, but nothing else.
0167         ---------- UnitTestClient_G
0168 
0169 u26     Is a near-identical clone of u17, using a different client, and is 
0170         not in the Buildfile
0171         ---------- UnitTestClient_A
0172 
0173 u28_cerr  Tests distinct threshold level for linked statistics destination:
0174           A destination with different PSet name uses output=cerr to share the
0175           same stream as an ordinary output destination to cerr.  But their 
0176           thresholds are different.
0177         ---------- UnitTestClient_A
0178         
0179 u29     Tests the hardwired defaults. Does not include MessageLogger.cfi nor 
0180         explicitly mention MessageLogger or MessageService at all.  Unlike
0181         u20, this is not directly suitable for a unit test because the we
0182         can't disable time stamps and still be true to the "no Message
0183         ---------- UnitTestClient_A
0184 
0185 timing_t   Tests output of Timing service to JobReport
0186            (Inherently tough for regression testing as
0187            times will change and cannt be suppressed.)
0188            ** Run via cmsRun -e timing_t.cfg **
0189            Look for and look at FrameworkJobReport.xml
0190            and timing_t.log.
0191         --------- UnitTestClient_A
0192 
0193 u1      u1 can be used to verify that suppressing LogDebug quaffs any
0194         calls made on the LogDebug line, even if they have a side effect,
0195         by switching in a different unit test that makes such a call.
0196         ---------- UnitTestClient_A_suppTest.cc
0197 
0198 o1      JobReport output of Memory service