43 template<
typename Char>
63 template<
typename Char>
83 template<
typename Char>
104 template<
typename Char>
109 base_assert::error();
129 template<
typename Char>
149 template<
typename Char>
169 template<
typename Char>
190 template<
typename Char>
191 static void are_equal(
const std::basic_string<Char>& expected,
const std::basic_string<Char>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_equal(std::basic_ifstream<Char>(expected), std::basic_ifstream<Char>(actual), message, stack_frame);}
194 template<
typename Char>
196 template<
typename Char>
198 template<
typename Char>
200 template<
typename Char>
201 static void are_equal(
const std::basic_string<Char>& expected,
const Char* actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_equal(std::basic_ifstream<Char>(expected), std::basic_ifstream<Char>(actual), message, stack_frame);}
202 template<
typename Char>
204 template<
typename Char>
206 template<
typename Char>
208 template<
typename Char>
209 static void are_equal(
const Char* expected,
const std::basic_string<Char>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_equal(std::basic_ifstream<Char>(expected), std::basic_ifstream<Char>(actual), message, stack_frame);}
210 template<
typename Char>
212 template<
typename Char>
214 template<
typename Char>
216 template<
typename Char>
217 static void are_equal(
const Char* expected,
const Char* actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_equal(std::basic_ifstream<Char>(expected), std::basic_ifstream<Char>(actual), message, stack_frame);}
236 template<
typename Char>
256 template<
typename Char>
276 template<
typename Char>
297 template<
typename Char>
302 base_assert::error();
322 template<
typename Char>
342 template<
typename Char>
362 template<
typename Char>
383 template<
typename Char>
384 static void are_not_equal(
const std::basic_string<Char>& expected,
const std::basic_string<Char>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_not_equal(std::basic_ifstream<Char>(expected), std::basic_ifstream<Char>(actual), message, stack_frame);}
387 template<
typename Char>
389 template<
typename Char>
391 template<
typename Char>
393 template<
typename Char>
394 static void are_not_equal(
const std::basic_string<Char>& expected,
const Char* actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_not_equal(std::basic_ifstream<Char>(expected), std::basic_ifstream<Char>(actual), message, stack_frame);}
395 template<
typename Char>
397 template<
typename Char>
399 template<
typename Char>
401 template<
typename Char>
402 static void are_not_equal(
const Char* expected,
const std::basic_string<Char>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_not_equal(std::basic_ifstream<Char>(expected), std::basic_ifstream<Char>(actual), message, stack_frame);}
403 template<
typename Char>
405 template<
typename Char>
407 template<
typename Char>
409 template<
typename Char>
423 template<
typename Char>
437 template<
typename Char>
451 template<
typename Char>
466 template<
typename Char>
471 base_assert::error();
476 template<
typename Char>
478 template<
typename Char>
480 template<
typename Char>
482 template<
typename Char>
496 template<
typename Char>
510 template<
typename Char>
524 template<
typename Char>
539 template<
typename Char>
544 base_assert::error();
549 template<
typename Char>
551 template<
typename Char>
553 template<
typename Char>
555 template<
typename Char>
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.h:29
static stack_frame empty() noexcept
Return an empty stack frame.
The base class for assert.
Definition base_assert.h:25
static void does_not_exist(const std::basic_string< Char > &file)
Asserts that file not exists.
Definition file_assert.h:552
static void are_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual)
Asserts that two files are equal.
Definition file_assert.h:44
static void are_not_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual)
Asserts that two files are not equal.
Definition file_assert.h:263
static void exists(const std::basic_string< Char > &file)
Asserts that file exists.
Definition file_assert.h:476
The file_valid class contains a collection of static methods that implement the most file assertions ...
Definition file_valid.h:21
static void does_not_exist(const std::basic_string< Char > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that file not exists.
Definition file_valid.h:540
static void exists(const std::basic_string< Char > &file, const std::string &message)
Validate that file exists.
Definition file_valid.h:452
static void are_not_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are not equal.
Definition file_valid.h:343
static void are_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are equal.
Definition file_valid.h:64
static void exists(const std::basic_string< Char > &file)
Validate that file exists.
Definition file_valid.h:424
static void are_not_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual)
Validate that two files are not equal.
Definition file_valid.h:323
static void are_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual)
Validate that two files are equal.
Definition file_valid.h:44
static void does_not_exist(const std::basic_string< Char > &file, const std::string &message)
Validate that file not exists.
Definition file_valid.h:525
static void are_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const std::string &message)
Validate that two files are equal.
Definition file_valid.h:84
static void exists(const std::basic_string< Char > &file, const xtd::diagnostics::stack_frame &stack_frame)
Validate that file exists.
Definition file_valid.h:438
static void exists(const std::basic_string< Char > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that file exists.
Definition file_valid.h:467
static void are_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const std::string &message)
Validate that two files are equal.
Definition file_valid.h:170
static void are_not_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are not equal.
Definition file_valid.h:384
static void does_not_exist(const std::basic_string< Char > &file)
Validate that file not exists.
Definition file_valid.h:497
static void are_not_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are not equal.
Definition file_valid.h:298
static void does_not_exist(const std::basic_string< Char > &file, const xtd::diagnostics::stack_frame &stack_frame)
Validate that file not exists.
Definition file_valid.h:511
static void are_not_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are not equal.
Definition file_valid.h:257
static void are_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are equal.
Definition file_valid.h:150
static void are_not_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const std::string &message)
Validate that two files are not equal.
Definition file_valid.h:363
static void are_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are equal.
Definition file_valid.h:105
static void are_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual)
Validate that two files are equal.
Definition file_valid.h:130
static void are_not_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual)
Validate that two files are not equal.
Definition file_valid.h:237
static void are_not_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const std::string &message)
Validate that two files are not equal.
Definition file_valid.h:277
static void are_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are equal.
Definition file_valid.h:191
Contains xtd::tunit::file_assert class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::tunit::valid class.