Home
last modified time | relevance | path

Searched refs:StringMaker (Results 1 – 13 of 13) sorted by relevance

/external/catch2/include/internal/
Dcatch_tostring.cpp97 std::string StringMaker<std::string>::convert(const std::string& str) { in convert()
121 std::string StringMaker<std::string_view>::convert(std::string_view str) { in convert()
126 std::string StringMaker<char const*>::convert(char const* str) { in convert()
133 std::string StringMaker<char*>::convert(char* str) { in convert()
142 std::string StringMaker<std::wstring>::convert(const std::wstring& wstr) { in convert()
152 std::string StringMaker<std::wstring_view>::convert(std::wstring_view str) { in convert()
153 return StringMaker<std::wstring>::convert(std::wstring(str)); in convert()
157 std::string StringMaker<wchar_t const*>::convert(wchar_t const * str) { in convert()
164 std::string StringMaker<wchar_t *>::convert(wchar_t * str) { in convert()
174 std::string StringMaker<int>::convert(int value) { in convert()
[all …]
Dcatch_tostring.h98 struct StringMaker { struct
128 …return ::Catch::StringMaker<typename std::remove_cv<typename std::remove_reference<T>::type>::type… in stringify() argument
139 return ::Catch::StringMaker<T^>::convert(e);
148 struct StringMaker<std::string> {
154 struct StringMaker<std::string_view> {
160 struct StringMaker<char const *> {
164 struct StringMaker<char *> {
170 struct StringMaker<std::wstring> {
176 struct StringMaker<std::wstring_view> {
182 struct StringMaker<wchar_t const *> {
[all …]
Dcatch_approx.cpp83 std::string StringMaker<Catch::Detail::Approx>::convert(Catch::Detail::Approx const& value) { in convert()
Dcatch_approx.h126 struct StringMaker<Catch::Detail::Approx> {
/external/catch2/docs/
Dtostring.md6 [Catch::StringMaker specialisation](#catchstringmaker-specialisation)<br>
28 ## Catch::StringMaker specialisation
29 …ype differently for testing purposes, you can provide a specialization for `Catch::StringMaker<T>`:
34 struct StringMaker<T> {
Dconfiguration.md90 a type that does not specialize `StringMaker`, does not overload `operator<<`,
95 All types that do not provide `StringMaker` specialization or `operator<<`
130 … CATCH_CONFIG_CPP17_STRING_VIEW // Provide StringMaker specialization for std::string_view
203 CATCH_CONFIG_ENABLE_PAIR_STRINGMAKER // Provide StringMaker specialization for std::pair
204 CATCH_CONFIG_ENABLE_TUPLE_STRINGMAKER // Provide StringMaker specialization for std::tuple
205 …CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER // Provide StringMaker specialization for std::chrono::du…
206 …CATCH_CONFIG_ENABLE_VARIANT_STRINGMAKER // Provide StringMaker specialization for std::variant, s…
207 …CATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER // Provide StringMaker specialization for std::optional (…
Drelease-notes.md79 * Added `StringMaker` specialization for `std::optional` (#1510)
162 * Added a StringMaker for `std::(w)string_view` (#1375, #1376)
163 * Added a StringMaker for `std::variant` (#1380)
263 * Both `StringMaker` specialization and `operator<<` overload are given priority
413 …* The new stringification machinery uses `Catch::StringMaker` specializations first and `operator<…
/external/catch2/projects/SelfTest/UsageTests/
DToStringWhich.tests.cpp55 struct StringMaker<has_maker> { struct
61 struct StringMaker<has_maker_and_operator> { struct
160 struct StringMaker<stringmaker_range> { struct
DToStringGeneral.tests.cpp157 struct StringMaker<StringMakerException> { struct
/external/catch2/single_include/catch2/
Dcatch.hpp1289 struct StringMaker { struct
1319 …return ::Catch::StringMaker<typename std::remove_cv<typename std::remove_reference<T>::type>::type… in stringify() argument
1330 return ::Catch::StringMaker<T^>::convert(e);
1339 struct StringMaker<std::string> { struct
1345 struct StringMaker<std::string_view> { struct
1351 struct StringMaker<char const *> { struct
1355 struct StringMaker<char *> { struct
1361 struct StringMaker<std::wstring> { struct
1367 struct StringMaker<std::wstring_view> { struct
1373 struct StringMaker<wchar_t const *> { struct
[all …]
/external/catch2/projects/SelfTest/Baselines/
Dcompact.sw.approved.txt1382 …number>: passed: ::Catch::Detail::stringify( item ) == "StringMaker<has_maker>" for: "StringMaker<…
1384 "StringMaker<has_maker>"
1385 …: passed: ::Catch::Detail::stringify( item ) == "StringMaker<has_maker_and_operator>" for: "String…
1387 "StringMaker<has_maker_and_operator>"
1395 …umber>: passed: ::Catch::Detail::stringify( v ) == "{ StringMaker<has_maker> }" for: "{ StringMake…
1397 "{ StringMaker<has_maker> }"
1398 … passed: ::Catch::Detail::stringify( v ) == "{ StringMaker<has_maker_and_operator> }" for: "{ Stri…
1400 "{ StringMaker<has_maker_and_operator> }"
Dconsole.sw.approved.txt10192 REQUIRE( ::Catch::Detail::stringify( item ) == "StringMaker<has_maker>" )
10194 "StringMaker<has_maker>"
10196 "StringMaker<has_maker>"
10205 REQUIRE( ::Catch::Detail::stringify( item ) == "StringMaker<has_maker_and_operator>" )
10207 "StringMaker<has_maker_and_operator>"
10209 "StringMaker<has_maker_and_operator>"
10255 REQUIRE( ::Catch::Detail::stringify( v ) == "{ StringMaker<has_maker> }" )
10257 "{ StringMaker<has_maker> }"
10259 "{ StringMaker<has_maker> }"
10268 REQUIRE( ::Catch::Detail::stringify( v ) == "{ StringMaker<has_maker_and_operator> }" )
[all …]
/external/bcc/tests/cc/
Dcatch.hpp1670 struct StringMaker : struct
1674 struct StringMaker<T*> { struct
1685 struct StringMaker<R C::*> { struct
1740 struct StringMaker<std::tuple<Types...>> { struct
1756 return StringMaker<T>::convert( value ); in makeString()
1769 return StringMaker<T>::convert( value ); in toString()