Skip to content

Commit ee49406

Browse files
committed
Added action assertions.
1 parent 5a857e9 commit ee49406

24 files changed

+495
-515
lines changed

doc/MrKWatkins.Assertions.tree

Lines changed: 83 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,30 @@
44
<toc-element topic="MrKWatkins.Assertions.md" />
55
<toc-element toc-title="API" id="API">
66
<toc-element toc-title="MrKWatkins.Assertions">
7+
<toc-element toc-title="ActionAssertions">
8+
<toc-element toc-title="ActionAssertions" topic="MrKWatkins.Assertions.ActionAssertions.md" />
9+
<toc-element toc-title="Methods">
10+
<toc-element toc-title="NotThrow" topic="MrKWatkins.Assertions.ActionAssertions.NotThrow.md" />
11+
<toc-element toc-title="Throw" topic="MrKWatkins.Assertions.ActionAssertions.Throw.md" />
12+
</toc-element>
13+
</toc-element>
14+
<toc-element toc-title="ActionAssertionsChain&lt;TException&gt;">
15+
<toc-element toc-title="ActionAssertionsChain&lt;TException&gt;" topic="MrKWatkins.Assertions.ActionAssertionsChain-1.md" />
16+
<toc-element toc-title="Properties">
17+
<toc-element toc-title="Exception" topic="MrKWatkins.Assertions.ActionAssertionsChain-1.Exception.md" />
18+
<toc-element toc-title="That" topic="MrKWatkins.Assertions.ActionAssertionsChain-1.That.md" />
19+
</toc-element>
20+
</toc-element>
721
<toc-element toc-title="AssertionException">
822
<toc-element toc-title="AssertionException" topic="MrKWatkins.Assertions.AssertionException.md" />
923
<toc-element toc-title="Constructors" topic="MrKWatkins.Assertions.AssertionException.-ctor.md" />
1024
</toc-element>
25+
<toc-element toc-title="AssertThat">
26+
<toc-element toc-title="AssertThat" topic="MrKWatkins.Assertions.AssertThat.md" />
27+
<toc-element toc-title="Methods">
28+
<toc-element toc-title="Invoking" topic="MrKWatkins.Assertions.AssertThat.Invoking.md" />
29+
</toc-element>
30+
</toc-element>
1131
<toc-element toc-title="EnumerableAssertions&lt;TEnumerable, T&gt;">
1232
<toc-element toc-title="EnumerableAssertions&lt;TEnumerable, T&gt;" topic="MrKWatkins.Assertions.EnumerableAssertions-2.md" />
1333
<toc-element toc-title="Methods">
@@ -22,25 +42,46 @@
2242
<toc-element toc-title="Value" topic="MrKWatkins.Assertions.EnumerableAssertionsChain-2.Value.md" />
2343
</toc-element>
2444
</toc-element>
25-
<toc-element toc-title="EnumerableAssertionsExtensions">
26-
<toc-element toc-title="EnumerableAssertionsExtensions" topic="MrKWatkins.Assertions.EnumerableAssertionsExtensions.md" />
45+
<toc-element toc-title="EqualityExtensions">
46+
<toc-element toc-title="EqualityExtensions" topic="MrKWatkins.Assertions.EqualityExtensions.md" />
47+
<toc-element toc-title="Methods">
48+
<toc-element toc-title="Equal" topic="MrKWatkins.Assertions.EqualityExtensions.Equal.md" />
49+
<toc-element toc-title="NotEqual" topic="MrKWatkins.Assertions.EqualityExtensions.NotEqual.md" />
50+
</toc-element>
51+
</toc-element>
52+
<toc-element toc-title="ExceptionExtensions">
53+
<toc-element toc-title="ExceptionExtensions" topic="MrKWatkins.Assertions.ExceptionExtensions.md" />
54+
<toc-element toc-title="Methods">
55+
<toc-element toc-title="HaveInnerException" topic="MrKWatkins.Assertions.ExceptionExtensions.HaveInnerException.md" />
56+
<toc-element toc-title="HaveMessage" topic="MrKWatkins.Assertions.ExceptionExtensions.HaveMessage.md" />
57+
<toc-element toc-title="HaveParamName" topic="MrKWatkins.Assertions.ExceptionExtensions.HaveParamName.md" />
58+
<toc-element toc-title="NotHaveInnerException" topic="MrKWatkins.Assertions.ExceptionExtensions.NotHaveInnerException.md" />
59+
<toc-element toc-title="NotHaveMessage" topic="MrKWatkins.Assertions.ExceptionExtensions.NotHaveMessage.md" />
60+
<toc-element toc-title="NotHaveParamName" topic="MrKWatkins.Assertions.ExceptionExtensions.NotHaveParamName.md" />
61+
</toc-element>
2762
</toc-element>
2863
<toc-element toc-title="Extensions">
2964
<toc-element toc-title="Extensions" topic="MrKWatkins.Assertions.Extensions.md" />
3065
<toc-element toc-title="Methods">
31-
<toc-element toc-title="Should" topic="MrKWatkins.Assertions.Extensions.Should.md" />
66+
<toc-element toc-title="TryGetCount" topic="MrKWatkins.Assertions.Extensions.TryGetCount.md" />
3267
</toc-element>
3368
</toc-element>
3469
<toc-element toc-title="IntegerFormat" topic="MrKWatkins.Assertions.IntegerFormat.md" />
35-
<toc-element toc-title="NumericAssertionsExtensions">
36-
<toc-element toc-title="NumericAssertionsExtensions" topic="MrKWatkins.Assertions.NumericAssertionsExtensions.md" />
70+
<toc-element toc-title="InvokingExtensions">
71+
<toc-element toc-title="InvokingExtensions" topic="MrKWatkins.Assertions.InvokingExtensions.md" />
3772
<toc-element toc-title="Methods">
38-
<toc-element toc-title="BeNegative" topic="MrKWatkins.Assertions.NumericAssertionsExtensions.BeNegative.md" />
39-
<toc-element toc-title="BePositive" topic="MrKWatkins.Assertions.NumericAssertionsExtensions.BePositive.md" />
40-
<toc-element toc-title="BeZero" topic="MrKWatkins.Assertions.NumericAssertionsExtensions.BeZero.md" />
41-
<toc-element toc-title="NotBeNegative" topic="MrKWatkins.Assertions.NumericAssertionsExtensions.NotBeNegative.md" />
42-
<toc-element toc-title="NotBePositive" topic="MrKWatkins.Assertions.NumericAssertionsExtensions.NotBePositive.md" />
43-
<toc-element toc-title="NotBeZero" topic="MrKWatkins.Assertions.NumericAssertionsExtensions.NotBeZero.md" />
73+
<toc-element toc-title="Invoking" topic="MrKWatkins.Assertions.InvokingExtensions.Invoking.md" />
74+
</toc-element>
75+
</toc-element>
76+
<toc-element toc-title="NumericExtensions">
77+
<toc-element toc-title="NumericExtensions" topic="MrKWatkins.Assertions.NumericExtensions.md" />
78+
<toc-element toc-title="Methods">
79+
<toc-element toc-title="BeNegative" topic="MrKWatkins.Assertions.NumericExtensions.BeNegative.md" />
80+
<toc-element toc-title="BePositive" topic="MrKWatkins.Assertions.NumericExtensions.BePositive.md" />
81+
<toc-element toc-title="BeZero" topic="MrKWatkins.Assertions.NumericExtensions.BeZero.md" />
82+
<toc-element toc-title="NotBeNegative" topic="MrKWatkins.Assertions.NumericExtensions.NotBeNegative.md" />
83+
<toc-element toc-title="NotBePositive" topic="MrKWatkins.Assertions.NumericExtensions.NotBePositive.md" />
84+
<toc-element toc-title="NotBeZero" topic="MrKWatkins.Assertions.NumericExtensions.NotBeZero.md" />
4485
</toc-element>
4586
</toc-element>
4687
<toc-element toc-title="ObjectAssertions&lt;T&gt;">
@@ -52,8 +93,14 @@
5293
<toc-element toc-title="Methods">
5394
<toc-element toc-title="BeNull" topic="MrKWatkins.Assertions.ObjectAssertions-1.BeNull.md" />
5495
<toc-element toc-title="BeOfType" topic="MrKWatkins.Assertions.ObjectAssertions-1.BeOfType.md" />
96+
<toc-element toc-title="BeTheSameInstanceAs" topic="MrKWatkins.Assertions.ObjectAssertions-1.BeTheSameInstanceAs.md" />
97+
<toc-element toc-title="Equals" topic="MrKWatkins.Assertions.ObjectAssertions-1.Equals.md" />
98+
<toc-element toc-title="GetHashCode" topic="MrKWatkins.Assertions.ObjectAssertions-1.GetHashCode.md" />
99+
<toc-element toc-title="GetType" topic="MrKWatkins.Assertions.ObjectAssertions-1.GetType.md" />
55100
<toc-element toc-title="NotBeNull" topic="MrKWatkins.Assertions.ObjectAssertions-1.NotBeNull.md" />
56101
<toc-element toc-title="NotBeOfType" topic="MrKWatkins.Assertions.ObjectAssertions-1.NotBeOfType.md" />
102+
<toc-element toc-title="NotBeTheSameInstanceAs" topic="MrKWatkins.Assertions.ObjectAssertions-1.NotBeTheSameInstanceAs.md" />
103+
<toc-element toc-title="ToString" topic="MrKWatkins.Assertions.ObjectAssertions-1.ToString.md" />
57104
</toc-element>
58105
</toc-element>
59106
<toc-element toc-title="ObjectAssertionsChain&lt;T&gt;">
@@ -77,8 +124,18 @@
77124
<toc-element toc-title="Value" topic="MrKWatkins.Assertions.ReadOnlyDictionaryAssertionsChain-3.Value.md" />
78125
</toc-element>
79126
</toc-element>
80-
<toc-element toc-title="ReadOnlySpanAssertions&lt;TItem&gt;">
81-
<toc-element toc-title="ReadOnlySpanAssertions&lt;TItem&gt;" topic="MrKWatkins.Assertions.ReadOnlySpanAssertions-1.md" />
127+
<toc-element toc-title="ReadOnlyListAssertions&lt;TList, T&gt;">
128+
<toc-element toc-title="ReadOnlyListAssertions&lt;TList, T&gt;" topic="MrKWatkins.Assertions.ReadOnlyListAssertions-2.md" />
129+
</toc-element>
130+
<toc-element toc-title="ReadOnlyListAssertionsChain&lt;TList, T&gt;">
131+
<toc-element toc-title="ReadOnlyListAssertionsChain&lt;TList, T&gt;" topic="MrKWatkins.Assertions.ReadOnlyListAssertionsChain-2.md" />
132+
<toc-element toc-title="Properties">
133+
<toc-element toc-title="And" topic="MrKWatkins.Assertions.ReadOnlyListAssertionsChain-2.And.md" />
134+
<toc-element toc-title="Value" topic="MrKWatkins.Assertions.ReadOnlyListAssertionsChain-2.Value.md" />
135+
</toc-element>
136+
</toc-element>
137+
<toc-element toc-title="ReadOnlySpanAssertions&lt;T&gt;">
138+
<toc-element toc-title="ReadOnlySpanAssertions&lt;T&gt;" topic="MrKWatkins.Assertions.ReadOnlySpanAssertions-1.md" />
82139
<toc-element toc-title="Properties">
83140
<toc-element toc-title="Value" topic="MrKWatkins.Assertions.ReadOnlySpanAssertions-1.Value.md" />
84141
</toc-element>
@@ -94,6 +151,19 @@
94151
<toc-element toc-title="Value" topic="MrKWatkins.Assertions.ReadOnlySpanAssertionsChain-1.Value.md" />
95152
</toc-element>
96153
</toc-element>
154+
<toc-element toc-title="SequenceEqualExtensions">
155+
<toc-element toc-title="SequenceEqualExtensions" topic="MrKWatkins.Assertions.SequenceEqualExtensions.md" />
156+
<toc-element toc-title="Methods">
157+
<toc-element toc-title="NotSequenceEqual" topic="MrKWatkins.Assertions.SequenceEqualExtensions.NotSequenceEqual.md" />
158+
<toc-element toc-title="SequenceEqual" topic="MrKWatkins.Assertions.SequenceEqualExtensions.SequenceEqual.md" />
159+
</toc-element>
160+
</toc-element>
161+
<toc-element toc-title="ShouldExtensions">
162+
<toc-element toc-title="ShouldExtensions" topic="MrKWatkins.Assertions.ShouldExtensions.md" />
163+
<toc-element toc-title="Methods">
164+
<toc-element toc-title="Should" topic="MrKWatkins.Assertions.ShouldExtensions.Should.md" />
165+
</toc-element>
166+
</toc-element>
97167
<toc-element toc-title="With">
98168
<toc-element toc-title="With" topic="MrKWatkins.Assertions.With.md" />
99169
<toc-element toc-title="Methods">

doc/topics/API/MrKWatkins.Assertions.EnumerableAssertionsExtensions.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)