Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:48:02

0001 #include "FWCore/Utilities/interface/path_configuration.h"
0002 #include "catch.hpp"
0003 
0004 using namespace edm::path_configuration;
0005 TEST_CASE("Test path_configuration", "[path_configuration]") {
0006   SECTION("removeSchedulingTokensFromModuleLabel") {
0007     SECTION("no tokens") { REQUIRE("foo" == removeSchedulingTokensFromModuleLabel("foo")); }
0008     SECTION("+") { REQUIRE("foo" == removeSchedulingTokensFromModuleLabel("+foo")); }
0009     SECTION("-") { REQUIRE("foo" == removeSchedulingTokensFromModuleLabel("-foo")); }
0010     SECTION("|") { REQUIRE("foo" == removeSchedulingTokensFromModuleLabel("|foo")); }
0011     SECTION("!") { REQUIRE("foo" == removeSchedulingTokensFromModuleLabel("!foo")); }
0012   }
0013 }