From b568f408390daf686444e3e268919a6fd239a458 Mon Sep 17 00:00:00 2001 From: Ivan Razumov Date: Tue, 1 Oct 2024 10:39:19 +0200 Subject: [PATCH] [CORE] Remove unused python scripts in FWCore/MessageService/test/PsetValidationSamples/ --- .../test/PsetValidationSamples/cat_cfg.py | 87 ------------------- .../PsetValidationSamples/categories_cfg.py | 73 ---------------- .../PsetValidationSamples/debugModules_cfg.py | 81 ----------------- .../test/PsetValidationSamples/dest_cfg.py | 82 ----------------- .../PsetValidationSamples/destlist_cfg.py | 70 --------------- .../PsetValidationSamples/fwkJRlist_cfg.py | 72 --------------- .../test/PsetValidationSamples/gpm_cfg.py | 68 --------------- .../test/PsetValidationSamples/mstjp_cfg.py | 68 --------------- .../PsetValidationSamples/statlist_cfg.py | 72 --------------- .../PsetValidationSamples/suppress_cfg.py | 76 ---------------- .../PsetValidationSamples/threshold_cfg.py | 68 --------------- .../test/PsetValidationSamples/vstring_cfg.py | 81 ----------------- .../test/PsetValidationSamples/xPSet_cfg.py | 72 --------------- 13 files changed, 970 deletions(-) delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/cat_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/categories_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/debugModules_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/dest_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/destlist_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/fwkJRlist_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/gpm_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/mstjp_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/statlist_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/suppress_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/threshold_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/vstring_cfg.py delete mode 100644 FWCore/MessageService/test/PsetValidationSamples/xPSet_cfg.py diff --git a/FWCore/MessageService/test/PsetValidationSamples/cat_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/cat_cfg.py deleted file mode 100644 index 53d22f2713be0..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/cat_cfg.py +++ /dev/null @@ -1,87 +0,0 @@ -# Test of a feature of PSet validation: -# Category nested PSets - -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.MessageLogger = cms.Service("MessageLogger", - cat_J = cms.untracked.PSet( - limit = cms.untracked.int32(100), - reportEvery = cms.untracked.int32(10), - timespan = cms.untracked.int32(10) - ), - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - INFO = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ) - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/categories_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/categories_cfg.py deleted file mode 100644 index 9202efd569970..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/categories_cfg.py +++ /dev/null @@ -1,73 +0,0 @@ -# Test of a feature of PSet validation: -# The vstring categories and messageIDs lists - -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.MessageLogger = cms.Service("MessageLogger", - cat_A = cms.untracked.int32(2), - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - - ) - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/debugModules_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/debugModules_cfg.py deleted file mode 100644 index d523f9bf35820..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/debugModules_cfg.py +++ /dev/null @@ -1,81 +0,0 @@ -# Test of a feature of PSet validation: -# The vstring debugModules and suppressDebug - -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.MessageLogger = cms.Service("MessageLogger", - - destinations = cms.untracked.vstring( 'u1_warnings', 'u1_errors', - 'u1_infos', 'u1_debugs', 'u1_default', 'u1_x'), - categories = cms.untracked.vstring('preEventProcessing','FwkTest', - 'cat_A','cat_B'), - -#enable one of the following -- the first THREE should pass, the rest fail - - debugModules = cms.untracked.vstring('*'), -# debugModules = cms.untracked.vstring('A', 'B'), -# debugModules = cms.untracked.vstring('*'),suppressDebug = cms.untracked.vstring('A'), - -# debugModules = cms.untracked.vstring('*'),suppressDebug = cms.untracked.vstring('*'), -# suppressDebug = cms.untracked.vstring('A'), -# debugModules = cms.untracked.vstring('A','B'),suppressDebug = cms.untracked.vstring('A'), -# debugModules = cms.vstring('A'), -# debugModules = cms.untracked.int32(2), - - u1_infos = cms.untracked.PSet( - threshold = cms.untracked.string('INFO'), - noTimeStamps = cms.untracked.bool(True), - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_warnings = cms.untracked.PSet( - threshold = cms.untracked.string('WARNING'), - noTimeStamps = cms.untracked.bool(True), - enableStatistics = cms.untracked.bool(True) - ), - u1_debugs = cms.untracked.PSet( - threshold = cms.untracked.string('DEBUG'), - noTimeStamps = cms.untracked.bool(True), - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_default = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - enableStatistics = cms.untracked.bool(True) - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - threshold = cms.untracked.string('ERROR'), - noTimeStamps = cms.untracked.bool(True) - ), -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/dest_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/dest_cfg.py deleted file mode 100644 index 131733bea43a0..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/dest_cfg.py +++ /dev/null @@ -1,82 +0,0 @@ -# Test of a feature of PSet validation: -# A destination PSet - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - INFO = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ) - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/destlist_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/destlist_cfg.py deleted file mode 100644 index f3fa69c67872e..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/destlist_cfg.py +++ /dev/null @@ -1,70 +0,0 @@ -# Test of a feature of PSet validation: -# The vstring destinations list - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - - ) - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/fwkJRlist_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/fwkJRlist_cfg.py deleted file mode 100644 index 6842fdab91c70..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/fwkJRlist_cfg.py +++ /dev/null @@ -1,72 +0,0 @@ -# Test of a feature of PSet validation: -# The vstring fwkJobReports list - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - - ) - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/gpm_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/gpm_cfg.py deleted file mode 100644 index ddec87c2736e1..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/gpm_cfg.py +++ /dev/null @@ -1,68 +0,0 @@ -# Test of a feature of PSet validation: -# messageSummaryToJobReport - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ) - ), - generate_preconfiguration_message = cms.untracked.string('precon-message') -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/mstjp_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/mstjp_cfg.py deleted file mode 100644 index d332dbea34e7f..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/mstjp_cfg.py +++ /dev/null @@ -1,68 +0,0 @@ -# Test of a feature of PSet validation: -# messageSummaryToJobReport - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ) - ), - messageSummaryToJobReport = cms.untracked.bool(True) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/statlist_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/statlist_cfg.py deleted file mode 100644 index 0b16a277ca369..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/statlist_cfg.py +++ /dev/null @@ -1,72 +0,0 @@ -# Test of a feature of PSet validation: -# The statistics - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - - ) - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/suppress_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/suppress_cfg.py deleted file mode 100644 index d571bcdaf1d49..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/suppress_cfg.py +++ /dev/null @@ -1,76 +0,0 @@ -# Test of a feature of PSet validation: -# The vstring suppressInfo and suppressWarning - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - - ) - ), - suppressInfo = cms.untracked.vstring( - 'A', - 'B' - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/threshold_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/threshold_cfg.py deleted file mode 100644 index de61d50b75d34..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/threshold_cfg.py +++ /dev/null @@ -1,68 +0,0 @@ -# Test of a feature of PSet validation: -# messageSummaryToJobReport - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ) - ), - threshold = cms.untracked.string('DEBUG') -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/vstring_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/vstring_cfg.py deleted file mode 100644 index 185995291ea48..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/vstring_cfg.py +++ /dev/null @@ -1,81 +0,0 @@ -# Test of a feature of PSet validation: -# No disallowed vstrings at main level - -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.MessageLogger = cms.Service("MessageLogger", - ab = cms.untracked.vstring( - 'A', - 'B' - ), - abc = cms.vstring( - 'A', - 'B', - 'C' - ), - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - - ) - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages) diff --git a/FWCore/MessageService/test/PsetValidationSamples/xPSet_cfg.py b/FWCore/MessageService/test/PsetValidationSamples/xPSet_cfg.py deleted file mode 100644 index 7e09c76731bd3..0000000000000 --- a/FWCore/MessageService/test/PsetValidationSamples/xPSet_cfg.py +++ /dev/null @@ -1,72 +0,0 @@ -# Test of a feature of PSet validation: -# No disallowed PSets at main level - -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.MessageLogger = cms.Service("MessageLogger", - cerr = cms.untracked.PSet( - enable = cms.untracked.bool(False) - ), - debugModules = cms.untracked.vstring('*'), - files = cms.untracked.PSet( - u1_debugs = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('DEBUG') - ), - u1_default = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - u1_errors = cms.untracked.PSet( - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('ERROR') - ), - u1_infos = cms.untracked.PSet( - FwkTest = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - noTimeStamps = cms.untracked.bool(True), - preEventProcessing = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - threshold = cms.untracked.string('INFO') - ), - u1_warnings = cms.untracked.PSet( - enableStatistics = cms.untracked.bool(True), - noTimeStamps = cms.untracked.bool(True), - threshold = cms.untracked.string('WARNING') - ), - u1_x = cms.untracked.PSet( - - ) - ) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("EmptySource") - -process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A") - -process.p = cms.Path(process.sendSomeMessages)