Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_decomposer.cpp
Go to the documentation of this file.
1
/*
2
* Created by Phil Nash on 8/8/2017.
3
* Copyright 2017 Two Blue Cubes Ltd. All rights reserved.
4
*
5
* Distributed under the Boost Software License, Version 1.0. (See accompanying
6
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7
*/
8
9
#include "
catch_decomposer.h
"
10
#include "
catch_config.hpp
"
11
12
namespace
Catch
{
13
14
ITransientExpression::~ITransientExpression
() =
default
;
15
16
void
formatReconstructedExpression
( std::ostream &
os
, std::string
const
& lhs,
StringRef
op
, std::string
const
& rhs ) {
17
if
( lhs.size() + rhs.size() < 40 &&
18
lhs.find(
'\n'
) == std::string::npos &&
19
rhs.find(
'\n'
) == std::string::npos )
20
os
<< lhs <<
" "
<<
op
<<
" "
<< rhs;
21
else
22
os
<< lhs <<
"\n"
<<
op
<<
"\n"
<< rhs;
23
}
24
}
catch_config.hpp
catch_decomposer.h
Catch::StringRef
Definition
catch.hpp:522
os
os_t os
Definition
environment.hpp:23
Catch
Definition
231-Cfg-OutputStreams.cpp:32
Catch::formatReconstructedExpression
void formatReconstructedExpression(std::ostream &os, std::string const &lhs, StringRef op, std::string const &rhs)
Definition
catch_decomposer.cpp:16
Catch::ITransientExpression::~ITransientExpression
virtual ~ITransientExpression()
op
Definition
yubihsm_pkcs11.h:98
libraries
sys-vm
external
Catch2
include
internal
catch_decomposer.cpp
Generated by
1.12.0