Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:05:49

0001 #define CATCH_CONFIG_MAIN
0002 #include <catch.hpp>
0003 
0004 #include "FWCore/PluginManager/interface/PluginManager.h"
0005 #include "FWCore/PluginManager/interface/standard.h"
0006 
0007 class ServiceRegistryListener : public Catch::TestEventListenerBase {
0008 public:
0009   using Catch::TestEventListenerBase::TestEventListenerBase;  // inherit constructor
0010 
0011   void testRunStarting(Catch::TestRunInfo const& testRunInfo) override {
0012     edmplugin::PluginManager::configure(edmplugin::standard::config());
0013   }
0014 };
0015 
0016 CATCH_REGISTER_LISTENER(ServiceRegistryListener);