Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # u25.cfg Unit test configuration file for MessageLogger service:
0002 # Tests features of concern to users around March 2008, specifically:
0003 # * Behavior of default ERROR limit
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         u25_only = cms.untracked.PSet(
0020             threshold = cms.untracked.string('INFO'),
0021             noTimeStamps = cms.untracked.bool(True),
0022             enableStatistics = cms.untracked.bool(True),
0023             FwkTest = cms.untracked.PSet(
0024                 limit = cms.untracked.int32(0)
0025             ),
0026             ERROR = cms.untracked.PSet(
0027                 limit = cms.untracked.int32(3)
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_R")
0040 
0041 process.p = cms.Path(process.sendSomeMessages)