#include <util/result.h>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
|
| bool | operator== (const bilingual_str &a, const bilingual_str &b) |
| |
| std::ostream & | operator<< (std::ostream &os, const bilingual_str &s) |
| |
| bool | operator== (const NoCopy &a, const NoCopy &b) |
| |
| std::ostream & | operator<< (std::ostream &os, const NoCopy &o) |
| |
| util::Result< int > | IntFn (int i, bool success) |
| |
| util::Result< bilingual_str > | StrFn (bilingual_str s, bool success) |
| |
| util::Result< NoCopy > | NoCopyFn (int i, bool success) |
| |
| template<typename T > |
| void | ExpectResult (const util::Result< T > &result, bool success, const bilingual_str &str) |
| |
| template<typename T , typename... Args> |
| void | ExpectSuccess (const util::Result< T > &result, const bilingual_str &str, Args &&... args) |
| |
| template<typename T , typename... Args> |
| void | ExpectFail (const util::Result< T > &result, const bilingual_str &str) |
| |
| | BOOST_AUTO_TEST_CASE (check_returned) |
| |
| | BOOST_AUTO_TEST_CASE (check_value_or) |
| |
◆ BOOST_AUTO_TEST_CASE() [1/2]
| BOOST_AUTO_TEST_CASE |
( |
check_returned |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/2]
| BOOST_AUTO_TEST_CASE |
( |
check_value_or |
| ) |
|
◆ ExpectFail()
template<typename T , typename... Args>
◆ ExpectResult()
◆ ExpectSuccess()
template<typename T , typename... Args>
◆ IntFn()
◆ NoCopyFn()
◆ operator<<() [1/2]
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const bilingual_str & |
s |
|
) |
| |
|
inline |
◆ operator<<() [2/2]
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const NoCopy & |
o |
|
) |
| |
◆ operator==() [1/2]
◆ operator==() [2/2]
◆ StrFn()