Skip to content

Commit 7bc15c2

Browse files
github-actions[bot]bUnitBot
authored andcommitted
Deploy to GitHub pages
0 parents  commit 7bc15c2

File tree

295 files changed

+70297
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+70297
-0
lines changed

.nojekyll

Whitespace-only changes.

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bunit.dev

android-chrome-192x192.png

13.8 KB
Loading

android-chrome-256x256.png

19.9 KB
Loading
Lines changed: 298 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,298 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Class ActualExpectedAssertException
6+
| bUnit </title>
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<meta name="title" content="Class ActualExpectedAssertException
9+
| bUnit ">
10+
<meta name="description" content="bUnit is a unit testing library for Blazor Components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJsRuntime, and perform snapshot testing.">
11+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
12+
<link rel="icon" href="/favicon.ico">
13+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
14+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
15+
<link rel="manifest" href="/site.webmanifest">
16+
<meta name="msapplication-TileColor" content="#da532c">
17+
<meta name="theme-color" content="#ffffff">
18+
19+
<link rel="manifest" href="/site.webmanifest">
20+
21+
<link rel="stylesheet" href="../public/docfx.min.css">
22+
<link rel="stylesheet" href="../public/main.css">
23+
<meta name="docfx:navrel" content="../toc.html">
24+
<meta name="docfx:tocrel" content="toc.html">
25+
26+
<meta name="docfx:rel" content="../">
27+
28+
29+
30+
<meta name="loc:inThisArticle" content="In this article">
31+
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
32+
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
33+
<meta name="loc:tocFilter" content="Filter by title">
34+
<meta name="loc:nextArticle" content="Next">
35+
<meta name="loc:prevArticle" content="Previous">
36+
<meta name="loc:themeLight" content="Light">
37+
<meta name="loc:themeDark" content="Dark">
38+
<meta name="loc:themeAuto" content="Auto">
39+
<meta name="loc:changeTheme" content="Change theme">
40+
<meta name="loc:copy" content="Copy">
41+
<meta name="loc:downloadPdf" content="Download PDF">
42+
</head>
43+
44+
<script type="module" src="./../public/docfx.min.js"></script>
45+
46+
<script>
47+
const theme = localStorage.getItem('theme') || 'auto'
48+
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
49+
</script>
50+
51+
52+
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
53+
<header class="bg-body border-bottom">
54+
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
55+
<div class="container-xxl flex-nowrap">
56+
<a class="navbar-brand" href="../index.html">
57+
<img id="logo" class="svg" src="..//images/bunit-logo.png" alt="bUnit">
58+
bUnit
59+
</a>
60+
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
61+
<i class="bi bi-three-dots"></i>
62+
</button>
63+
<div class="collapse navbar-collapse" id="navpanel">
64+
<div id="navbar">
65+
<form class="search" role="search" id="search">
66+
<i class="bi bi-search"></i>
67+
<input class="form-control" id="search-query" type="search" disabled="" placeholder="Search" autocomplete="off" aria-label="Search">
68+
</form>
69+
</div>
70+
</div>
71+
</div>
72+
</nav>
73+
</header>
74+
75+
<main class="container-xxl">
76+
<div class="toc-offcanvas">
77+
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
78+
<div class="offcanvas-header">
79+
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
80+
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
81+
</div>
82+
<div class="offcanvas-body">
83+
<nav class="toc" id="toc"></nav>
84+
</div>
85+
</div>
86+
</div>
87+
88+
<div class="content">
89+
<div class="actionbar">
90+
<button class="btn btn-lg border-0 d-md-none" style="margin-top: -.65em; margin-left: -.8em" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
91+
<i class="bi bi-list"></i>
92+
</button>
93+
94+
<nav id="breadcrumb"></nav>
95+
</div>
96+
97+
<article data-uid="Bunit.Asserting.ActualExpectedAssertException">
98+
99+
100+
101+
<h1 id="Bunit_Asserting_ActualExpectedAssertException" data-uid="Bunit.Asserting.ActualExpectedAssertException" class="text-break">
102+
Class ActualExpectedAssertException
103+
104+
</h1>
105+
106+
<div class="facts text-secondary">
107+
<dl><dt>Namespace</dt><dd><a class="xref" href="Bunit.html">Bunit</a>.<a class="xref" href="Bunit.Asserting.html">Asserting</a></dd></dl>
108+
<dl><dt>Assembly</dt><dd>bunit.dll</dd></dl>
109+
</div>
110+
111+
<div class="markdown summary"><p>Represents a generic assert exception used when an actual result does not match an expected result.</p>
112+
</div>
113+
<div class="markdown conceptual"></div>
114+
115+
<div class="codewrapper">
116+
<pre><code class="lang-csharp hljs">public class ActualExpectedAssertException : Exception, ISerializable</code></pre>
117+
</div>
118+
119+
120+
121+
122+
<dl class="typelist inheritance">
123+
<dt>Inheritance</dt>
124+
<dd>
125+
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
126+
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
127+
<div><span class="xref">ActualExpectedAssertException</span></div>
128+
</dd>
129+
</dl>
130+
131+
<dl class="typelist implements">
132+
<dt>Implements</dt>
133+
<dd>
134+
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
135+
</dd>
136+
</dl>
137+
138+
<dl class="typelist derived">
139+
<dt>Derived</dt>
140+
<dd>
141+
<div><a class="xref" href="Bunit.HtmlEqualException.html">HtmlEqualException</a></div>
142+
</dd>
143+
</dl>
144+
145+
<dl class="typelist derived">
146+
<dt>Inherited Members</dt>
147+
<dd>
148+
<div>
149+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
150+
</div>
151+
<div>
152+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
153+
</div>
154+
<div>
155+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
156+
</div>
157+
<div>
158+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
159+
</div>
160+
<div>
161+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
162+
</div>
163+
<div>
164+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
165+
</div>
166+
<div>
167+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
168+
</div>
169+
<div>
170+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
171+
</div>
172+
<div>
173+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
174+
</div>
175+
<div>
176+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
177+
</div>
178+
<div>
179+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
180+
</div>
181+
<div>
182+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
183+
</div>
184+
<div>
185+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
186+
</div>
187+
<div>
188+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
189+
</div>
190+
<div>
191+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
192+
</div>
193+
<div>
194+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
195+
</div>
196+
<div>
197+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
198+
</div>
199+
</dd></dl>
200+
201+
<dl class="typelist extensionMethods">
202+
<dt>Extension Methods</dt>
203+
<dd>
204+
<div>
205+
<a class="xref" href="Bunit.JSRuntimeAssertExtensions.html#Bunit_JSRuntimeAssertExtensions_ShouldBeElementReferenceTo_System_Object_AngleSharp_Dom_IElement_">JSRuntimeAssertExtensions.ShouldBeElementReferenceTo(object?, IElement)</a>
206+
</div>
207+
<div>
208+
<a class="xref" href="Bunit.JSRuntimeAssertExtensions.html#Bunit_JSRuntimeAssertExtensions_ShouldBeElementReferenceTo_System_Object_AngleSharp_Dom_IElement_">JSRuntimeAssertExtensions.ShouldBeElementReferenceTo(object?, IElement)</a>
209+
</div>
210+
<div>
211+
<a class="xref" href="Bunit.JSRuntimeAssertExtensions.html#Bunit_JSRuntimeAssertExtensions_ShouldBeElementReferenceTo_System_Object_AngleSharp_Dom_IElement_">JSRuntimeAssertExtensions.ShouldBeElementReferenceTo(object?, IElement)</a>
212+
</div>
213+
</dd></dl>
214+
215+
216+
217+
218+
219+
<h2 class="section" id="constructors">Constructors
220+
</h2>
221+
222+
223+
<a id="Bunit_Asserting_ActualExpectedAssertException__ctor_" data-uid="Bunit.Asserting.ActualExpectedAssertException.#ctor*"></a>
224+
225+
<h3 id="Bunit_Asserting_ActualExpectedAssertException__ctor_System_String_System_String_System_String_System_String_System_String_" data-uid="Bunit.Asserting.ActualExpectedAssertException.#ctor(System.String,System.String,System.String,System.String,System.String)">
226+
ActualExpectedAssertException(string, string, string, string, string)
227+
228+
</h3>
229+
230+
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Bunit.Asserting.ActualExpectedAssertException.html">ActualExpectedAssertException</a> class.</p>
231+
</div>
232+
<div class="markdown level1 conceptual"></div>
233+
234+
<div class="codewrapper">
235+
<pre><code class="lang-csharp hljs">public ActualExpectedAssertException(string actual, string expected, string actualText, string expectedText, string message)</code></pre>
236+
</div>
237+
238+
<h4 class="section">Parameters</h4>
239+
<dl class="parameters">
240+
<dt><code>actual</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
241+
<dd><p>The actual result.</p>
242+
</dd>
243+
<dt><code>expected</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
244+
<dd><p>The expected result.</p>
245+
</dd>
246+
<dt><code>actualText</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
247+
<dd><p>A text explaining the actual result.</p>
248+
</dd>
249+
<dt><code>expectedText</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
250+
<dd><p>A text explaining the expected result.</p>
251+
</dd>
252+
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
253+
<dd><p>An error message explaining the context of the assertion.</p>
254+
</dd>
255+
</dl>
256+
257+
258+
259+
260+
261+
262+
263+
264+
265+
266+
267+
268+
269+
</article>
270+
271+
<div class="contribution d-print-none">
272+
</div>
273+
274+
275+
</div>
276+
277+
<div class="affix">
278+
<nav id="affix"></nav>
279+
<div class="border-top text-center pt-4">
280+
<a class="d-block" href="https://dotnetfoundation.org" title=".NET Foundation">
281+
<img width="150" src="/sponsors/dotnetfoundation_v4_purple.svg" alt=".NET Foundation">
282+
</a>
283+
<p class="pt-1"><small>Supported by the <a href="https://dotnetfoundation.org">.NET Foundation</a>.</small></p>
284+
</div>
285+
</div>
286+
</main>
287+
288+
<div class="container-xxl search-results" id="search-results"></div>
289+
290+
<footer class="border-top text-secondary bg-body-tertiary">
291+
<div class="container-xxl">
292+
<div class="flex-fill">
293+
<small>Documentation updated on 2025-11-12T19:58:00.0000000+00:00 in commit 77d04e5881</small>
294+
</div>
295+
</div>
296+
</footer>
297+
</body>
298+
</html>

0 commit comments

Comments
 (0)