📄 nunit.framework.xml
字号:
<?xml version="1.0"?>
<doc>
<assembly>
<name>nunit.framework</name>
</assembly>
<members>
<member name="T:NUnit.Framework.AbstractAsserter">
<summary>
AbstractAsserter is the base class for all asserters.
Asserters encapsulate a condition test and generation
of an AssertionException with a tailored message. They
are used by the Assert class as helper objects.
User-defined asserters may be passed to the
Assert.DoAssert method in order to implement
extended asserts.
</summary>
</member>
<member name="T:NUnit.Framework.IAsserter">
<summary>
The interface implemented by an asserter. Asserters
encapsulate a condition test and generation of an
AssertionException with a tailored message. They
are used by the Assert class as helper objects.
User-defined asserters may be passed to the
Assert.DoAssert method in order to implement
extended asserts.
</summary>
</member>
<member name="M:NUnit.Framework.IAsserter.Test">
<summary>
Test the condition for the assertion.
</summary>
<returns>True if the test succeeds</returns>
</member>
<member name="P:NUnit.Framework.IAsserter.Message">
<summary>
Return the message giving the failure reason.
The return value is unspecified if no failure
has occured.
</summary>
</member>
<member name="F:NUnit.Framework.AbstractAsserter.userMessage">
<summary>
The user-defined message for this asserter.
</summary>
</member>
<member name="F:NUnit.Framework.AbstractAsserter.args">
<summary>
Arguments to use in formatting the user-defined message.
</summary>
</member>
<member name="F:NUnit.Framework.AbstractAsserter.failureMessage">
<summary>
Our failure message object, initialized as needed
</summary>
</member>
<member name="M:NUnit.Framework.AbstractAsserter.#ctor(System.String,System.Object[])">
<summary>
Constructs an AbstractAsserter
</summary>
<param name="message">The message issued upon failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.AbstractAsserter.Test">
<summary>
Test method to be implemented by derived types.
Default always succeeds.
</summary>
<returns>True if the test succeeds</returns>
</member>
<member name="P:NUnit.Framework.AbstractAsserter.FailureMessage">
<summary>
AssertionFailureMessage object used internally
</summary>
</member>
<member name="P:NUnit.Framework.AbstractAsserter.Message">
<summary>
Message related to a failure. If no failure has
occured, the result is unspecified.
</summary>
</member>
<member name="T:NUnit.Framework.Assert">
<summary>
A set of Assert methods
</summary>
</member>
<member name="M:NUnit.Framework.Assert.#ctor">
<summary>
We don't actually want any instances of this object, but some people
like to inherit from it to add other static methods. Hence, the
protected constructor disallows any instances of this object.
</summary>
</member>
<member name="M:NUnit.Framework.Assert.Equals(System.Object,System.Object)">
<summary>
The Equals method throws an AssertionException. This is done
to make sure there is no mistake by calling this function.
</summary>
<param name="a"></param>
<param name="b"></param>
</member>
<member name="M:NUnit.Framework.Assert.ReferenceEquals(System.Object,System.Object)">
<summary>
override the default ReferenceEquals to throw an AssertionException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
</summary>
<param name="a"></param>
<param name="b"></param>
</member>
<member name="M:NUnit.Framework.Assert.IsTrue(System.Boolean,System.String,System.Object[])">
<summary>
Asserts that a condition is true. If the condition is false the method throws
an <see cref="T:NUnit.Framework.AssertionException"/>.
</summary>
<param name="condition">The evaluated condition</param>
<param name="message">The message to display if the condition is false</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.IsTrue(System.Boolean,System.String)">
<summary>
Asserts that a condition is true. If the condition is false the method throws
an <see cref="T:NUnit.Framework.AssertionException"/>.
</summary>
<param name="condition">The evaluated condition</param>
<param name="message">The message to display if the condition is false</param>
</member>
<member name="M:NUnit.Framework.Assert.IsTrue(System.Boolean)">
<summary>
Asserts that a condition is true. If the condition is false the method throws
an <see cref="T:NUnit.Framework.AssertionException"/>.
</summary>
<param name="condition">The evaluated condition</param>
</member>
<member name="M:NUnit.Framework.Assert.IsFalse(System.Boolean,System.String,System.Object[])">
<summary>
Asserts that a condition is false. If the condition is true the method throws
an <see cref="T:NUnit.Framework.AssertionException"/>.
</summary>
<param name="condition">The evaluated condition</param>
<param name="message">The message to display if the condition is true</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.IsFalse(System.Boolean,System.String)">
<summary>
Asserts that a condition is false. If the condition is true the method throws
an <see cref="T:NUnit.Framework.AssertionException"/>.
</summary>
<param name="condition">The evaluated condition</param>
<param name="message">The message to display if the condition is true</param>
</member>
<member name="M:NUnit.Framework.Assert.IsFalse(System.Boolean)">
<summary>
Asserts that a condition is false. If the condition is true the method throws
an <see cref="T:NUnit.Framework.AssertionException"/>.
</summary>
<param name="condition">The evaluated condition</param>
</member>
<member name="M:NUnit.Framework.Assert.IsNotNull(System.Object,System.String,System.Object[])">
<summary>
Verifies that the object that is passed in is not equal to <code>null</code>
If the object is <code>null</code> then an <see cref="T:NUnit.Framework.AssertionException"/>
is thrown.
</summary>
<param name="anObject">The object that is to be tested</param>
<param name="message">The message to be displayed when the object is null</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.IsNotNull(System.Object,System.String)">
<summary>
Verifies that the object that is passed in is not equal to <code>null</code>
If the object is <code>null</code> then an <see cref="T:NUnit.Framework.AssertionException"/>
is thrown.
</summary>
<param name="anObject">The object that is to be tested</param>
<param name="message">The message to be displayed when the object is null</param>
</member>
<member name="M:NUnit.Framework.Assert.IsNotNull(System.Object)">
<summary>
Verifies that the object that is passed in is not equal to <code>null</code>
If the object is <code>null</code> then an <see cref="T:NUnit.Framework.AssertionException"/>
is thrown.
</summary>
<param name="anObject">The object that is to be tested</param>
</member>
<member name="M:NUnit.Framework.Assert.IsNull(System.Object,System.String,System.Object[])">
<summary>
Verifies that the object that is passed in is equal to <code>null</code>
If the object is not <code>null</code> then an <see cref="T:NUnit.Framework.AssertionException"/>
is thrown.
</summary>
<param name="anObject">The object that is to be tested</param>
<param name="message">The message to be displayed when the object is not null</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.IsNull(System.Object,System.String)">
<summary>
Verifies that the object that is passed in is equal to <code>null</code>
If the object is not <code>null</code> then an <see cref="T:NUnit.Framework.AssertionException"/>
is thrown.
</summary>
<param name="anObject">The object that is to be tested</param>
<param name="message">The message to be displayed when the object is not null</param>
</member>
<member name="M:NUnit.Framework.Assert.IsNull(System.Object)">
<summary>
Verifies that the object that is passed in is equal to <code>null</code>
If the object is not null <code>null</code> then an <see cref="T:NUnit.Framework.AssertionException"/>
is thrown.
</summary>
<param name="anObject">The object that is to be tested</param>
</member>
<member name="M:NUnit.Framework.Assert.IsNaN(System.Double,System.String,System.Object[])">
<summary>
Verifies that the double is passed is an <code>NaN</code> value.
If the object is not <code>NaN</code> then an <see cref="T:NUnit.Framework.AssertionException"/>
is thrown.
</summary>
<param name="aDouble">The value that is to be tested</param>
<param name="message">The message to be displayed when the object is not null</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.IsNaN(System.Double,System.String)">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -