Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
# Free test configuration file for MessageLogger service:
# Behavior implied by S. Naumann but unexpected on our part.

import FWCore.ParameterSet.Config as cms

process = cms.Process("TEST")

import FWCore.Framework.test.cmsExceptionsFatal_cff
process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options

process.load("FWCore.MessageService.test.Services_cff")

process.load("FWCore.MessageLogger.MessageLogger_cfi")

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(1)
)

process.source = cms.Source("EmptySource")

process.sendSomeMessages = cms.EDAnalyzer( "PSetTestClient_A", 
  a = cms.untracked.PSet 
  (
    b = cms.untracked.PSet
    (
      x = cms.untracked.int32(4)
    )
  )
)

process.p = cms.Path(process.sendSomeMessages)