コード例 #1
0
ファイル: catch_resultinfo.hpp プロジェクト: ashang/pepper
 std::string getExpandedExpression
 ()
 const
 {
     if( !hasExpression() )
         return "";
     
     return m_expressionIncomplete
         ? getExpandedExpressionInternal() + " {can't expand the rest of the expression - consider rewriting it}"
         : getExpandedExpressionInternal();
 }
コード例 #2
0
 std::string getExpandedExpression() const {
     return hasExpression() ? getExpandedExpressionInternal() : std::string("");
 }
コード例 #3
0
 bool hasExpandedExpression() const {
     return hasExpression() && getExpandedExpressionInternal() != m_expr;
 }
コード例 #4
0
ファイル: catch_resultinfo.hpp プロジェクト: godlygeek/Catch
 std::string ResultInfo::getExpandedExpression() const {
     return hasExpression() ? getExpandedExpressionInternal() : "";
 }
コード例 #5
0
ファイル: catch_resultinfo.hpp プロジェクト: godlygeek/Catch
 bool ResultInfo::hasExpandedExpression() const {
     return hasExpression() && getExpandedExpressionInternal() != m_expr;
 }
コード例 #6
0
 bool AssertionResult::hasExpandedExpression() const {
     return hasExpression() && getExpandedExpression() != getExpression();
 }