48 template<
typename char_t>
67 template<
typename char_t>
86 template<
typename char_t>
106 template<
typename char_t>
130 template<
typename char_t>
150 template<
typename char_t>
169 template<
typename char_t>
189 template<
typename char_t>
190 static void are_equal(
const std::basic_string<char_t>& expected,
const std::basic_string<char_t>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_equal(std::basic_ifstream<char_t>(expected), std::basic_ifstream<char_t>(actual), message, stack_frame);}
193 template<
typename char_t>
195 template<
typename char_t>
196 static void are_equal(
const std::basic_string<char_t>& expected,
const char_t* actual,
const xtd::diagnostics::stack_frame& stack_frame) {are_equal(expected, actual,
"", stack_frame);}
197 template<
typename char_t>
198 static void are_equal(
const std::basic_string<char_t>& expected,
const char_t* actual,
const std::string& message) {are_equal(expected, actual, message,
xtd::diagnostics::stack_frame::empty());}
199 template<
typename char_t>
200 static void are_equal(
const std::basic_string<char_t>& expected,
const char_t* actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {are_equal(std::basic_ifstream<char_t>(expected), std::basic_ifstream<char_t>(actual), message, stack_frame);}
201 template<
typename char_t>
203 template<
typename char_t>
204 static void are_equal(
const char_t* expected,
const std::basic_string<char_t>& actual,
const xtd::diagnostics::stack_frame& stack_frame) {are_equal(expected, actual,
"", stack_frame);}
205 template<
typename char_t>
206 static void are_equal(
const char_t* expected,
const std::basic_string<char_t>& actual,
const std::string& message) {are_equal(expected, actual, message,
xtd::diagnostics::stack_frame::empty());}
207 template<
typename char_t>
208 static void are_equal(
const char_t* expected,
const std::basic_string<char_t>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {are_equal(std::basic_ifstream<char_t>(expected), std::basic_ifstream<char_t>(actual), message, stack_frame);}
209 template<
typename char_t>
211 template<
typename char_t>
212 static void are_equal(
const char_t* expected,
const char_t* actual,
const xtd::diagnostics::stack_frame& stack_frame) {are_equal(expected, actual,
"", stack_frame);}
213 template<
typename char_t>
215 template<
typename char_t>
216 static void are_equal(
const char_t* expected,
const char_t* actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {are_equal(std::basic_ifstream<char_t>(expected), std::basic_ifstream<char_t>(actual), message, stack_frame);}
235 template<
typename char_t>
254 template<
typename char_t>
273 template<
typename char_t>
293 template<
typename char_t>
317 template<
typename char_t>
336 template<
typename char_t>
355 template<
typename char_t>
375 template<
typename char_t>
376 static void are_not_equal(
const std::basic_string<char_t>& expected,
const std::basic_string<char_t>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
are_not_equal(std::basic_ifstream<char_t>(expected), std::basic_ifstream<char_t>(actual), message, stack_frame);}
379 template<
typename char_t>
381 template<
typename char_t>
382 static void are_not_equal(
const std::basic_string<char_t>& expected,
const char_t* actual,
const xtd::diagnostics::stack_frame& stack_frame) {are_not_equal(expected, actual,
"", stack_frame);}
383 template<
typename char_t>
384 static void are_not_equal(
const std::basic_string<char_t>& expected,
const char_t* actual,
const std::string& message) {are_not_equal(expected, actual, message,
xtd::diagnostics::stack_frame::empty());}
385 template<
typename char_t>
386 static void are_not_equal(
const std::basic_string<char_t>& expected,
const char_t* actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {are_not_equal(std::basic_ifstream<char_t>(expected), std::basic_ifstream<char_t>(actual), message, stack_frame);}
387 template<
typename char_t>
389 template<
typename char_t>
390 static void are_not_equal(
const char_t* expected,
const std::basic_string<char_t>& actual,
const xtd::diagnostics::stack_frame& stack_frame) {are_not_equal(expected, actual,
"", stack_frame);}
391 template<
typename char_t>
392 static void are_not_equal(
const char_t* expected,
const std::basic_string<char_t>& actual,
const std::string& message) {are_not_equal(expected, actual, message,
xtd::diagnostics::stack_frame::empty());}
393 template<
typename char_t>
394 static void are_not_equal(
const char_t* expected,
const std::basic_string<char_t>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {are_not_equal(std::basic_ifstream<char_t>(expected), std::basic_ifstream<char_t>(actual), message, stack_frame);}
395 template<
typename char_t>
397 template<
typename char_t>
398 static void are_not_equal(
const char_t* expected,
const char_t* actual,
const xtd::diagnostics::stack_frame& stack_frame) {are_not_equal(expected, actual,
"", stack_frame);}
399 template<
typename char_t>
400 static void are_not_equal(
const char_t* expected,
const char_t* actual,
const std::string& message) {are_not_equal(expected, actual, message,
xtd::diagnostics::stack_frame::empty());}
401 template<
typename char_t>
402 static void are_not_equal(
const char_t* expected,
const char_t* actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {are_not_equal(std::basic_ifstream<char_t>(expected), std::basic_ifstream<char_t>(actual), message, stack_frame);}
415 template<
typename char_t>
428 template<
typename char_t>
441 template<
typename char_t>
455 template<
typename char_t>
465 template<
typename char_t>
467 template<
typename char_t>
469 template<
typename char_t>
471 template<
typename char_t>
472 static void does_not_exist(
const char_t* file,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {does_not_exist(std::basic_string<char_t>(file), message, stack_frame);}
485 template<
typename char_t>
498 template<
typename char_t>
511 template<
typename char_t>
525 template<
typename char_t>
535 template<
typename char_t>
537 template<
typename char_t>
539 template<
typename char_t>
541 template<
typename char_t>
542 static void exists(
const char_t* file,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {exists(std::basic_string<char_t>(file), message, stack_frame);}
The base class for assert.
Definition: base_assert.h:29
static void are_equal(const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are equal.
Definition: file_valid.h:190
static void exists(const std::basic_string< char_t > &file, const std::string &message)
Validate that file exists.
Definition: file_valid.h:512
static void are_not_equal(const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual)
Validate that two files are not equal.
Definition: file_valid.h:318
Contains xtd::tunit::file_assert class.
static void are_not_equal(const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are not equal.
Definition: file_valid.h:376
static void are_not_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are not equal.
Definition: file_valid.h:294
static void are_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const std::string &message)
Validate that two files are equal.
Definition: file_valid.h:87
static void are_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual)
Validate that two files are equal.
Definition: file_valid.h:49
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
static void are_not_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual)
Validate that two files are not equal.
Definition: file_valid.h:236
static void does_not_exist(const std::basic_string< char_t > &file)
Validate that file not exists.
Definition: file_valid.h:416
static void are_not_equal(const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const std::string &message)
Validate that two files are not equal.
Definition: file_valid.h:356
static void are_not_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const std::string &message)
Validate that two files are not equal.
Definition: file_valid.h:274
static void are_equal(const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual)
Validate that two files are equal.
Definition: file_valid.h:131
static void does_not_exist(const std::basic_string< char_t > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that file not exists.
Definition: file_valid.h:456
static void are_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are equal.
Definition: file_valid.h:107
static void are_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are equal.
Definition: file_valid.h:68
static void are_equal(const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are equal.
Definition: file_valid.h:151
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition: stack_frame.h:37
static stack_frame empty() noexcept
Return an empty stack frame.
static void are_not_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are not equal.
Definition: file_valid.h:255
Contains xtd::tunit::valid class.
static void exists(const std::basic_string< char_t > &file)
Validate that file exists.
Definition: file_valid.h:486
static void exists(const std::basic_string< char_t > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validate that file exists.
Definition: file_valid.h:526
static void are_not_equal(const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validate that two files are not equal.
Definition: file_valid.h:337
static void are_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual)
Asserts that two files are equal.
Definition: file_assert.h:50
static void are_equal(const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const std::string &message)
Validate that two files are equal.
Definition: file_valid.h:170
static void exists(const std::basic_string< char_t > &file, const xtd::diagnostics::stack_frame &stack_frame)
Validate that file exists.
Definition: file_valid.h:499
The file_valid class contains a collection of static methods that implement the most file assertions ...
Definition: file_valid.h:23
static void exists(const std::basic_string< char_t > &file)
Asserts that file exists.
Definition: file_assert.h:544
static void does_not_exist(const std::basic_string< char_t > &file, const xtd::diagnostics::stack_frame &stack_frame)
Validate that file not exists.
Definition: file_valid.h:429
static void does_not_exist(const std::basic_string< char_t > &file, const std::string &message)
Validate that file not exists.
Definition: file_valid.h:442
static void does_not_exist(const std::basic_string< char_t > &file)
Asserts that file not exists.
Definition: file_assert.h:469
static void are_not_equal(const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual)
Asserts that two files are not equal.
Definition: file_assert.h:262