The directory_valid class contains a collection of static methods that implement the most directory assertions used in xtd::tUnit.
Public Static Methods | |
| static void | are_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that two xtd::io::directory_info are equal.   | |
| static void | are_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that two xtd::io::directory_info are equal.   | |
| static void | are_not_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that two xtd::io::directory_info are not equal.   | |
| static void | are_not_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that two xtd::io::directory_info are not equal.   | |
| static void | does_not_exist (const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that directory not exists.   | |
| static void | does_not_exist (const xtd::io::directory_info &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that directory not exists.   | |
| template<typename char_t > | |
| static void | does_not_exist (const xtd::basic_string< char_t > &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that file not exists.   | |
| template<typename char_t > | |
| static void | does_not_exist (const xtd::basic_string< char_t > &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that file not exists.   | |
| static void | exists (const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that directory exists.   | |
| static void | exists (const xtd::io::directory_info &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that directory exists.   | |
| template<typename char_t > | |
| static void | exists (const xtd::basic_string< char_t > &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that directory exists.   | |
| template<typename char_t > | |
| static void | exists (const xtd::basic_string< char_t > &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) | 
| Validates that directory exists.   | |
      
  | 
  static | 
Validates that two xtd::io::directory_info are equal.
| expected | the expected value. | 
| actual | the actual value. | 
| stack_frame | Contains information about current file and current line. | 
| xtd::tunit::assert_error | If bad assertion. | 
      
  | 
  static | 
Validates that two xtd::io::directory_info are equal.
| expected | the expected value. | 
| actual | the actual value. | 
| message | A user message to display if the assertion fails. This message can be seen in the unit test results. | 
| stack_frame | Contains information about current file and current line. | 
| xtd::tunit::assert_error | If bad assertion. | 
      
  | 
  static | 
Validates that two xtd::io::directory_info are not equal.
| expected | the expected value. | 
| actual | the actual value. | 
| stack_frame | Contains information about current file and current line. | 
| xtd::tunit::assert_error | If bad assertion. | 
      
  | 
  static | 
Validates that two xtd::io::directory_info are not equal.
| expected | the expected value. | 
| actual | the actual value. | 
| message | A user message to display if the assertion fails. This message can be seen in the unit test results. | 
| stack_frame | Contains information about current file and current line. | 
| xtd::tunit::assert_error | If bad assertion. | 
      
  | 
  static | 
Validates that directory not exists.
| expected | the expected value. | 
| actual | the actual value. | 
| stack_frame | Contains information about current file and current line. | 
| xtd::tunit::assert_error | If bad assertion. | 
      
  | 
  static | 
Validates that directory not exists.
| expected | the expected value. | 
| actual | the actual value. | 
| message | A user message to display if the assertion fails. This message can be seen in the unit test results. | 
| stack_frame | Contains information about current file and current line. | 
| xtd::tunit::assert_error | If bad assertion. | 
      
  | 
  inlinestatic | 
Validates that file not exists.
| expected | the expected value. | 
| actual | the actual value. | 
| stack_frame | Contains information about current file and current line. | 
      
  | 
  inlinestatic | 
Validates that file not exists.
| expected | the expected value. | 
| actual | the actual value. | 
| message | A user message to display if the assertion fails. This message can be seen in the unit test results. | 
| stack_frame | Contains information about current file and current line. | 
      
  | 
  static | 
Validates that directory exists.
| expected | the expected value. | 
| actual | the actual value. | 
| stack_frame | Contains information about current file and current line. | 
| xtd::tunit::assert_error | If bad assertion. | 
      
  | 
  static | 
Validates that directory exists.
| expected | the expected value. | 
| actual | the actual value. | 
| message | A user message to display if the assertion fails. This message can be seen in the unit test results. | 
| stack_frame | Contains information about current file and current line. | 
| xtd::tunit::assert_error | If bad assertion. | 
      
  | 
  inlinestatic | 
Validates that directory exists.
| expected | the expected value. | 
| actual | the actual value. | 
| stack_frame | Contains information about current file and current line. | 
      
  | 
  inlinestatic | 
Validates that directory exists.
| expected | the expected value. | 
| actual | the actual value. | 
| message | A user message to display if the assertion fails. This message can be seen in the unit test results. | 
| stack_frame | Contains information about current file and current line. |