37 template<
typename expected_t,
typename collection_t>
50 template<
typename expected_t,
typename collection_t>
63 template<
typename expected_t,
typename collection_t>
76 template<
typename expected_t,
typename collection_t>
79 collection_assert::all_items_are_instances_of<expected_t>(collection, message, stack_frame);
86 template<
typename expected_t,
typename item_t>
88 template<
typename expected_t,
typename item_t>
90 template<
typename expected_t,
typename item_t>
92 template<
typename expected_t,
typename item_t>
95 collection_assert::all_items_are_instances_of<expected_t>(collection, message, stack_frame);
114 template<
typename collection_t>
129 template<
typename collection_t>
144 template<
typename collection_t>
159 template<
typename collection_t>
164 base_assert::error();
169 template<
typename item_t>
171 template<
typename item_t>
173 template<
typename item_t>
175 template<
typename item_t>
180 base_assert::error();
196 template<
typename collection_t>
210 template<
typename collection_t>
224 template<
typename collection_t>
238 template<
typename collection_t>
243 base_assert::error();
248 template<
typename item_t>
250 template<
typename item_t>
252 template<
typename item_t>
254 template<
typename item_t>
259 base_assert::error();
274 template<
typename expected_t,
typename actual_t>
287 template<
typename expected_t,
typename actual_t>
300 template<
typename expected_t,
typename actual_t>
313 template<
typename expected_t,
typename actual_t>
318 base_assert::error();
323 template<
typename item_t>
325 template<
typename item_t>
327 template<
typename item_t>
329 template<
typename item_t>
330 static void are_equal(
const std::initializer_list<item_t>& expected,
const std::initializer_list<item_t>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
334 base_assert::error();
339 template<
typename collection_t,
typename item_t>
341 template<
typename collection_t,
typename item_t>
343 template<
typename collection_t,
typename item_t>
345 template<
typename collection_t,
typename item_t>
350 base_assert::error();
355 template<
typename item_t,
typename collection_t>
357 template<
typename item_t,
typename collection_t>
359 template<
typename item_t,
typename collection_t>
361 template<
typename item_t,
typename collection_t>
366 base_assert::error();
381 template<
typename expected_t,
typename actual_t>
394 template<
typename expected_t,
typename actual_t>
407 template<
typename expected_t,
typename actual_t>
420 template<
typename expected_t,
typename actual_t>
425 base_assert::error();
430 template<
typename expected_t,
typename actual_t>
432 template<
typename expected_t,
typename actual_t>
434 template<
typename expected_t,
typename actual_t>
436 template<
typename expected_t,
typename actual_t>
441 base_assert::error();
446 template<
typename collection_t,
typename item_t>
448 template<
typename collection_t,
typename item_t>
450 template<
typename collection_t,
typename item_t>
452 template<
typename collection_t,
typename item_t>
457 base_assert::error();
462 template<
typename item_t,
typename collection_t>
464 template<
typename item_t,
typename collection_t>
466 template<
typename item_t,
typename collection_t>
468 template<
typename item_t,
typename collection_t>
473 base_assert::error();
488 template<
typename expected_t,
typename actual_t>
501 template<
typename expected_t,
typename actual_t>
514 template<
typename expected_t,
typename actual_t>
527 template<
typename expected_t,
typename actual_t>
532 base_assert::error();
537 template<
typename item_t>
539 template<
typename item_t>
541 template<
typename item_t>
543 template<
typename item_t>
548 base_assert::error();
553 template<
typename collection_t,
typename item_t>
555 template<
typename collection_t,
typename item_t>
557 template<
typename collection_t,
typename item_t>
559 template<
typename collection_t,
typename item_t>
564 base_assert::error();
569 template<
typename item_t,
typename collection_t>
571 template<
typename item_t,
typename collection_t>
573 template<
typename item_t,
typename collection_t>
575 template<
typename item_t,
typename collection_t>
580 base_assert::error();
595 template<
typename expected_t,
typename actual_t>
608 template<
typename expected_t,
typename actual_t>
621 template<
typename expected_t,
typename actual_t>
634 template<
typename expected_t,
typename actual_t>
639 base_assert::error();
644 template<
typename expected_t,
typename actual_t>
646 template<
typename expected_t,
typename actual_t>
648 template<
typename expected_t,
typename actual_t>
650 template<
typename expected_t,
typename actual_t>
655 base_assert::error();
660 template<
typename collection_t,
typename item_t>
662 template<
typename collection_t,
typename item_t>
664 template<
typename collection_t,
typename item_t>
666 template<
typename collection_t,
typename item_t>
671 base_assert::error();
676 template<
typename item_t,
typename collection_t>
678 template<
typename item_t,
typename collection_t>
680 template<
typename item_t,
typename collection_t>
682 template<
typename item_t,
typename collection_t>
687 base_assert::error();
702 template<
typename expected_t,
typename actual_t>
715 template<
typename expected_t,
typename actual_t>
728 template<
typename expected_t,
typename actual_t>
741 template<
typename expected_t,
typename actual_t>
746 base_assert::error();
751 template<
typename item_t>
753 template<
typename item_t>
755 template<
typename item_t>
757 template<
typename item_t>
758 static void contains(
const std::initializer_list<item_t>& expected,
const std::initializer_list<item_t>& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
762 base_assert::error();
767 template<
typename collection_t,
typename item_t>
769 template<
typename collection_t,
typename item_t>
771 template<
typename collection_t,
typename item_t>
773 template<
typename collection_t,
typename item_t>
778 base_assert::error();
783 template<
typename item_t,
typename collection_t>
785 template<
typename item_t,
typename collection_t>
787 template<
typename item_t,
typename collection_t>
789 template<
typename item_t,
typename collection_t>
794 base_assert::error();
809 template<
typename expected_t,
typename actual_t>
822 template<
typename expected_t,
typename actual_t>
835 template<
typename expected_t,
typename actual_t>
848 template<
typename expected_t,
typename actual_t>
853 base_assert::error();
858 template<
typename item_t>
860 template<
typename item_t>
862 template<
typename item_t>
864 template<
typename item_t>
869 base_assert::error();
874 template<
typename collection_t,
typename item_t>
876 template<
typename collection_t,
typename item_t>
878 template<
typename collection_t,
typename item_t>
880 template<
typename collection_t,
typename item_t>
885 base_assert::error();
890 template<
typename item_t,
typename collection_t>
892 template<
typename item_t,
typename collection_t>
894 template<
typename item_t,
typename collection_t>
896 template<
typename item_t,
typename collection_t>
901 base_assert::error();
915 template<
typename value_t>
928 template<
typename value_t>
941 template<
typename value_t>
955 template<
typename value_t>
960 base_assert::error();
965 template<
typename value_t>
967 template<
typename value_t>
969 template<
typename value_t>
971 template<
typename value_t>
976 base_assert::error();
990 template<
typename value_t>
1003 template<
typename value_t>
1016 template<
typename value_t>
1030 template<
typename value_t>
1035 base_assert::error();
1040 template<
typename value_t>
1042 template<
typename value_t>
1044 template<
typename value_t>
1046 template<
typename value_t>
1051 base_assert::error();
1065 template<
typename value_t>
1078 template<
typename value_t>
1091 template<
typename value_t>
1105 template<
typename value_t>
1110 base_assert::error();
1115 template<
typename value_t>
1117 template<
typename value_t>
1119 template<
typename value_t>
1121 template<
typename value_t>
1126 base_assert::error();
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 does_not_contain(const expected_t &expected, const actual_t &actual)
Asserts that collection contains all items.
Definition: collection_assert.h:875
static void are_equal(const expected_t &expected, const actual_t &actual)
Asserts that all collection items are equal.
Definition: collection_assert.h:296
static void are_equivalent(const expected_t &expected, const actual_t &actual)
Asserts that all collection items are equivalent.
Definition: collection_assert.h:403
static void is_ordered(const value_t &value)
Asserts that collection is ordered.
Definition: collection_assert.h:1147
static void are_not_equivalent(const expected_t &expected, const actual_t &actual)
Asserts that all collection items are not equivalent.
Definition: collection_assert.h:633
static void all_items_are_unique(const collection_t &collection)
Asserts that all collection items are unique.
Definition: collection_assert.h:209
static void are_not_equal(const expected_t &expected, const actual_t &actual)
Asserts that all collection items are not equal.
Definition: collection_assert.h:526
static void is_empty(const value_t &value)
Asserts that collection contains an item.
Definition: collection_assert.h:993
static void contains(const expected_t &expected, const actual_t &actual)
Asserts that collection contains all items.
Definition: collection_assert.h:756
static void is_not_empty(const value_t &value)
Asserts that collection does not contain any item.
Definition: collection_assert.h:1070
static void all_items_are_not_null(const collection_t &collection)
Asserts that all collection items are not null.
Definition: collection_assert.h:121
The collection_valid class contains a collection of static methods that implement the most collection...
Definition: collection_valid.h:21
static void are_not_equal(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are not equal.
Definition: collection_valid.h:528
static void are_not_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are not equivalent.
Definition: collection_valid.h:635
static void are_not_equivalent(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are not equivalent.
Definition: collection_valid.h:622
static void is_ordered(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection is ordered.
Definition: collection_valid.h:1079
static void are_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are equivalent.
Definition: collection_valid.h:421
static void is_empty(const value_t &value)
Validates that collection contains an item.
Definition: collection_valid.h:916
static void are_equivalent(const expected_t &expected, const actual_t &actual)
Validates that all collection items are equivalent.
Definition: collection_valid.h:382
static void all_items_are_unique(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are unique.
Definition: collection_valid.h:239
static void are_equal(const expected_t &expected, const actual_t &actual, const std::string &message)
Validates that all collection items are equal.
Definition: collection_valid.h:288
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are not equal.
Definition: collection_valid.h:515
static void all_items_are_unique(const collection_t &collection, const std::string &message)
Validates that all collection items are unique.
Definition: collection_valid.h:211
static void contains(const expected_t &expected, const actual_t &actual, const std::string &message)
Validates that collection contains all items.
Definition: collection_valid.h:716
static void all_items_are_not_null(const collection_t &collection)
Validates that all collection items are not null.
Definition: collection_valid.h:115
static void contains(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains all items.
Definition: collection_valid.h:742
static void is_ordered(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection is ordered.
Definition: collection_valid.h:1106
static void all_items_are_not_null(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are not null.
Definition: collection_valid.h:160
static void all_items_are_unique(const collection_t &collection)
Validates that all collection items are unique.
Definition: collection_valid.h:197
static void is_not_empty(const value_t &value, const std::string &message)
Validates that collection or traits does not contain any item.
Definition: collection_valid.h:1017
static void are_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message)
Validates that all collection items are equivalent.
Definition: collection_valid.h:395
static void are_not_equal(const expected_t &expected, const actual_t &actual)
Validates that all collection items are not equal.
Definition: collection_valid.h:489
static void does_not_contain(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains all items.
Definition: collection_valid.h:836
static void all_items_are_instances_of(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are of the type supplied or a derived type.
Definition: collection_valid.h:77
static void does_not_contain(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains all items.
Definition: collection_valid.h:849
static void all_items_are_instances_of(const collection_t &collection)
Validates that all collection items are of the type supplied or a derived type.
Definition: collection_valid.h:38
static void are_equal(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are equal.
Definition: collection_valid.h:314
static void all_items_are_not_null(const collection_t &collection, const std::string &message)
Validates that all collection items are not null.
Definition: collection_valid.h:130
static void are_not_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message)
Validates that all collection items are not equivalent.
Definition: collection_valid.h:609
static void is_empty(const value_t &value, const std::string &message)
Validates that collection contains an item.
Definition: collection_valid.h:942
static void all_items_are_not_null(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are not null.
Definition: collection_valid.h:145
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are equal.
Definition: collection_valid.h:301
static void is_not_empty(const value_t &value)
Validates that collection does not contain any item.
Definition: collection_valid.h:991
static void is_ordered(const value_t &value, const std::string &message)
Validates that collection is ordered.
Definition: collection_valid.h:1092
static void is_ordered(const value_t &value)
Validates that collection is ordered.
Definition: collection_valid.h:1066
static void contains(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains all items.
Definition: collection_valid.h:729
static void are_not_equivalent(const expected_t &expected, const actual_t &actual)
Validates that all collection items are not equivalent.
Definition: collection_valid.h:596
static void contains(const expected_t &expected, const actual_t &actual)
Validates that collection contains all items.
Definition: collection_valid.h:703
static void all_items_are_instances_of(const collection_t &collection, const std::string &message)
Validates that all collection items are of the type supplied or a derived type.
Definition: collection_valid.h:51
static void is_empty(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains an item.
Definition: collection_valid.h:956
static void is_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains an item.
Definition: collection_valid.h:929
static void are_equal(const expected_t &expected, const actual_t &actual)
Validates that all collection items are equal.
Definition: collection_valid.h:275
static void are_equivalent(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are equivalent.
Definition: collection_valid.h:408
static void are_not_equal(const expected_t &expected, const actual_t &actual, const std::string &message)
Validates that all collection items are not equal.
Definition: collection_valid.h:502
static void is_not_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection or traits does not contain any item.
Definition: collection_valid.h:1004
static void all_items_are_instances_of(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are of the type supplied or a derived type.
Definition: collection_valid.h:64
static void does_not_contain(const expected_t &expected, const actual_t &actual, const std::string &message)
Validates that collection contains all items.
Definition: collection_valid.h:823
static void is_not_empty(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection or traits does not contain any item.
Definition: collection_valid.h:1031
static void does_not_contain(const expected_t &expected, const actual_t &actual)
Validates that collection contains all items.
Definition: collection_valid.h:810
static void all_items_are_unique(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame)
Validates that all collection items are unique.
Definition: collection_valid.h:225
Contains xtd::tunit::collection_valid class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::tunit::valid class.