ATLAS Offline Software
Loading...
Searching...
No Matches
MockCondition.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPOUNITTESTS_MOCKCONDITION_H
6#define TRIGHLTJETHYPOUNITTESTS_MOCKCONDITION_H
7
8#include "TrigHLTJetHypo/TrigHLTJetHypoUtils/ICondition.h"
9#include "gmock/gmock.h"
11
13public:
15
16 //supply kludges needed due to no google mock support for noexcept
17 // std::string toString() const noexcept {return toString_kludge();}
18 std::string toString() const noexcept {return "MockCondition";}
19 // MOCK_CONST_METHOD0(toString_kludge, std::string());
20
21 double orderingParameter() const noexcept {return -999;}
22 // double orderingParameter() const noexcept {return orderingParameter_kludge();}
23 // MOCK_CONST_METHOD0(orderingParameter_kludge, double());
24};
25#endif
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
virtual bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const =0
MOCK_CONST_METHOD1(isSatisfied, bool(const HypoJetVector &))
std::string toString() const noexcept
double orderingParameter() const noexcept