49 template<
typename char_t>
69 template<
typename char_t>
72 file_assert::are_equal(expected, actual, message, stack_frame);
94 template<
typename char_t>
114 template<
typename char_t>
118 template<
typename char_t>
120 template<
typename char_t>
122 template<
typename char_t>
124 template<
typename char_t>
126 template<
typename char_t>
128 template<
typename char_t>
149 template<
typename char_t>
169 template<
typename char_t>
172 file_assert::are_not_equal(expected, actual, message, stack_frame);
194 template<
typename char_t>
214 template<
typename char_t>
218 template<
typename char_t>
220 template<
typename char_t>
222 template<
typename char_t>
224 template<
typename char_t>
226 template<
typename char_t>
228 template<
typename char_t>
243 template<
typename char_t>
257 template<
typename char_t>
260 file_assert::does_not_exist(file, message, stack_frame);
267 template<
typename char_t>
269 template<
typename char_t>
284 template<
typename char_t>
298 template<
typename char_t>
301 file_assert::exists(file, message, stack_frame);
308 template<
typename char_t>
310 template<
typename char_t>
Represents text as a sequence of character units.
Definition basic_string.h:79
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.h:124
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.h:47
static stack_frame current(const xtd::source_location &value=xtd::source_location::current()) noexcept
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
The base class for assert.
Definition base_assert.h:29
The file_valid class contains a collection of static methods that implement the most file assertions ...
Definition file_valid.h:23
static void does_not_exist(const xtd::basic_string< char_t > &file, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validate that file not exists.
Definition file_valid.h:244
static void exists(const xtd::basic_string< char_t > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validate that file exists.
Definition file_valid.h:299
static void are_equal(const xtd::basic_string< char_t > &expected, const xtd::basic_string< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validate that two files are equal.
Definition file_valid.h:115
static void exists(const xtd::basic_string< char_t > &file, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validate that file exists.
Definition file_valid.h:285
static void are_not_equal(const xtd::basic_string< char_t > &expected, const xtd::basic_string< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validate that two files are not equal.
Definition file_valid.h:195
static void are_not_equal(const xtd::basic_string< char_t > &expected, const xtd::basic_string< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validate that two files are not equal.
Definition file_valid.h:215
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=xtd::diagnostics::stack_frame::current())
Validate that two files are equal.
Definition file_valid.h:70
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=xtd::diagnostics::stack_frame::current())
Validate that two files are not equal.
Definition file_valid.h:170
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=xtd::diagnostics::stack_frame::current())
Validate that two files are not equal.
Definition file_valid.h:150
static void are_equal(const xtd::basic_string< char_t > &expected, const xtd::basic_string< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validate that two files are equal.
Definition file_valid.h:95
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=xtd::diagnostics::stack_frame::current())
Validate that two files are equal.
Definition file_valid.h:50
static void does_not_exist(const xtd::basic_string< char_t > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validate that file not exists.
Definition file_valid.h:258
Contains xtd::tunit::file_assert class.
#define tunit_export_
Define shared library export.
Definition tunit_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::tunit::valid class.