44 template<
typename Char>
65 template<
typename Char>
86 template<
typename Char>
108 template<
typename Char>
134 template<
typename Char>
155 template<
typename Char>
176 template<
typename Char>
198 template<
typename Char>
199 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);}
202 template<
typename Char>
204 template<
typename Char>
206 template<
typename Char>
208 template<
typename Char>
209 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);}
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 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);}
218 template<
typename Char>
220 template<
typename Char>
222 template<
typename Char>
224 template<
typename Char>
225 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);}
245 template<
typename Char>
266 template<
typename Char>
287 template<
typename Char>
309 template<
typename Char>
335 template<
typename Char>
356 template<
typename Char>
377 template<
typename Char>
399 template<
typename Char>
400 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);}
403 template<
typename Char>
405 template<
typename Char>
407 template<
typename Char>
409 template<
typename Char>
410 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);}
411 template<
typename Char>
413 template<
typename Char>
415 template<
typename Char>
417 template<
typename Char>
418 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);}
419 template<
typename Char>
421 template<
typename Char>
423 template<
typename Char>
425 template<
typename Char>
440 template<
typename Char>
455 template<
typename Char>
470 template<
typename Char>
486 template<
typename Char>
496 template<
typename Char>
498 template<
typename Char>
500 template<
typename Char>
502 template<
typename Char>
517 template<
typename Char>
532 template<
typename Char>
547 template<
typename Char>
563 template<
typename Char>
573 template<
typename Char>
575 template<
typename Char>
577 template<
typename Char>
579 template<
typename Char>
Contains xtd::tunit::assume class.
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 abort()
Abort current test. This is used by the other Assert functions.
Definition: base_assert.h:36
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_assume class contains a collection of static methods that implement the most file assertions...
Definition: file_assume.h:21
static void does_not_exist(const std::basic_string< Char > &file, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that file not exists.
Definition: file_assume.h:533
static void are_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual)
Assumes that two files are equal.
Definition: file_assume.h:135
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)
Assumes that two files are not equal.
Definition: file_assume.h:400
static void does_not_exist(const std::basic_string< Char > &file)
Assumes that file not exists.
Definition: file_assume.h:518
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)
Assumes that two files are equal.
Definition: file_assume.h:199
static void does_not_exist(const std::basic_string< Char > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that file not exists.
Definition: file_assume.h:564
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)
Assumes that two files are not equal.
Definition: file_assume.h:310
static void exists(const std::basic_string< Char > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that file exists.
Definition: file_assume.h:487
static void are_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const std::string &message)
Assumes that two files are equal.
Definition: file_assume.h:177
static void are_not_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two files are not equal.
Definition: file_assume.h:267
static void are_not_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual)
Assumes that two files are not equal.
Definition: file_assume.h:336
static void are_not_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual)
Assumes that two files are not equal.
Definition: file_assume.h:246
static void exists(const std::basic_string< Char > &file, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that file exists.
Definition: file_assume.h:456
static void exists(const std::basic_string< Char > &file)
Assumes that file exists.
Definition: file_assume.h:441
static void are_not_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const std::string &message)
Assumes that two files are not equal.
Definition: file_assume.h:288
static void are_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const std::string &message)
Assumes that two files are equal.
Definition: file_assume.h:87
static void are_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual)
Assumes that two files are equal.
Definition: file_assume.h:45
static void are_not_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const std::string &message)
Assumes that two files are not equal.
Definition: file_assume.h:378
static void exists(const std::basic_string< Char > &file, const std::string &message)
Assumes that file exists.
Definition: file_assume.h:471
static void does_not_exist(const std::basic_string< Char > &file, const std::string &message)
Assumes that file not exists.
Definition: file_assume.h:548
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)
Assumes that two files are equal.
Definition: file_assume.h:109
static void are_not_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two files are not equal.
Definition: file_assume.h:357
static void are_equal(const std::basic_string< Char > &expected, const std::basic_string< Char > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two files are equal.
Definition: file_assume.h:156
static void are_equal(const std::basic_istream< Char > &expected, const std::basic_istream< Char > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two files are equal.
Definition: file_assume.h:66
Contains xtd::tunit::file_assert class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17