38 template<
typename expected_t,
typename collection_t>
52 template<
typename expected_t,
typename collection_t>
66 template<
typename expected_t,
typename collection_t>
80 template<
typename expected_t,
typename collection_t>
83 collection_assert::all_items_are_instances_of<expected_t>(collection, message, stack_frame);
90 template<
typename expected_t,
typename item_t>
92 template<
typename expected_t,
typename item_t>
94 template<
typename expected_t,
typename item_t>
96 template<
typename expected_t,
typename item_t>
99 collection_assert::all_items_are_instances_of<expected_t>(collection, message, stack_frame);
119 template<
typename collection_t>
135 template<
typename collection_t>
151 template<
typename collection_t>
167 template<
typename collection_t>
177 template<
typename item_t>
179 template<
typename item_t>
181 template<
typename item_t>
183 template<
typename item_t>
205 template<
typename collection_t>
220 template<
typename collection_t>
235 template<
typename collection_t>
250 template<
typename collection_t>
260 template<
typename item_t>
262 template<
typename item_t>
264 template<
typename item_t>
266 template<
typename item_t>
287 template<
typename expected_t,
typename actual_t>
301 template<
typename expected_t,
typename actual_t>
315 template<
typename expected_t,
typename actual_t>
329 template<
typename expected_t,
typename actual_t>
339 template<
typename item_t>
341 template<
typename item_t>
343 template<
typename item_t>
345 template<
typename item_t>
346 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) {
355 template<
typename collection_t,
typename item_t>
357 template<
typename collection_t,
typename item_t>
359 template<
typename collection_t,
typename item_t>
361 template<
typename collection_t,
typename item_t>
371 template<
typename item_t,
typename collection_t>
373 template<
typename item_t,
typename collection_t>
375 template<
typename item_t,
typename collection_t>
377 template<
typename item_t,
typename collection_t>
398 template<
typename expected_t,
typename actual_t>
412 template<
typename expected_t,
typename actual_t>
426 template<
typename expected_t,
typename actual_t>
440 template<
typename expected_t,
typename actual_t>
450 template<
typename expected_t,
typename actual_t>
452 template<
typename expected_t,
typename actual_t>
454 template<
typename expected_t,
typename actual_t>
456 template<
typename expected_t,
typename actual_t>
466 template<
typename collection_t,
typename item_t>
468 template<
typename collection_t,
typename item_t>
470 template<
typename collection_t,
typename item_t>
472 template<
typename collection_t,
typename item_t>
482 template<
typename item_t,
typename collection_t>
484 template<
typename item_t,
typename collection_t>
486 template<
typename item_t,
typename collection_t>
488 template<
typename item_t,
typename collection_t>
509 template<
typename expected_t,
typename actual_t>
523 template<
typename expected_t,
typename actual_t>
537 template<
typename expected_t,
typename actual_t>
551 template<
typename expected_t,
typename actual_t>
561 template<
typename item_t>
563 template<
typename item_t>
565 template<
typename item_t>
567 template<
typename item_t>
577 template<
typename collection_t,
typename item_t>
579 template<
typename collection_t,
typename item_t>
581 template<
typename collection_t,
typename item_t>
583 template<
typename collection_t,
typename item_t>
593 template<
typename item_t,
typename collection_t>
595 template<
typename item_t,
typename collection_t>
597 template<
typename item_t,
typename collection_t>
599 template<
typename item_t,
typename collection_t>
620 template<
typename expected_t,
typename actual_t>
634 template<
typename expected_t,
typename actual_t>
648 template<
typename expected_t,
typename actual_t>
662 template<
typename expected_t,
typename actual_t>
672 template<
typename expected_t,
typename actual_t>
674 template<
typename expected_t,
typename actual_t>
676 template<
typename expected_t,
typename actual_t>
678 template<
typename expected_t,
typename actual_t>
688 template<
typename collection_t,
typename item_t>
690 template<
typename collection_t,
typename item_t>
692 template<
typename collection_t,
typename item_t>
694 template<
typename collection_t,
typename item_t>
704 template<
typename item_t,
typename collection_t>
706 template<
typename item_t,
typename collection_t>
708 template<
typename item_t,
typename collection_t>
710 template<
typename item_t,
typename collection_t>
731 template<
typename expected_t,
typename actual_t>
745 template<
typename expected_t,
typename actual_t>
759 template<
typename expected_t,
typename actual_t>
773 template<
typename expected_t,
typename actual_t>
783 template<
typename item_t>
785 template<
typename item_t>
787 template<
typename item_t>
789 template<
typename item_t>
790 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) {
799 template<
typename collection_t,
typename item_t>
801 template<
typename collection_t,
typename item_t>
803 template<
typename collection_t,
typename item_t>
805 template<
typename collection_t,
typename item_t>
815 template<
typename item_t,
typename collection_t>
817 template<
typename item_t,
typename collection_t>
819 template<
typename item_t,
typename collection_t>
821 template<
typename item_t,
typename collection_t>
842 template<
typename expected_t,
typename actual_t>
856 template<
typename expected_t,
typename actual_t>
870 template<
typename expected_t,
typename actual_t>
884 template<
typename expected_t,
typename actual_t>
894 template<
typename item_t>
896 template<
typename item_t>
898 template<
typename item_t>
900 template<
typename item_t>
910 template<
typename collection_t,
typename item_t>
912 template<
typename collection_t,
typename item_t>
914 template<
typename collection_t,
typename item_t>
916 template<
typename collection_t,
typename item_t>
926 template<
typename item_t,
typename collection_t>
928 template<
typename item_t,
typename collection_t>
930 template<
typename item_t,
typename collection_t>
932 template<
typename item_t,
typename collection_t>
952 template<
typename value_t>
966 template<
typename value_t>
980 template<
typename value_t>
995 template<
typename value_t>
1005 template<
typename value_t>
1007 template<
typename value_t>
1009 template<
typename value_t>
1011 template<
typename value_t>
1031 template<
typename value_t>
1045 template<
typename value_t>
1059 template<
typename value_t>
1074 template<
typename value_t>
1084 template<
typename value_t>
1086 template<
typename value_t>
1088 template<
typename value_t>
1090 template<
typename value_t>
1110 template<
typename value_t>
1124 template<
typename value_t>
1138 template<
typename value_t>
1153 template<
typename value_t>
1163 template<
typename value_t>
1165 template<
typename value_t>
1167 template<
typename value_t>
1169 template<
typename value_t>
Contains xtd::tunit::assume class.
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 abort()
Abort current test. This is used by the other Assert functions.
Definition: base_assert.h:36
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_assume class contains a collection of static methods that implement the most collectio...
Definition: collection_assume.h:21
static void are_not_equal(const expected_t &expected, const actual_t &actual, const std::string &message)
Assumes that all collection items are not equal.
Definition: collection_assume.h:524
static void all_items_are_not_null(const collection_t &collection, const std::string &message)
Assumes that all collection items are not null.
Definition: collection_assume.h:136
static void are_not_equal(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items arenot equal.
Definition: collection_assume.h:552
static void are_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message)
Assumes that all collection items are equivalent.
Definition: collection_assume.h:413
static void is_ordered(const value_t &value)
Assumes that collection is ordered.
Definition: collection_assume.h:1111
static void all_items_are_unique(const collection_t &collection)
Assumes that all collection items are unique.
Definition: collection_assume.h:206
static void is_not_empty(const value_t &value)
Assumes that collection does not contain any item.
Definition: collection_assume.h:1032
static void is_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains an item.
Definition: collection_assume.h:967
static void are_not_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message)
Assumes that all collection items are not equivalent.
Definition: collection_assume.h:635
static void are_equivalent(const expected_t &expected, const actual_t &actual)
Assumes that all collection items are equivalent.
Definition: collection_assume.h:399
static void are_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are equivalent.
Definition: collection_assume.h:441
static void all_items_are_instances_of(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are of the type supplied or a derived type.
Definition: collection_assume.h:81
static void is_ordered(const value_t &value, const std::string &message)
Assumes that collection is ordered.
Definition: collection_assume.h:1139
static void is_not_empty(const value_t &value, const std::string &message)
Assumes that collection or traits does not contain any item.
Definition: collection_assume.h:1060
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are not equal.
Definition: collection_assume.h:538
static void all_items_are_instances_of(const collection_t &collection, const std::string &message)
Assumes that all collection items are of the type supplied or a derived type.
Definition: collection_assume.h:53
static void are_not_equivalent(const expected_t &expected, const actual_t &actual)
Assumes that all collection items are not equivalent.
Definition: collection_assume.h:621
static void does_not_contain(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains all items.
Definition: collection_assume.h:885
static void contains(const expected_t &expected, const actual_t &actual)
Assumes that ollection contains all items.
Definition: collection_assume.h:732
static void does_not_contain(const expected_t &expected, const actual_t &actual, const std::string &message)
Assumes that collection contains all items.
Definition: collection_assume.h:857
static void is_not_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection or traits does not contain any item.
Definition: collection_assume.h:1046
static void contains(const expected_t &expected, const actual_t &actual, const std::string &message)
Assumes that collection contains all items.
Definition: collection_assume.h:746
static void all_items_are_not_null(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are not null.
Definition: collection_assume.h:168
static void are_equal(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are equal.
Definition: collection_assume.h:330
static void does_not_contain(const expected_t &expected, const actual_t &actual)
Assumes that collection contains all items.
Definition: collection_assume.h:843
static void are_equivalent(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are equivalent.
Definition: collection_assume.h:427
static void all_items_are_unique(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are unique.
Definition: collection_assume.h:251
static void are_not_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are not equivalent.
Definition: collection_assume.h:663
static void all_items_are_instances_of(const collection_t &collection)
Assumes that all collection items are of the type supplied or a derived type.
Definition: collection_assume.h:39
static void all_items_are_unique(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are unique.
Definition: collection_assume.h:236
static void are_equal(const expected_t &expected, const actual_t &actual)
Assumes that all collection items are equal.
Definition: collection_assume.h:288
static void is_not_empty(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection or traits does not contain any item.
Definition: collection_assume.h:1075
static void all_items_are_not_null(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are not null.
Definition: collection_assume.h:152
static void are_equal(const expected_t &expected, const actual_t &actual, const std::string &message)
Assumes that all collection items are equal.
Definition: collection_assume.h:302
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are equal.
Definition: collection_assume.h:316
static void all_items_are_not_null(const collection_t &collection)
Assumes that all collection items are not null.
Definition: collection_assume.h:120
static void is_ordered(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection is ordered.
Definition: collection_assume.h:1125
static void are_not_equivalent(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are not equivalent.
Definition: collection_assume.h:649
static void contains(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains all items.
Definition: collection_assume.h:774
static void all_items_are_unique(const collection_t &collection, const std::string &message)
Assumes that all collection items are unique.
Definition: collection_assume.h:221
static void are_not_equal(const expected_t &expected, const actual_t &actual)
Assumes that all collection items are not equal.
Definition: collection_assume.h:510
static void all_items_are_instances_of(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that all collection items are of the type supplied or a derived type.
Definition: collection_assume.h:67
static void is_empty(const value_t &value, const std::string &message)
Assumes that collection contains an item.
Definition: collection_assume.h:981
static void contains(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains all items.
Definition: collection_assume.h:760
static void is_empty(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains an item.
Definition: collection_assume.h:996
static void is_empty(const value_t &value)
Assumes that collection contains an item.
Definition: collection_assume.h:953
static void is_ordered(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection is ordered.
Definition: collection_assume.h:1154
static void does_not_contain(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains all items.
Definition: collection_assume.h:871
Contains xtd::tunit::collection_assert class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17