Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:44

0001 # Unit test configuration file for MessageLogger service:
0002 # LogVerbatim and LogTrace
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("TEST")
0007 
0008 import FWCore.Framework.test.cmsExceptionsFatal_cff
0009 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0010 
0011 process.load("FWCore.MessageService.test.Services_cff")
0012 
0013 process.MessageLogger = cms.Service("MessageLogger",
0014     debugModules = cms.untracked.vstring('*'),
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     files = cms.untracked.PSet(
0019         u13_infos = cms.untracked.PSet(
0020             threshold = cms.untracked.string('INFO'),
0021             noTimeStamps = cms.untracked.bool(True),
0022             FwkReport = cms.untracked.PSet(
0023                 limit = cms.untracked.int32(0)
0024             ),
0025             FwkTest = cms.untracked.PSet(
0026                 limit = cms.untracked.int32(0)
0027             )
0028         ),
0029         u13_debugs = cms.untracked.PSet(
0030             threshold = cms.untracked.string('DEBUG'),
0031             noTimeStamps = cms.untracked.bool(True),
0032             FwkReport = cms.untracked.PSet(
0033                 limit = cms.untracked.int32(0)
0034             ),
0035             FwkTest = cms.untracked.PSet(
0036                 limit = cms.untracked.int32(0)
0037             )
0038         )
0039     )
0040 )
0041 
0042 process.maxEvents = cms.untracked.PSet(
0043     input = cms.untracked.int32(2)
0044 )
0045 
0046 process.source = cms.Source("EmptySource")
0047 
0048 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_H")
0049 
0050 process.p = cms.Path(process.sendSomeMessages)
0051 
0052