Skip to content

Commit

Permalink
Add assertions to stubbed out code paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
schneiml committed Nov 12, 2019
1 parent b815a0d commit 22c7d19
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
5 changes: 4 additions & 1 deletion DQM/SiPixelMonitorClient/src/SiPixelConfigWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ SiPixelConfigWriter::~SiPixelConfigWriter() {}
//
// -- Initialize XML
//
bool SiPixelConfigWriter::init() { return true; }
bool SiPixelConfigWriter::init() {
assert(!"No longer implemented.");
return true;
}
//
// -- Add an Element
//
Expand Down
2 changes: 2 additions & 0 deletions DQM/SiPixelMonitorClient/src/SiPixelLayoutParser.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "DQM/SiPixelMonitorClient/interface/SiPixelLayoutParser.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <cassert>

using namespace std;

Expand All @@ -18,5 +19,6 @@ SiPixelLayoutParser::SiPixelLayoutParser() {
//
bool SiPixelLayoutParser::getAllLayouts(map<string, vector<string>> &layouts) {
// TODO: implement parser based on property_tree.
assert(!"No longer implemented.");
return false;
}
2 changes: 2 additions & 0 deletions DQM/SiStripCommissioningClients/src/SummaryPlotXmlParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "DataFormats/SiStripCommon/interface/SiStripEnumsAndStrings.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <stdexcept>
#include <cassert>

using namespace sistrip;

Expand All @@ -27,6 +28,7 @@ std::vector<SummaryPlot> SummaryPlotXmlParser::summaryPlots(const sistrip::RunTy
void SummaryPlotXmlParser::parseXML(const std::string& f) {
plots_.clear();
// TODO: implement parser based on property tree.
assert(!"No longer implemented.");
}

// -----------------------------------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion DQM/SiStripMonitorClient/src/SiStripConfigWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ SiStripConfigWriter::~SiStripConfigWriter() {}
//
// -- Initialize XML
//
bool SiStripConfigWriter::init(std::string main) { return true; }
bool SiStripConfigWriter::init(std::string main) {
assert(!"No longer implemented.");
return true;
}
//
// -- Add an Element to the top node
//
Expand Down
4 changes: 3 additions & 1 deletion DQM/SiStripMonitorClient/src/SiStripLayoutParser.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "DQM/SiStripMonitorClient/interface/SiStripLayoutParser.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <cassert>

//
// -- Constructor
Expand All @@ -10,7 +11,8 @@ SiStripLayoutParser::SiStripLayoutParser() {
<< "\n";
}
void SiStripLayoutParser::getDocument(std::string filepath) {
// TODO: add new parser.
// TODO: add new parser based on boost::property_tree.
assert(!"No longer implemented.");
}
//
// -- Get list of Layouts for ME groups
Expand Down

0 comments on commit 22c7d19

Please sign in to comment.