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.hpp:79
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.hpp:124
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.hpp: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.hpp:29
The file_valid class contains a collection of static methods that implement the most file assertions ...
Definition file_valid.hpp: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.hpp: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.hpp: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.hpp: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.hpp: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.hpp: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.hpp: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.hpp: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.hpp: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.hpp: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.hpp: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.hpp: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.hpp:258
Contains xtd::tunit::file_assert class.
#define tunit_export_
Define shared library export.
Definition tunit_export.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::tunit::valid class.