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 # statistics destination :  name not matching any destination; 
0003 # no PSet configuring it specially
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 
0009 import FWCore.Framework.test.cmsExceptionsFatal_cff
0010 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0011 
0012 process.load("FWCore.MessageService.test.Services_cff")
0013 
0014 process.MessageLogger = cms.Service("MessageLogger",
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     files = cms.untracked.PSet(
0019         u3_infos = cms.untracked.PSet(
0020             threshold = cms.untracked.string('INFO'),
0021             noTimeStamps = cms.untracked.bool(True),
0022             FwkTest = cms.untracked.PSet(
0023                 limit = cms.untracked.int32(0)
0024             )
0025         ),
0026         u3_statistics = cms.untracked.PSet(
0027             enableStatistics = cms.untracked.bool(True),
0028             default = cms.untracked.PSet(
0029               limit = cms.untracked.int32(0)
0030             )
0031         )
0032     )
0033 )
0034 
0035 process.maxEvents = cms.untracked.PSet(
0036     input = cms.untracked.int32(3)
0037 )
0038 
0039 process.source = cms.Source("EmptySource")
0040 
0041 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A")
0042 
0043 process.p = cms.Path(process.sendSomeMessages)