Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Unit test configuration file for MessageLogger service:
0002 # Behavior when two messages of identical category but distinct 
0003 # severity levels are issued. 
0004 # Tests fix of Bug #65284
0005 #
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 process = cms.Process("TEST")
0010 
0011 import FWCore.Framework.test.cmsExceptionsFatal_cff
0012 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0013 
0014 process.load("FWCore.MessageService.test.Services_cff")
0015 
0016 process.MessageLogger = cms.Service("MessageLogger",
0017     cerr = cms.untracked.PSet(
0018         enable = cms.untracked.bool(False)
0019     ),
0020     files = cms.untracked.PSet(
0021         u36_only = cms.untracked.PSet(
0022             threshold = cms.untracked.string('INFO'),
0023             INFO = cms.untracked.PSet(
0024                 limit = cms.untracked.int32(0)
0025             ),
0026             WARNING = cms.untracked.PSet(
0027                 limit = cms.untracked.int32(-1)
0028             )
0029         )
0030     )
0031 )
0032 
0033 process.maxEvents = cms.untracked.PSet(
0034     input = cms.untracked.int32(1)
0035 )
0036 
0037 process.source = cms.Source("EmptySource")
0038 
0039 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_X")
0040 
0041 process.p = cms.Path(process.sendSomeMessages)